diff --git a/src/api/production.js b/src/api/production.js index 3a6ed21..0f0584d 100644 --- a/src/api/production.js +++ b/src/api/production.js @@ -28,4 +28,10 @@ export const confirmProductionPicking = data => createAPI(`production/outbound/c * 获取出库单物料清单 * @param {Object} data - 查询参数 {site, buNo, outboundNo} */ -export const getOutboundMaterialList = data => createAPI(`production/outbound/materialList`, 'post', data) \ No newline at end of file +export const getOutboundMaterialList = data => createAPI(`production/outbound/materialList`, 'post', data) + +/** + * 获取出库单物料明细列表 + * @param {Object} data - 查询参数 {site, outboundNo} + */ +export const getOutboundMaterialDetails = data => createAPI(`production/outbound/materialDetails`, 'post', data) \ No newline at end of file diff --git a/src/views/modules/production-pick/productionPicking.vue b/src/views/modules/production-pick/productionPicking.vue index e49309d..b3e8829 100644 --- a/src/views/modules/production-pick/productionPicking.vue +++ b/src/views/modules/production-pick/productionPicking.vue @@ -23,55 +23,151 @@ -
+
+ + + +
- 出库单号 - {{ item.outboundNo }} + 出库单号:{{ selectedOutbound.outboundNo }} + {{ selectedOutbound.relatedNo }} +
-
-
关联单号
-
{{ item.relatedNo }}
-
标签张数
- {{ item.pickedLabels }}{{ item.totalLabels }} + {{ selectedOutbound.pickedLabels }}{{ selectedOutbound.totalLabels }}
物料总数
- {{ item.pickedQty }}{{ item.totalQty }} + {{ selectedOutbound.pickedQty }}{{ selectedOutbound.totalQty }}
+
+
状态
+
{{ selectedOutbound.status || "待出库" }}
+
+
- -
- -

暂无待领料出库单

-
+ +
+
+ +
+ + 工单号: + {{ material.orderNo }} + + + 需求数量: + {{ material.requiredQty || 0 }} + +
+ + +
+ + 物料编码: + {{ material.partNo }} + + + 单位: + {{ material.umId}} + +
+ + +
+ 物料名称: + {{ material.materialDesc || material.partDesc }} +
- -
- -

加载中...

+ +
+ 物料总数: + {{ material.pickedQty || 0 }}/{{ material.totalQty || 0 }} +
+ + +
+ +

加载物料详情中...

+
+ + +
+ +

暂无物料详情

+