From def1b237a27ed6b830f4153f884d2d2f40150338 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Fri, 27 Oct 2023 11:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=BA=93=E6=A3=80=E9=AA=8C+=E5=B7=A5?= =?UTF-8?q?=E5=BA=8F=E6=8B=86=E5=90=88=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/quality/income.js | 5 +- src/api/quality/qcProduce.js | 23 +- src/api/quality/warehousing.js | 10 + .../checkTypeProject/MaterialGroupAdd.vue | 1 + .../quality/qcIncome/checkProjectType.vue | 13 +- src/views/quality/qcIncome/index.vue | 34 +- src/views/quality/qcProduce/index.vue | 41 +- src/views/quality/qcWarehousing/index.vue | 521 +++++++++++------- src/views/quality/qcWarehousing/selectLoc.vue | 144 +++++ src/views/technology/process/index.vue | 30 +- 10 files changed, 567 insertions(+), 255 deletions(-) create mode 100644 src/views/quality/qcWarehousing/selectLoc.vue diff --git a/src/api/quality/income.js b/src/api/quality/income.js index b94bd51..c859d3d 100644 --- a/src/api/quality/income.js +++ b/src/api/quality/income.js @@ -119,9 +119,10 @@ export function commitActualValue(recordId, actualValues) { } //审核结果提交 -export function commitCheckResult(recordId) { +export function commitCheckResult(recordId,typeCode) { const data = { - recordId + recordId, + typeCode } return request({ url: '/quality/qcIncome/commitCheckResult', diff --git a/src/api/quality/qcProduce.js b/src/api/quality/qcProduce.js index 82e98d5..70dc437 100644 --- a/src/api/quality/qcProduce.js +++ b/src/api/quality/qcProduce.js @@ -52,11 +52,28 @@ export function getQcListWorkCenter(query) { }); } -// 查询工作中心列表 -export function getCheckTypes() { +// 查询检测类型列表 +export function getCheckTypes(typeCode) { + const data = { + typeCode + } return request({ url: '/quality/qcProduce/getCheckTypes', - method: 'get' + method: 'put', + data: data }); } + +//状态修改 +export function changeProduceStatus(recordId, status) { + const data = { + recordId, + status + } + return request({ + url: '/quality/qcProduce/changeProduceStatus', + method: 'put', + data: data + }) + } diff --git a/src/api/quality/warehousing.js b/src/api/quality/warehousing.js index 377aef8..d77ae27 100644 --- a/src/api/quality/warehousing.js +++ b/src/api/quality/warehousing.js @@ -42,3 +42,13 @@ export function delWarehousing(recordId) { method: 'delete' }); } + + +// 查询工作中心列表 +export function getQcListLoc(query) { + return request({ + url: '/quality/qcWarehousing/getQcListLoc', + method: 'get', + params: query + }); +} \ No newline at end of file diff --git a/src/views/quality/checkTypeProject/MaterialGroupAdd.vue b/src/views/quality/checkTypeProject/MaterialGroupAdd.vue index ff09cb1..27a69f1 100644 --- a/src/views/quality/checkTypeProject/MaterialGroupAdd.vue +++ b/src/views/quality/checkTypeProject/MaterialGroupAdd.vue @@ -306,6 +306,7 @@ export default { }, //物料选择确认 onSelectMaterial(obj) { + debugger this.form.materialCode = obj.code[0]; this.form.materialName = obj.name[0]; console.log(this.form.groupId); diff --git a/src/views/quality/qcIncome/checkProjectType.vue b/src/views/quality/qcIncome/checkProjectType.vue index 81e7736..83cdb18 100644 --- a/src/views/quality/qcIncome/checkProjectType.vue +++ b/src/views/quality/qcIncome/checkProjectType.vue @@ -20,6 +20,8 @@ + +