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