From d0afe5eaaf538e9d05405f4696cd7151c4b67bb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= <2178503051@qq.com> Date: Thu, 18 Jun 2026 17:00:03 +0800 Subject: [PATCH] =?UTF-8?q?feat(wms/coil):=20=E6=96=B0=E5=A2=9E=E5=8F=91?= =?UTF-8?q?=E8=B4=A7=E5=8D=95=E7=8A=B6=E6=80=81=E7=AD=9B=E9=80=89=E8=A7=86?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 在ship.vue页面新增isShipView参数并默认开启 2. 在base面板新增货单状态筛选 radio 组 3. 根据isShipView切换查询逻辑和表格列展示 4. 新增对应统计计数逻辑 --- .../contract/components/ProductContent.vue | 4 ++ klp-ui/src/views/wms/coil/panels/base.vue | 69 +++++++++++++++++-- klp-ui/src/views/wms/coil/ship.vue | 11 ++- 3 files changed, 77 insertions(+), 7 deletions(-) diff --git a/klp-ui/src/views/crm/contract/components/ProductContent.vue b/klp-ui/src/views/crm/contract/components/ProductContent.vue index e2396575..c35fde3c 100644 --- a/klp-ui/src/views/crm/contract/components/ProductContent.vue +++ b/klp-ui/src/views/crm/contract/components/ProductContent.vue @@ -299,6 +299,10 @@ export default { // 添加产品行 addProduct() { const newItem = { taxDivisor: 1.13 }; + const material = this.productMaterialMap[this.productName]; + if (material) { + newItem.material = material; + } this.initProduct(newItem); this.products.push(newItem); }, diff --git a/klp-ui/src/views/wms/coil/panels/base.vue b/klp-ui/src/views/wms/coil/panels/base.vue index c27b546e..e7912ac8 100644 --- a/klp-ui/src/views/wms/coil/panels/base.vue +++ b/klp-ui/src/views/wms/coil/panels/base.vue @@ -84,10 +84,14 @@ 未发货【{{ unshippedCount }}】 已发货【{{ shippedCount }}】 - + + + + + 全部 + 有货单【{{ shipViewModel.hasCount }}】 + 无货单【{{ shipViewModel.noneCount }}】 + @@ -251,13 +255,13 @@ - + - +