From 7aa2715d61c03d3915948b3848e9d96ee714d80c Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Tue, 18 Jun 2024 11:46:44 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E8=B0=83=E6=95=B42?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/quality/income.js | 24 ++- src/views/mes/reportWork/index.vue | 79 +++++----- src/views/plan/order/index.vue | 1 + src/views/plan/workorder/index.vue | 3 + .../checkTypeProject/selectProject.vue | 5 +- .../quality/qcIncome/checkProjectType.vue | 144 +++++++++++------- src/views/quality/qcIncome/index.vue | 32 ++-- src/views/quality/qcProjectType/index.vue | 36 +++-- .../quality/qcProjectType/projectTypeTree.vue | 6 +- 9 files changed, 210 insertions(+), 120 deletions(-) diff --git a/src/api/quality/income.js b/src/api/quality/income.js index 4311aa14..8a3883fb 100644 --- a/src/api/quality/income.js +++ b/src/api/quality/income.js @@ -109,10 +109,12 @@ export function changeCheckDetailStatus(recordId, status,remark,defectCode,defec } //测量值提交 -export function commitActualValue(recordId, actualValues) { +export function commitActualValue(recordId, actualValues,status,checkLevel,sampleAql,sampleCode,sampleQuality) { const data = { recordId, - actualValues + actualValues, + status, + checkLevel,sampleAql,sampleCode,sampleQuality } return request({ url: '/quality/qcIncome/commitActualValue', @@ -121,6 +123,24 @@ export function commitActualValue(recordId, actualValues) { }) } +//获取最多坏的数量 +export function getAutoJudge(sampleQuality,checkLevel,sampleAql,actualValues,downDiff,upperDiff) { + const data = { + sampleQuality, + checkLevel, + sampleAql, + actualValues, + downDiff, + upperDiff + } + return request({ + url: '/quality/handCheck/getAutoJudge', + method: 'post', + data: data + }) +} + + //审核结果提交 export function commitCheckResult(data) { return request({ diff --git a/src/views/mes/reportWork/index.vue b/src/views/mes/reportWork/index.vue index 15858ccd..35db624c 100644 --- a/src/views/mes/reportWork/index.vue +++ b/src/views/mes/reportWork/index.vue @@ -355,8 +355,13 @@ :show-overflow-tooltip="true" :formatter="orderCodeFormate" /> - + + + @@ -385,19 +390,19 @@ - + - +
@@ -443,7 +448,7 @@ - +