From 60576864bf3fbcccabe222961eb6e12e8d3f1d7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Fri, 13 Mar 2026 11:25:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(coil):=20=E4=BF=AE=E5=A4=8D=E5=B7=A5?= =?UTF-8?q?=E5=BA=8F=E9=9D=A2=E6=9D=BF=E6=98=BE=E7=A4=BA=E5=8F=8A=E4=BB=93?= =?UTF-8?q?=E5=BA=93=E9=80=89=E6=8B=A9=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复镀锌工序面板中无进行中工序的显示问题,使用动态label替代硬编码 修复currentTab为0时仓库ID未清空的问题 添加纵剪分条工序的仓库选项并更新特殊分割逻辑 --- klp-ui/src/views/wms/coil/do/split.vue | 9 ++++++++- klp-ui/src/views/wms/coil/panels/do.vue | 13 +++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/klp-ui/src/views/wms/coil/do/split.vue b/klp-ui/src/views/wms/coil/do/split.vue index 726e3cae..33c8c4be 100644 --- a/klp-ui/src/views/wms/coil/do/split.vue +++ b/klp-ui/src/views/wms/coil/do/split.vue @@ -54,9 +54,16 @@ {value: '1988151076996706306', label: '镀铬原料库'}, {value: '1988151132361519105', label: '镀铬成品库'}, ], + '纵剪分条工序': [ + {value: '', label: '原料库'}, + {value: '1988150210872930306', label: '酸连轧分条成品'}, + {value: '1988150800092950529', label: '退火分条成品'}, + {value: '1988150380649967617', label: '镀锌分条成品'}, + {value: '1988151027466170370', label: '拉矫分条成品'}, + ], } - if (this.actionType === '镀锌工序' || this.actionType === '脱脂工序' || this.actionType === '拉矫平整工序' || this.actionType === '双机架工序' || this.actionType === '镀铬工序') { + if (this.actionType === '镀锌工序' || this.actionType === '脱脂工序' || this.actionType === '拉矫平整工序' || this.actionType === '双机架工序' || this.actionType === '镀铬工序' || this.actionType === '纵剪分条工序') { this.useSpecialSplit = true } // 从map中获取默认的查询参数 diff --git a/klp-ui/src/views/wms/coil/panels/do.vue b/klp-ui/src/views/wms/coil/panels/do.vue index 24b828ef..75a0e483 100644 --- a/klp-ui/src/views/wms/coil/panels/do.vue +++ b/klp-ui/src/views/wms/coil/panels/do.vue @@ -306,7 +306,7 @@
- +
@@ -642,6 +642,12 @@ export default { border: '1px solid blue', color: '#fff' } + } else if (this.acidRollingActionType == 506) { + return { + backgroundColor: '#2bf', + border: '1px solid #2bf', + color: '#fff' + } } else { return {} } @@ -671,9 +677,12 @@ export default { }, currentTab: { handler(newVal) { - if (newVal) { + if (newVal && newVal != 0) { this.materialQueryParams.warehouseId = newVal + } else { + this.materialQueryParams.warehouseId = '' } + this.getMaterialCoil() }, immediate: true