diff --git a/klp-ui/src/components/CoilSelector/index.vue b/klp-ui/src/components/CoilSelector/index.vue index 957d848e..faa29a13 100644 --- a/klp-ui/src/components/CoilSelector/index.vue +++ b/klp-ui/src/components/CoilSelector/index.vue @@ -47,6 +47,19 @@ + + + + + + + + + + + + + @@ -59,10 +72,13 @@ - + + +
@@ -72,11 +88,13 @@ - + + +
@@ -291,17 +309,17 @@ export default { // 动态生成表格行类名 - 综合处理选中、禁用等状态 getRowClassName({ row }) { const classNames = []; - + // 检查是否为已选中的钢卷 if (this.selectedCoilIds.has(row.coilId)) { classNames.push('selected-coil-row'); } - + // 销售受限模式下,判断当前行是否有权限 if (this.salesRestricted && row.saleId !== this.currentUserId) { classNames.push('disabled-coil-row'); // 禁用行类名 } - + return classNames.join(' '); }, @@ -544,12 +562,14 @@ export default { // 核心:已选钢卷样式(黄色背景) ::v-deep .el-table .selected-coil-row { - background-color: #fffbe6 !important; /* 浅黄色背景 */ - - &:hover > td { - background-color: #fff8d9 !important; /* hover时稍深一点的黄色 */ + background-color: #fffbe6 !important; + /* 浅黄色背景 */ + + &:hover>td { + background-color: #fff8d9 !important; + /* hover时稍深一点的黄色 */ } - + // 当同时是当前行时 &.current-row { background-color: #fff8d9 !important; @@ -563,7 +583,7 @@ export default { cursor: not-allowed !important; // 覆盖hover高亮 - &:hover > td { + &:hover>td { background-color: #f8f8f8 !important; } @@ -577,12 +597,12 @@ export default { pointer-events: none; user-select: none; // 禁止文本选中 } - + // 当同时是已选行时(优先级:禁用 > 已选) &.selected-coil-row { background-color: #f5f5f5 !important; - - &:hover > td { + + &:hover>td { background-color: #f5f5f5 !important; } } diff --git a/klp-ui/src/views/wms/coil/do/ship.vue b/klp-ui/src/views/wms/coil/do/ship.vue index 06c7a6c8..92289c63 100644 --- a/klp-ui/src/views/wms/coil/do/ship.vue +++ b/klp-ui/src/views/wms/coil/do/ship.vue @@ -46,7 +46,7 @@ - + @@ -77,25 +77,25 @@ - + - + - + - + diff --git a/klp-ui/src/views/wms/coil/panels/do.vue b/klp-ui/src/views/wms/coil/panels/do.vue index 560f4c03..1390e4a7 100644 --- a/klp-ui/src/views/wms/coil/panels/do.vue +++ b/klp-ui/src/views/wms/coil/panels/do.vue @@ -768,10 +768,11 @@ export default { this.buttonLoading = true cancelSpecialSplit(row.actionId).then(response => { this.$message.success('取消分卷成功') - this.stepSpilt.loading = false - this.buttonLoading = false this.getPendingAction() // 刷新待操作列表 this.getStepSplitList() + }).finally(() => { + this.stepSpilt.loading = false + this.buttonLoading = false }) }) }, diff --git a/klp-ui/src/views/wms/delivery/components/detailTable.vue b/klp-ui/src/views/wms/delivery/components/detailTable.vue index fd3a6988..24e3d435 100644 --- a/klp-ui/src/views/wms/delivery/components/detailTable.vue +++ b/klp-ui/src/views/wms/delivery/components/detailTable.vue @@ -7,7 +7,7 @@ 新增 - 批量新增 @@ -54,7 +54,7 @@
- @@ -67,20 +67,23 @@ - + - + - + + + + @@ -139,7 +142,7 @@ export default { waybillId: { handler(newVal, oldVal) { // if (newVal) { - this.getList(); + this.getList(); // } }, immediate: true diff --git a/klp-ui/src/views/wms/delivery/waybill/index.vue b/klp-ui/src/views/wms/delivery/waybill/index.vue index 99212efa..c9488ace 100644 --- a/klp-ui/src/views/wms/delivery/waybill/index.vue +++ b/klp-ui/src/views/wms/delivery/waybill/index.vue @@ -118,7 +118,7 @@