From c87b43ae954d917be5e3f984935ec9f3fac2392c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Wed, 28 Jan 2026 17:22:32 +0800 Subject: [PATCH] =?UTF-8?q?feat(wms):=20=E6=9B=B4=E6=96=B0=E9=92=A2?= =?UTF-8?q?=E5=8D=B7=E8=BF=BD=E6=BA=AF=E5=8A=9F=E8=83=BD=E5=B9=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=8F=91=E8=B4=A7=E5=8D=95=E7=8A=B6=E6=80=81=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在detailTable.vue中将edgeType字段从edgeRequirement改为trimmingRequirement - 在waybill/index.vue和bills/index.vue中注释掉导出按钮 - 在base.vue中为钢卷追溯添加加载状态 - 在bills/index.vue中启用发货状态选择器并添加状态更新逻辑 - 重构CoilTraceResult.vue,优化钢卷追溯信息展示和交互体验 --- .../views/wms/coil/panels/CoilTraceResult.vue | 784 +++++++++++------- klp-ui/src/views/wms/coil/panels/base.vue | 7 +- klp-ui/src/views/wms/delivery/bills/index.vue | 23 +- .../wms/delivery/components/detailTable.vue | 2 +- .../src/views/wms/delivery/waybill/index.vue | 2 +- 5 files changed, 517 insertions(+), 301 deletions(-) diff --git a/klp-ui/src/views/wms/coil/panels/CoilTraceResult.vue b/klp-ui/src/views/wms/coil/panels/CoilTraceResult.vue index 863c6cfd..ee45f910 100644 --- a/klp-ui/src/views/wms/coil/panels/CoilTraceResult.vue +++ b/klp-ui/src/views/wms/coil/panels/CoilTraceResult.vue @@ -1,175 +1,179 @@ \ No newline at end of file diff --git a/klp-ui/src/views/wms/coil/panels/base.vue b/klp-ui/src/views/wms/coil/panels/base.vue index 243be7ae..3a08d993 100644 --- a/klp-ui/src/views/wms/coil/panels/base.vue +++ b/klp-ui/src/views/wms/coil/panels/base.vue @@ -268,7 +268,7 @@ - + @@ -411,6 +411,8 @@ export default { buttonLoading: false, // 遮罩层 loading: true, + // 追溯加载中 + traceLoading: false, // 选中数组 ids: [], // 非单个禁用 @@ -646,6 +648,7 @@ export default { /** 追溯按钮操作 */ handleTrace(row) { this.traceOpen = true; + this.traceLoading = true; this.traceResult = null; // 清空历史数据 getMaterialCoilTrace({ enterCoilNo: row.enterCoilNo, @@ -655,6 +658,8 @@ export default { }).catch(err => { console.error('溯源查询失败:', err); this.$message.error('溯源查询失败,请重试'); + }).finally(() => { + this.traceLoading = false; }); }, handleGradeChange(row) { diff --git a/klp-ui/src/views/wms/delivery/bills/index.vue b/klp-ui/src/views/wms/delivery/bills/index.vue index 43b49b97..6cb36dde 100644 --- a/klp-ui/src/views/wms/delivery/bills/index.vue +++ b/klp-ui/src/views/wms/delivery/bills/index.vue @@ -15,7 +15,7 @@ 刷新 - 导出 + @@ -33,12 +33,12 @@ @@ -62,7 +62,7 @@