From 557c2b3c50027c2eb6fb9f7e562fc2c7b2b38203 Mon Sep 17 00:00:00 2001
From: quxin <592870522@qq.com>
Date: 星期五, 04 九月 2026 11:37:17 +0800
Subject: [PATCH] 修复: 生产领料后的退料应该是选择领料的记录,不是选择库存的记录(同时库存数据需要根据领料退料变动,比如库存100,领用80,然后领用80中退料30,库存应由原来的20变成50)
---
src/api/crm/business/index.ts | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/api/crm/business/index.ts b/src/api/crm/business/index.ts
index 7da62ae..8f6b241 100644
--- a/src/api/crm/business/index.ts
+++ b/src/api/crm/business/index.ts
@@ -21,7 +21,6 @@
statusTypeName?: string;
statusId: number;
statusName?: string;
- endStatus: number;
endRemark: string;
dealTime: Date;
totalProductPrice: number;
@@ -39,11 +38,14 @@
/** 鍟嗘満浜у搧淇℃伅 */
export interface BusinessProduct {
id: number;
- productId: number;
- productName: string;
- productNo: string;
- productUnit: number;
- productPrice: number;
+ itemId: number;
+ itemName: string;
+ itemCode: string;
+ barCode: string;
+ itemSpecification: string;
+ itemUnitId: number;
+ itemUnitName: string;
+ itemPrice: number;
businessPrice: number;
count: number;
totalPrice: number;
@@ -52,8 +54,7 @@
/** 鍟嗘満鏇存柊鐘舵�佽姹� */
export interface BusinessUpdateStatusReqVO {
id: number;
- statusId: number | undefined;
- endStatus: number | undefined;
+ statusId: number;
}
}
--
Gitblit v1.9.3