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 @@