From 3bb5790c6b5b871fbcf4b0463f48cb01c424d14f Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Thu, 2 Nov 2023 11:20:08 +0800 Subject: [PATCH 1/4] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/quality/income.js | 5 +- .../quality/qcIncome/checkProjectType.vue | 2 +- src/views/quality/qcIncome/index.vue | 1 - src/views/quality/qcProduce/index.vue | 1 - src/views/quality/qcWarehousing/index.vue | 1 - src/views/quality/unqualified/index.vue | 203 ++++++++++++++---- .../technology/proroute/routeprodproduct.vue | 2 +- 7 files changed, 161 insertions(+), 54 deletions(-) diff --git a/src/api/quality/income.js b/src/api/quality/income.js index c859d3d..416fdcd 100644 --- a/src/api/quality/income.js +++ b/src/api/quality/income.js @@ -119,10 +119,11 @@ export function commitActualValue(recordId, actualValues) { } //审核结果提交 -export function commitCheckResult(recordId,typeCode) { +export function commitCheckResult(recordId,typeCode,checkType) { const data = { recordId, - typeCode + typeCode, + checkType } return request({ url: '/quality/qcIncome/commitCheckResult', diff --git a/src/views/quality/qcIncome/checkProjectType.vue b/src/views/quality/qcIncome/checkProjectType.vue index b5a91ec..3a0a437 100644 --- a/src/views/quality/qcIncome/checkProjectType.vue +++ b/src/views/quality/qcIncome/checkProjectType.vue @@ -172,7 +172,7 @@ export default { //提交整体检测结果 submitBomForm() { - commitCheckResult(this.queryParams.belongTo,this.typeCode).then(response => { + commitCheckResult(this.queryParams.belongTo,this.typeCode,this.checkType).then(response => { this.$modal.msgSuccess("检测完成"); this.$emit('saveCheck'); this.showFlag = false; diff --git a/src/views/quality/qcIncome/index.vue b/src/views/quality/qcIncome/index.vue index 3cfe9c6..8933fc6 100644 --- a/src/views/quality/qcIncome/index.vue +++ b/src/views/quality/qcIncome/index.vue @@ -569,7 +569,6 @@ export default { }); } else { addIncome(this.form).then(response => { - this.$modal.msgSuccess("新增成功"); this.open = false; this.getList(); }); diff --git a/src/views/quality/qcProduce/index.vue b/src/views/quality/qcProduce/index.vue index b4c92d0..a9f8521 100644 --- a/src/views/quality/qcProduce/index.vue +++ b/src/views/quality/qcProduce/index.vue @@ -599,7 +599,6 @@ export default { }); } else { addQcProduce(this.form).then(response => { - this.$modal.msgSuccess("新增成功"); this.open = false; this.getList(); }); diff --git a/src/views/quality/qcWarehousing/index.vue b/src/views/quality/qcWarehousing/index.vue index ea5389f..7a7153e 100644 --- a/src/views/quality/qcWarehousing/index.vue +++ b/src/views/quality/qcWarehousing/index.vue @@ -592,7 +592,6 @@ export default { }); } else { addWarehousing(this.form).then(response => { - this.$modal.msgSuccess("新增成功"); this.open = false; this.getList(); }); diff --git a/src/views/quality/unqualified/index.vue b/src/views/quality/unqualified/index.vue index 77f1e65..3e8b669 100644 --- a/src/views/quality/unqualified/index.vue +++ b/src/views/quality/unqualified/index.vue @@ -1,14 +1,22 @@