Browse Source

完善入账

master
yunuo970428 2 years ago
parent
commit
2d18ce4c37
  1. 12
      anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue

12
anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue

@ -747,6 +747,12 @@ export default {
this.$message({ showClose: true, type: 'error', message: '公司入库日期不能为空' })
return
}
for (var k = 0; k < this.formobj.vehicleList.length; k++) {
if (this.formobj.vehicleList[k].vinNo !== '' && this.formobj.vehicleList[k].engineNo === '') {
this.$message({ showClose: true, type: 'error', message: '车架号:' + this.formobj.vehicleList[k].vinNo + '的发动机号不能为空' })
return
}
}
if (this.freightChecked) {
this.formobj.deductionFreight = 0
} else {
@ -827,6 +833,12 @@ export default {
this.$message({ showClose: true, type: 'error', message: '物流发车日期不能为空' })
return
}
for (var k = 0; k < this.formobj.vehicleList.length; k++) {
if (this.formobj.vehicleList[k].vinNo !== '' && this.formobj.vehicleList[k].engineNo === '') {
this.$message({ showClose: true, type: 'error', message: '车架号:' + this.formobj.vehicleList[k].vinNo + '的发动机号不能为空' })
return
}
}
if (this.freightChecked) {
this.formobj.deductionFreight = 0
} else {

Loading…
Cancel
Save