|
@@ -200,6 +200,9 @@
|
|
}else{
|
|
}else{
|
|
this.deptBudgetList.dryOutWeight = weight.toFixed(2)
|
|
this.deptBudgetList.dryOutWeight = weight.toFixed(2)
|
|
}
|
|
}
|
|
|
|
+ if( this.deptBudgetList.unitPrice){
|
|
|
|
+ this.inputChange()
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -421,11 +424,8 @@
|
|
}
|
|
}
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
- if (!this.deptBudgetList.weight || _Validate(0, this.deptBudgetList.useWeight, 3, '', this.deptBudgetList
|
|
|
|
- .weight)) {
|
|
|
|
- if (!this.deptBudgetList.weight) {
|
|
|
|
|
|
+ if (!this.deptBudgetList.weight) {
|
|
this.$message.error('本单重量不能为空!');
|
|
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
|
|
@@ -460,6 +460,7 @@
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
if (!this.deptBudgetList.appendix) {
|
|
if (!this.deptBudgetList.appendix) {
|
|
|
|
+ console.log(this.deptBudgetList.appendix)
|
|
this.$message.error('附件不能为空!');
|
|
this.$message.error('附件不能为空!');
|
|
return false
|
|
return false
|
|
} else if (this.deptBudgetList.appendix.split(',').length > 30) {
|
|
} else if (this.deptBudgetList.appendix.split(',').length > 30) {
|
|
@@ -485,7 +486,9 @@
|
|
}
|
|
}
|
|
|
|
|
|
let isValidate = false
|
|
let isValidate = false
|
|
|
|
+ console.log(this.validate())
|
|
isValidate = this.validate()
|
|
isValidate = this.validate()
|
|
|
|
+ console.log(isValidate)
|
|
if (isValidate) {
|
|
if (isValidate) {
|
|
this.$confirm(`确定提交审核?`, {
|
|
this.$confirm(`确定提交审核?`, {
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|