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