Browse Source

完善厂家采购--采购车型列表车辆型号不能为空

master
yunuo970428 2 years ago
parent
commit
abe5ac6628
  1. 8
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue
  2. 8
      anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue

8
anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue

@ -501,6 +501,8 @@ export default {
message: resp.msg
})
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
@ -532,6 +534,10 @@ export default {
this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中厂家回款通路不能为空' })
return
}
if (this.formobj.busVehicleApplyDetailList[i].vehicleNo === '' || this.formobj.busVehicleApplyDetailList[i].vehicleNo === null) {
this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中车辆型号不能为空' })
return
}
}
}
this.$refs['form_obj'].validate((valid) => {
@ -545,6 +551,8 @@ export default {
message: '提交成功'
})
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false

8
anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue

@ -481,6 +481,8 @@ export default {
}
}, '*')
// this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
@ -512,6 +514,10 @@ export default {
this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中厂家回款通路不能为空' })
return
}
if (this.formobj.busVehicleApplyDetailList[i].vehicleNo === '' || this.formobj.busVehicleApplyDetailList[i].vehicleNo === null) {
this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中车辆型号不能为空' })
return
}
}
}
this.$refs['form_obj'].validate((valid) => {
@ -532,6 +538,8 @@ export default {
code: 1
}
}, '*')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false

Loading…
Cancel
Save