Merge branch 'refs/heads/master' into dev_1.0.0
commit
7db1b6ed37
|
|
@ -465,7 +465,7 @@ export default {
|
|||
this.$modal.msgError("折扣不能大于100%");
|
||||
return;
|
||||
}
|
||||
const checkProduct=(list)=>list.every(item => item.productBomCode!=='')
|
||||
const checkProduct=(list)=>!list ||list.every(item => item.productBomCode!=='')
|
||||
if (!checkProduct(this.form.softwareProjectProductInfoList) || !checkProduct(this.form.hardwareProjectProductInfoList) || !checkProduct(this.form.maintenanceProjectProductInfoList)) {
|
||||
this.$modal.msgError("请完善产品信息");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue