From d3400443412e02f8d0f45fe5eb6da214f851532d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Sat, 7 Feb 2026 16:13:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8F=91=E8=B4=A7=E6=98=8E=E7=BB=86?= =?UTF-8?q?=E8=A1=A8):=20=E6=B7=BB=E5=8A=A0=E6=80=BB=E5=8D=B7=E6=95=B0?= =?UTF-8?q?=E5=92=8C=E6=80=BB=E9=87=8D=E9=87=8F=E6=98=BE=E7=A4=BA=E5=B9=B6?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=88=86=E9=A1=B5=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在表格顶部右侧添加总卷数和总重量的统计显示,方便用户快速查看汇总信息。同时将默认分页大小调整为999以显示所有数据 --- .../wms/delivery/components/detailTable.vue | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/klp-ui/src/views/wms/delivery/components/detailTable.vue b/klp-ui/src/views/wms/delivery/components/detailTable.vue index f8dcef96..c83857ad 100644 --- a/klp-ui/src/views/wms/delivery/components/detailTable.vue +++ b/klp-ui/src/views/wms/delivery/components/detailTable.vue @@ -18,6 +18,17 @@ 刷新 + + + + + {{ totalCoilCount }} 卷 + + + {{ totalWeight }} 吨 + + + @@ -173,7 +184,7 @@ export default { // 查询参数 queryParams: { pageNum: 1, - pageSize: 10, + pageSize: 999, waybillId: this.waybillId, coilId: undefined, productName: undefined, @@ -194,6 +205,14 @@ export default { autoFillForm: true, }; }, + computed: { + totalCoilCount() { + return this.total; + }, + totalWeight() { + return this.deliveryWaybillDetailList.reduce((acc, item) => acc + Number(item.weight), 0).toFixed(3); + } + }, created() { this.getList(); },