diff --git a/src/api/quality/income.js b/src/api/quality/income.js
index 4311aa1..8a3883f 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 15858cc..35db624 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" />