From cc63aa80b2d92349955215557ef241b78ef13d89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= <2178503051@qq.com>
Date: Wed, 10 Jun 2026 09:21:34 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D/=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=E5=A4=9A=E4=B8=AA=E4=B8=9A=E5=8A=A1=E9=A1=B5=E9=9D=A2=E7=9A=84?=
=?UTF-8?q?=E9=80=BB=E8=BE=91=E4=B8=8E=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
1. 修正物料选项中的BX51D+Z为DX51D+Z
2. 给L2匹配面板的标准化方法添加日志与start_date/end_date字段解析
3. 优化卷材页面的日期赋值逻辑并添加调试日志
4. 简化异常表格的图片组件写法,新增继承来源列
---
.../crm/contract/components/ProductContent.vue | 2 +-
.../views/wms/coil/components/AbnormalTable.vue | 15 +++++++++------
klp-ui/src/views/wms/coil/panels/L2MatchPanel.vue | 3 +++
klp-ui/src/views/wms/coil/typing.vue | 11 +++++++++--
4 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/klp-ui/src/views/crm/contract/components/ProductContent.vue b/klp-ui/src/views/crm/contract/components/ProductContent.vue
index 592248d9..ef981297 100644
--- a/klp-ui/src/views/crm/contract/components/ProductContent.vue
+++ b/klp-ui/src/views/crm/contract/components/ProductContent.vue
@@ -156,7 +156,7 @@ export default {
],
materialOptions: [
{ label: 'SPCC', value: 'SPCC' },
- { label: 'BX51D+Z', value: 'BX51D+Z' },
+ { label: 'DX51D+Z', value: 'DX51D+Z' },
{ label: 'DC01', value: 'DC01' },
]
}
diff --git a/klp-ui/src/views/wms/coil/components/AbnormalTable.vue b/klp-ui/src/views/wms/coil/components/AbnormalTable.vue
index 66cc092a..dba78f74 100644
--- a/klp-ui/src/views/wms/coil/components/AbnormalTable.vue
+++ b/klp-ui/src/views/wms/coil/components/AbnormalTable.vue
@@ -33,12 +33,8 @@
-
+
@@ -50,6 +46,13 @@
+
+
+
+ {{ scope.row.processSource }}
+
+
+
{{ getAbnormalTime(scope.row) }}
diff --git a/klp-ui/src/views/wms/coil/panels/L2MatchPanel.vue b/klp-ui/src/views/wms/coil/panels/L2MatchPanel.vue
index 74e09fea..c331a6bb 100644
--- a/klp-ui/src/views/wms/coil/panels/L2MatchPanel.vue
+++ b/klp-ui/src/views/wms/coil/panels/L2MatchPanel.vue
@@ -142,6 +142,7 @@ export default {
return val
},
normalizeExcoilRow(row) {
+ console.log(row, '标准化')
const g = k => row[k] != null ? row[k] : (row[k.toUpperCase()] != null ? row[k.toUpperCase()] : null)
return {
hot_coilid: g('hot_coilid'),
@@ -150,6 +151,8 @@ export default {
exit_thick: g('exit_thick'),
exit_width: g('exit_width'),
exit_length: g('exit_length'),
+ start_date: g('start_date'),
+ end_date: g('end_date'),
entry_weight: g('used_entry_weight') != null ? g('used_entry_weight')
: (g('meas_exit_weight') != null ? g('meas_exit_weight') : g('entry_weight')),
}
diff --git a/klp-ui/src/views/wms/coil/typing.vue b/klp-ui/src/views/wms/coil/typing.vue
index 8c1ae2cc..79bed42d 100644
--- a/klp-ui/src/views/wms/coil/typing.vue
+++ b/klp-ui/src/views/wms/coil/typing.vue
@@ -676,8 +676,15 @@ export default {
if (data.exit_thick != null) this.$set(this.updateForm, 'actualThickness', parseFloat(data.exit_thick))
if (data.exit_width != null) this.$set(this.updateForm, 'actualWidth', parseFloat(data.exit_width))
- if (data.start_date) this.$set(this.updateForm, 'productionStartTime', this.formatDateTime(data.start_date))
- if (data.end_date) this.$set(this.updateForm, 'productionEndTime', this.formatDateTime(data.end_date))
+ console.log(data)
+
+ if (data.start_date) {
+ this.$set(this.updateForm, 'productionStartTime', this.formatDateTime(data.start_date))
+ }
+
+ if (data.end_date) {
+ this.$set(this.updateForm, 'productionEndTime', this.formatDateTime(data.end_date))
+ }
if (data.start_date || data.end_date) this.calculateProductionDuration()
const query = {