From 8dbb7d111328a9f69cb7cb9e2affd844b5d9499d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= <2178503051@qq.com> Date: Fri, 17 Apr 2026 09:55:27 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=92=A2=E5=8D=B7=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=92=A2=E5=8D=B7=E7=BB=9F=E8=AE=A1=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=B9=B6=E4=BC=98=E5=8C=96=E4=BB=93=E5=BA=93=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增钢卷统计接口和展示总净重功能 优化仓库选择组件,按使用频率排序选项 调整钢卷选择器布局和样式 --- klp-ui/src/api/wms/coil.js | 8 +++++ klp-ui/src/components/CoilSelector/index.vue | 28 +++++++++++---- .../KLPService/WarehouseSelect/index.vue | 35 +++++++++++++++++-- 3 files changed, 62 insertions(+), 9 deletions(-) diff --git a/klp-ui/src/api/wms/coil.js b/klp-ui/src/api/wms/coil.js index 2decfe64..1c64a98e 100644 --- a/klp-ui/src/api/wms/coil.js +++ b/klp-ui/src/api/wms/coil.js @@ -389,4 +389,12 @@ export function listTypeErrorCoil() { method: 'get', timeout: 600000 }) +} + +export function getCoilStatisticsList(params) { + return request({ + url: '/wms/materialCoil/statisticsList', + method: 'get', + params, + }) } \ No newline at end of file diff --git a/klp-ui/src/components/CoilSelector/index.vue b/klp-ui/src/components/CoilSelector/index.vue index 65e765ae..85f940ca 100644 --- a/klp-ui/src/components/CoilSelector/index.vue +++ b/klp-ui/src/components/CoilSelector/index.vue @@ -27,7 +27,7 @@ --> - + @@ -74,8 +74,8 @@ - + 搜索 重置 显示钢卷地图 - 显示订单详情 + 显示订单详情 @@ -122,8 +123,15 @@ - +
+ + 总净重:{{ coilTrimStatistics.total_net_weight || 0 }}t + + + +
+
@@ -181,7 +189,7 @@