|
@@ -193,7 +193,6 @@
|
|
pureWeight+=data.modification[i].pureWeight
|
|
pureWeight+=data.modification[i].pureWeight
|
|
}
|
|
}
|
|
this.deptBudgetList.goodsName = data.modification[0].goodsName
|
|
this.deptBudgetList.goodsName = data.modification[0].goodsName
|
|
- console.log(11111)
|
|
|
|
this.dataFlush()
|
|
this.dataFlush()
|
|
this.deptBudgetList.weight = weight.toFixed(2)
|
|
this.deptBudgetList.weight = weight.toFixed(2)
|
|
if(this.deptBudgetList.goodsName.indexOf('潮粮')!=-1){
|
|
if(this.deptBudgetList.goodsName.indexOf('潮粮')!=-1){
|
|
@@ -426,9 +425,7 @@
|
|
.weight)) {
|
|
.weight)) {
|
|
if (!this.deptBudgetList.weight) {
|
|
if (!this.deptBudgetList.weight) {
|
|
this.$message.error('本单重量不能为空!');
|
|
this.$message.error('本单重量不能为空!');
|
|
- } else {
|
|
|
|
- this.$message.error('本单重量输入错误且本单重量不可超过可用重量!');
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
if (!this.deptBudgetList.unitPrice || _Validate(1, 20000, 3, '', this.deptBudgetList
|
|
if (!this.deptBudgetList.unitPrice || _Validate(1, 20000, 3, '', this.deptBudgetList
|