From 422aea7677145bc4f61f10436353d9e62d80fff5 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 25 三月 2026 16:59:35 +0800
Subject: [PATCH] 过程检验列表加上不良数量、合格数量字段。过程检验编辑页面也加上不良数量、合格数量字段,不良数量输入框手填,合格数量,数量输入框置灰,根据根据不良数量+合格数量=数量这一逻辑计算。若不填默认不良数量为0。数量是订单本次生产数量-报废数量
---
src/api/inventoryManagement/stockInRecord.js | 52 ++++++++++++++++++++++++++--------------------------
1 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/src/api/inventoryManagement/stockInRecord.js b/src/api/inventoryManagement/stockInRecord.js
index 7a438b6..118be18 100644
--- a/src/api/inventoryManagement/stockInRecord.js
+++ b/src/api/inventoryManagement/stockInRecord.js
@@ -2,43 +2,43 @@
// 鏌ヨ鍏ュ簱淇℃伅鍒楄〃
export const getStockInRecordListPage = (params) => {
- return request({
- url: "/stockInRecord/listPage",
- method: "get",
- params,
- });
+ return request({
+ url: "/stockInRecord/listPage",
+ method: "get",
+ params,
+ });
};
// 鏍规嵁 ID 鏌ヨ鍗曟潯鍏ュ簱璁板綍璇︽儏
export const getStockInRecordById = (id) => {
- return request({
- url: "/stockInRecord/getById",
- method: "get",
- params: { id },
- });
+ return request({
+ url: "/stockInRecord/getById",
+ method: "get",
+ params: { id },
+ });
};
export const updateStockInRecord = (id, data) => {
- return request({
- url: "/stockInRecord/" + id,
- method: "put",
- data: data,
- });
+ return request({
+ url: "/stockInRecord/" + id,
+ method: "put",
+ data: data,
+ });
};
// 閲嶆柊鎻愯捣瀹℃壒锛堟洿鏂板叆搴撹褰曪級
export const updateStockInRecordForReApprove = (data) => {
- return request({
- url: "/stocklnRecord/updateStocklnRecord",
- method: "post",
- data,
- });
+ return request({
+ url: "/stockInRecord/updateStockInRecord",
+ method: "post",
+ data,
+ });
};
export const batchDeleteStockInRecords = (ids) => {
- return request({
- url: "/stockInRecord",
- method: "delete",
- data: ids,
- });
-};
\ No newline at end of file
+ return request({
+ url: "/stockInRecord",
+ method: "delete",
+ data: ids,
+ });
+};
--
Gitblit v1.9.3