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/erp/stock/move/index.ts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/api/erp/stock/move/index.ts b/src/api/erp/stock/move/index.ts
index f485ed1..4abc28c 100644
--- a/src/api/erp/stock/move/index.ts
+++ b/src/api/erp/stock/move/index.ts
@@ -1,4 +1,4 @@
-import type { PageParam, PageResult } from '../../../../packages/effects/request/src';
+import type { PageParam, PageResult } from '@vben/request';
import { requestClient } from '#/api/request';
@@ -12,7 +12,7 @@
totalPrice: number; // 鍚堣閲戦锛屽崟浣嶏細鍏�
status: number; // 鐘舵��
remark: string; // 澶囨敞
- fileUrl?: string; // 闄勪欢
+ attachmentList?: { id: number; name?: string; url?: string }[]; // 闄勪欢鍒楄〃
fromWarehouseId?: number; // 鏉ユ簮浠撳簱缂栧彿
createTime: Date; // 鍒涘缓鏃堕棿
creator: string; // 鍒涘缓浜�
--
Gitblit v1.9.3