From 696f5cc008688fdb7253d40f0eebe1b8fcc061d1 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Fri, 5 Dec 2025 17:17:29 +0800 Subject: [PATCH] =?UTF-8?q?2025-12-05=20pda=E5=9C=A8=E7=89=A9=E6=96=99?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E5=88=97=E8=A1=A8->=E7=89=A9=E6=96=99?= =?UTF-8?q?=E5=8F=AF=E7=94=A8=E5=BA=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inbound.js | 8 +- .../other-inout/otherInboundDetail.vue | 2 +- .../purchase-inbound/inboundStorage.vue | 352 +++++++++++++++++- 3 files changed, 357 insertions(+), 5 deletions(-) diff --git a/src/api/inbound.js b/src/api/inbound.js index 5939d45..6b4292a 100644 --- a/src/api/inbound.js +++ b/src/api/inbound.js @@ -40,4 +40,10 @@ export const getMaterialList = data => createAPI(`inbound/getMaterialList`, 'pos * 获取已扫描标签列表(从缓存表) * @param {Object} data - 查询参数 {site, buNo, inboundNo} */ -export const getScannedLabelList = data => createAPI(`inbound/getScannedLabelList`, 'post', data) \ No newline at end of file +export const getScannedLabelList = data => createAPI(`inbound/getScannedLabelList`, 'post', data) + +/** + * 获取物料可用库存 + * @param {Object} data - 查询参数 {site, notifyNo, notifyType, orderNo, orderLineNo, partNo, warehouseId} + */ +export const getInventoryStock = data => createAPI(`inbound/getInventoryStock`, 'post', data) \ No newline at end of file diff --git a/src/views/modules/other-inout/otherInboundDetail.vue b/src/views/modules/other-inout/otherInboundDetail.vue index 5fae2de..237f7e9 100644 --- a/src/views/modules/other-inout/otherInboundDetail.vue +++ b/src/views/modules/other-inout/otherInboundDetail.vue @@ -58,7 +58,7 @@ {{ item.materialCode }} diff --git a/src/views/modules/purchase-inbound/inboundStorage.vue b/src/views/modules/purchase-inbound/inboundStorage.vue index c6c6ba3..7cefb80 100644 --- a/src/views/modules/purchase-inbound/inboundStorage.vue +++ b/src/views/modules/purchase-inbound/inboundStorage.vue @@ -181,7 +181,7 @@ >
{{ index + 1 }}
-
{{ item.materialCode || item.partNo }}
+
{{item.partNo }}
{{ item.labelCount || 0 }}
{{ item.totalinLabels || 0 }}
@@ -200,11 +200,64 @@ + + +
+
+ + + + + +
+