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