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