diff --git a/oms_web/oms_vue/src/api/project/order.js b/oms_web/oms_vue/src/api/project/order.js index 5c7b0aa9..039113ae 100644 --- a/oms_web/oms_vue/src/api/project/order.js +++ b/oms_web/oms_vue/src/api/project/order.js @@ -114,11 +114,11 @@ export function savePurchaseOrderMap(data) { } // 查询采购单SN码列表 -export function purchaseSnList(purchaseNo, orderCode) { +export function purchaseSnList(purchaseNo, orderCode, productCode) { return request({ url: '/project/order/vue/purchaseSnList', method: 'get', - params: { purchaseNo, orderCode } + params: { purchaseNo, orderCode, productCode } }) } diff --git a/oms_web/oms_vue/src/views/inventory/execution/index.vue b/oms_web/oms_vue/src/views/inventory/execution/index.vue index 0f06b574..cffbd822 100644 --- a/oms_web/oms_vue/src/views/inventory/execution/index.vue +++ b/oms_web/oms_vue/src/views/inventory/execution/index.vue @@ -243,6 +243,15 @@
产品型号: {{ item.model || '-' }} + 生成虚拟采购单
@@ -250,32 +259,38 @@ {{ item.orderNum !== undefined && item.orderNum !== null ? item.orderNum : '-' }}
- 已配货: - {{ item.phNum !== undefined && item.phNum !== null ? item.phNum : '-' }} - 缺货: {{ item.orderNum !== undefined && item.orderNum !== null ? item.orderNum-(item.phNum||0): '-'}} + 已配额: + {{ calculateCurrentTotalPhNum(item) }} + 缺货: {{ item.orderNum !== undefined && item.orderNum !== null ? item.orderNum-calculateCurrentTotalPhNum(item): '-'}}
已备货: {{ item.bhNum !== undefined && item.bhNum !== null ? item.bhNum : '-' }} 缺货: {{ item.orderNum !== undefined && item.orderNum !== null ? item.orderNum-(item.bhNum||0): '-'}} + 备货完成
- - - - + + - + + + + + + + - - - - + + @@ -321,7 +331,7 @@
关 闭 - + 保存修改
@@ -337,8 +347,8 @@
本次将保存 {{ stockingSaveChangedList.length }} 条配额量变更,是否继续?
- - + +