From 06337abf257903ec4f31d7945edc4381a00494a8 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Mon, 3 Nov 2025 11:06:12 +0800 Subject: [PATCH] =?UTF-8?q?2025-11-03=20pda=E9=87=87=E8=B4=AD=E9=80=80?= =?UTF-8?q?=E8=B4=A7=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/purchase/purchase-return.js | 8 +- .../purchase-return/purchaseReturnList.vue | 410 +++++++++++++++--- 2 files changed, 368 insertions(+), 50 deletions(-) diff --git a/src/api/purchase/purchase-return.js b/src/api/purchase/purchase-return.js index fe38353..bbc6d34 100644 --- a/src/api/purchase/purchase-return.js +++ b/src/api/purchase/purchase-return.js @@ -28,4 +28,10 @@ export const confirmPurchaseReturn = data => createAPI(`purchaseReturn/confirmPu * 获取采购退货单物料清单 * @param {Object} data - 查询参数 {site, buNo, returnNo} */ -export const getMaterialList = data => createAPI(`purchaseReturn/getMaterialList`, 'post', data) \ No newline at end of file +export const getMaterialList = data => createAPI(`purchaseReturn/getMaterialList`, 'post', data) + +/** + * 获取采购退货单明细卡片列表 + * @param {Object} data - 查询参数 {site, buNo, returnNo, warehouseId, searchCode} + */ +export const getReturnDetailCards = data => createAPI(`purchaseReturn/getReturnDetailCards`, 'post', data) \ No newline at end of file diff --git a/src/views/modules/purchase-return/purchaseReturnList.vue b/src/views/modules/purchase-return/purchaseReturnList.vue index 6176e9d..bd468f7 100644 --- a/src/views/modules/purchase-return/purchaseReturnList.vue +++ b/src/views/modules/purchase-return/purchaseReturnList.vue @@ -24,30 +24,88 @@
-
-
- 出库单号 - {{ item.returnNo }} -
+
+ +
+
+
+ 出库单号 + {{ item.returnNo }} +
+ +
-
-
-
客户编码
-
- {{ item.customerId }} +
+
+
+ 客户编码: + {{ item.customerId }} +
+
+
+ 客户名称: + {{ item.customerName }} +
+
+
+
+ + +
+
+ +

加载明细中...

-
-
客户名称
-
- {{ item.customerName }} + +
+
+
+ 物料编码: + {{ detail.partNo }} +
+
+ +
+
+ 物料名称: + {{ detail.partDesc }} +
+
+
+ 需求数量: + {{ detail.totalQty }} +
+
+ 退货数量: + {{ detail.availableQty }} +
+
+
+ +
+ +
+ +

暂无明细数据

+
@@ -67,7 +125,7 @@