|
|
@ -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 |
|
|
|