修改质量不合格选择备注验证

master
杨万里 1 month ago
parent 8931a770c1
commit 6b0011909d

@ -593,6 +593,7 @@ export default class PurchaseWHSRM extends BasePage {
cxzz: null, cxzz: null,
jgy: null, jgy: null,
pgy: null, pgy: null,
attr3: null,
}; };
isvalue = false; isvalue = false;
isvalue2 = false; isvalue2 = false;
@ -1347,9 +1348,9 @@ export default class PurchaseWHSRM extends BasePage {
// return; // return;
// } // }
if (this.formdata.checkResult == 'N') { if (this.formdata.checkResult == 'N') {
if (this.formdata.remark === null || this.formdata.remark === '') { if (this.formdata.attr3 === null || this.formdata.attr3 === '') {
(this.$refs.uToast as any).show({ (this.$refs.uToast as any).show({
title: '不合格描述不能为空', title: '备注描述不能为空',
type: 'default', type: 'default',
}); });
return; return;

Loading…
Cancel
Save