|
@@ -4315,9 +4315,13 @@ export default {
|
|
|
if (!this.form.fId) {
|
|
|
this.form.fId = this.fid
|
|
|
}
|
|
|
+ if (!this.form.fBusinessType) {
|
|
|
+ this.$message.error('请选择货物属性!')
|
|
|
+ return false
|
|
|
+ }
|
|
|
for (let list in this.dataList) {
|
|
|
if (!this.dataList[list].fBusinessType) {
|
|
|
- this.$message.error('请输入业务类型!')
|
|
|
+ this.$message.error('请输入库存明细的货物属性!')
|
|
|
return false
|
|
|
}
|
|
|
}
|
|
@@ -4360,6 +4364,10 @@ export default {
|
|
|
this.$message.error('请新增库存明细!')
|
|
|
return false
|
|
|
}
|
|
|
+ if (!this.form.fBusinessType) {
|
|
|
+ this.$message.error('请选择货物属性!')
|
|
|
+ return false
|
|
|
+ }
|
|
|
for (let list in this.dataList) {
|
|
|
if (!this.dataList[list].fGoodsid) {
|
|
|
this.$message.error('请输入品名!')
|