diff --git a/klp-ui/src/api/wms/coil.js b/klp-ui/src/api/wms/coil.js index fe86c1df..c6e5c5c8 100644 --- a/klp-ui/src/api/wms/coil.js +++ b/klp-ui/src/api/wms/coil.js @@ -451,3 +451,14 @@ export function getFirstHeatCoilMaterial(enterCoilNo) { } }) } + +/** + * 查询钢卷发货单绑定的销售信息 + */ +export function getDeliveryOrderInfo(coilId) { + return request({ + url: `/crm/order/getOrderByCoilId/${coilId}`, + method: 'get', + timeout: 600000, + }) +} diff --git a/klp-ui/src/views/wms/coil/info.vue b/klp-ui/src/views/wms/coil/info.vue index bc73760f..4cfd12fb 100644 --- a/klp-ui/src/views/wms/coil/info.vue +++ b/klp-ui/src/views/wms/coil/info.vue @@ -17,616 +17,694 @@ 生命周期追踪
-
-
- -
- -
-
- 📦 入库 -
-
-
- {{ coil.currentCoilNo }} - {{ coil.netWeight ? coil.netWeight + ' t' : '-' }} -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - -
- -
-
- 变更前 -
-
-
- {{ coil.currentCoilNo }} - {{ coil.netWeight ? coil.netWeight + ' t' : '-' }} -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
-
- 材质 - {{ coil.material || '-' }} -
-
- - -
-
-
- 规格 - {{ coil.specification || '-' }} -
-
- - -
-
-
- 状态 - {{ - coil.qualityStatus || '-' }} -
-
- - -
-
- 入场卷号 - {{ coil.enterCoilNo || '-' }} -
-
- - -
-
- 厂家原料号 - {{ coil.supplierCoilNo || '-' }} -
-
- - -
-
- 班组 - {{ coil.team || '-' }} -
-
- - -
-
- 厂家 - {{ coil.manufacturer || '-' }} -
-
- - -
-
- 备注 - {{ coil.remark || '-' }} -
-
-
-
- - - -
-
- 无钢卷信息 -
+ +
+
+
+
+ 🚚 发货
- - -
-
- -
-
- {{ step.action }} - {{ step.operation }} - {{ step.time }} -
-
- - -
-
- 变更后 -
-
-
- {{ coil.currentCoilNo }} - {{ coil.netWeight ? coil.netWeight + ' t' : '-' }} +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
-
- 材质 - {{ coil.material || '-' }} -
-
- - -
-
-
- 规格 - {{ coil.specification || '-' }} -
-
- - -
-
-
- 状态 - {{ - coil.qualityStatus || '-' }} -
-
- - -
-
- 入场卷号 - {{ coil.enterCoilNo || '-' }} -
-
- - -
-
- 厂家原料号 - {{ coil.supplierCoilNo || '-' }} -
-
- - -
-
- 班组 - {{ coil.team || '-' }} -
-
- - -
-
- 厂家 - {{ coil.manufacturer || '-' }} -
-
- - -
-
- 备注 - {{ coil.remark || '-' }} -
+
+
+
+ 发货状态 + + {{ coilInfo.status === 1 ? '已发货' : '未发货' }} +
- - - + -
- 无钢卷信息 -
-
-
-
- - -
-
-
-
- 🚚 发货 -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
-
- 发货状态 - - {{ coilInfo.status === 1 ? '已发货' : '未发货' }} - -
-
-
-
- - - -
- -
- - 未找到相关钢卷记录 -
@@ -660,6 +738,76 @@
+
+ +
+ 💰 + 发货单对应的合同信息 +
+
+ + {{ deliveryOrderInfo.contractCode || '-' }} + {{ deliveryOrderInfo.customer || '-' }} + {{ deliveryOrderInfo.salesman || '-' }} + {{ deliveryOrderInfo.signTime || '-' }} + {{ deliveryOrderInfo.deliveryTime || '-' }} + {{ deliveryOrderInfo.orderAmount || '-' }} + + + +

技术附件

+ + + +

排产函

+ +
+ +
+ + 未找到相关发货单对应的合同信息记录 +
+
+ +
+
+ 💰 + 订单异议 +
+
+ + + + + + + + + + + + + + + + +
+
+ + 未找到相关订单异议记录 +
+
+ +
📋 @@ -725,7 +873,8 @@ 异常信息
- +
@@ -734,12 +883,13 @@
📈 生产工艺数据 - 加载中… + 加载中… ({{ perfSegCount }} 段)
- +
暂无生产数据
@@ -752,19 +902,16 @@ {{ group.label }}
-
{{ item.label }}
+ @click="selectTrendParam(item)">{{ item.label }}
← 点击左侧参数查看曲线
-
+
@@ -806,8 +953,9 @@