diff --git a/src/api/quality/income.js b/src/api/quality/income.js index c859d3d5..416fdcd7 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 b5a91eca..3a0a4379 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 3cfe9c61..8933fc61 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 b4c92d0f..a9f85215 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 ea5389fe..7a7153eb 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 77f1e65e..3e8b6696 100644 --- a/src/views/quality/unqualified/index.vue +++ b/src/views/quality/unqualified/index.vue @@ -1,14 +1,22 @@