From e62bbded9ae11eb3fc42df8170f87d17a2d32c44 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 25 三月 2026 17:24:50 +0800
Subject: [PATCH] 编辑成品检验时,需加上不良数量,合格数量字段。页面列表也需要加上不良数量、合格数量字段。不良数量可以手填,合格数量、数量都置灰。根据不良数量+合格数量=数量这一逻辑计算。若不填默认不良数量为0。数量是订单本次生产数量-报废数量
---
src/api/viewIndex.js | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 23e74fe..8b5d144 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -110,22 +110,14 @@
};
// 宸ュ崟鎵ц鏁堢巼鍒嗘瀽锛坉ateType: 1鍛� 2鏈� 3瀛e害锛�
-// export const workOrderEfficiencyAnalysis = (params) => {
-// return request({
-// url: "/home/workOrderEfficiencyAnalysis",
-// method: "get",
-// params,
-// });
-// };
-
-// 鐢熶骇鏍哥畻鍒嗘瀽锛坉ateType: 1鍛� 2鏈� 3瀛e害锛�
-export const productionAccountingAnalysis = (params) => {
+export const workOrderEfficiencyAnalysis = (params) => {
return request({
- url: "/home/productionAccountingAnalysis",
+ url: "/home/workOrderEfficiencyAnalysis",
method: "get",
params,
});
};
+
// 鐢熶骇鏍哥畻鍒嗘瀽
export const productionAccountingAnalysis = (query) => {
return request({
--
Gitblit v1.9.3