From 2d30a2f3fb8d0a5dd83bd3b8211c95f2502ff18f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Tue, 9 Dec 2025 14:37:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8F=91=E8=B4=A7=E5=8D=95):=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=8F=91=E8=B4=A7=E5=8D=95=E9=92=A2=E5=8D=B7=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E8=8C=83=E5=9B=B4=E9=99=90=E5=88=B6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在CoilSelector组件中新增rangeMode和rangeData属性,支持传入可选钢卷列表 - 发货单明细表增加对可选钢卷列表的支持,并在增删改时刷新列表 - 发货单打印时自动填充取货地点为实际库位前三位 - 调整操作列固定显示在表格右侧 --- klp-ui/src/api/wms/coil.js | 4 ++- klp-ui/src/api/wms/deliveryPlan.js | 15 +++++++++- klp-ui/src/components/CoilSelector/index.vue | 19 ++++++++++-- .../wms/delivery/components/detailTable.vue | 9 +++++- .../views/wms/delivery/components/wayBill.vue | 30 ++++--------------- klp-ui/src/views/wms/delivery/plan/index.vue | 2 +- .../src/views/wms/delivery/waybill/index.vue | 30 +++++++++++++++---- 7 files changed, 74 insertions(+), 35 deletions(-) diff --git a/klp-ui/src/api/wms/coil.js b/klp-ui/src/api/wms/coil.js index e57b5b0c..389d2e28 100644 --- a/klp-ui/src/api/wms/coil.js +++ b/klp-ui/src/api/wms/coil.js @@ -143,7 +143,9 @@ export function listCoilByIds(coilIds) { url: '/wms/materialCoil/list', method: 'get', params: { - coilIds + coilIds, + pageNum: 1, + pageSize: 1000 } }) } \ No newline at end of file diff --git a/klp-ui/src/api/wms/deliveryPlan.js b/klp-ui/src/api/wms/deliveryPlan.js index 2d07b347..0851b121 100644 --- a/klp-ui/src/api/wms/deliveryPlan.js +++ b/klp-ui/src/api/wms/deliveryPlan.js @@ -56,4 +56,17 @@ export function getDeliveryReport(query) { method: 'get', params: query }) -} \ No newline at end of file +} + +/** + * 获取当前可用的钢卷列表 + */ +export function listSelectableCoils(planId) { + return request({ + url: '/wms/deliveryPlan/selectableCoils', + method: 'get', + params: { + planId: planId + } + }) +} diff --git a/klp-ui/src/components/CoilSelector/index.vue b/klp-ui/src/components/CoilSelector/index.vue index 4046779e..2a1aff1d 100644 --- a/klp-ui/src/components/CoilSelector/index.vue +++ b/klp-ui/src/components/CoilSelector/index.vue @@ -18,7 +18,7 @@ - + @@ -47,7 +47,7 @@ -