生产质检问题修改

master
guoshuang 1 year ago
parent 1c98f61665
commit 709cc5bd83

@ -542,14 +542,14 @@ export default class PurchaseWHSRM extends BasePage {
});
return;
}
if (this.isvalue) {
if (this.isvalue2) {
(this.$refs.uToast as any).show({
title: '请选择不良分类',
type: 'default',
});
return;
}
if (this.isvalue) {
if (this.isvalue3) {
(this.$refs.uToast as any).show({
title: '不合格数量不能为空',
type: 'default',
@ -604,21 +604,21 @@ export default class PurchaseWHSRM extends BasePage {
incomeBatchNo: incomeBatchNo,
};
console.log(query);
await this.model.commitCheckTaskList(query);
if (this.model.SubmitCode.code == '200') {
(this.$refs.uToast as any).show({
title: '成功',
type: 'default',
});
this.show = false;
this.getlist();
this.clear();
} else {
(this.$refs.uToast as any).show({
title: '失败',
type: 'default',
});
}
// await this.model.commitCheckTaskList(query);
// if (this.model.SubmitCode.code == '200') {
// (this.$refs.uToast as any).show({
// title: '',
// type: 'default',
// });
// this.show = false;
// this.getlist();
// this.clear();
// } else {
// (this.$refs.uToast as any).show({
// title: '',
// type: 'default',
// });
// }
}
clear() {
this.formdata.sampleQuality = null;

Loading…
Cancel
Save