diff --git a/src/pages/quality/Materialinspection/index.vue b/src/pages/quality/Materialinspection/index.vue index 0e45092..ac819ac 100644 --- a/src/pages/quality/Materialinspection/index.vue +++ b/src/pages/quality/Materialinspection/index.vue @@ -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;