From 0d3883a884c2f6fb75d78d8387f9b72e711b0b29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E9=B9=8F=E9=A3=9E?= Date: Mon, 9 Mar 2026 11:27:47 +0800 Subject: [PATCH] =?UTF-8?q?style(label):=20=E8=B0=83=E6=95=B4=E7=89=A9?= =?UTF-8?q?=E6=96=99=E6=A0=87=E7=AD=BE=E6=A8=A1=E6=9D=BF=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=B9=B6=E4=BC=98=E5=8C=96=E6=95=B0=E6=8D=AE=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除二维码容器多余边距设置 - 调整表格列宽以改善布局显示效果 - 客户名称列取消固定宽度以支持自适应 - 将实际数量字段替换为格式化后的数量文本显示 - 为物料清单图片添加固定宽度样式 - 新增数量格式化工具类集成到数据传输对象中 --- .../common/pojo/vo/ShipmentMaterialCodeQRVO.java | 10 ++++++++++ .../src/main/resources/template/label/material.html | 13 ++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/nflg-wms-common/src/main/java/com/nflg/wms/common/pojo/vo/ShipmentMaterialCodeQRVO.java b/nflg-wms-common/src/main/java/com/nflg/wms/common/pojo/vo/ShipmentMaterialCodeQRVO.java index 39a3d07f..874a03f9 100644 --- a/nflg-wms-common/src/main/java/com/nflg/wms/common/pojo/vo/ShipmentMaterialCodeQRVO.java +++ b/nflg-wms-common/src/main/java/com/nflg/wms/common/pojo/vo/ShipmentMaterialCodeQRVO.java @@ -1,5 +1,6 @@ package com.nflg.wms.common.pojo.vo; +import com.nflg.wms.common.util.NumberUtil; import lombok.Data; import java.math.BigDecimal; @@ -34,6 +35,15 @@ public class ShipmentMaterialCodeQRVO { */ private BigDecimal num; + /** + * 应发数量文本 + */ + private String numText; + + public String getNumText() { + return NumberUtil.format(num); + } + /** * 实发数量 */ diff --git a/nflg-wms-shipment/src/main/resources/template/label/material.html b/nflg-wms-shipment/src/main/resources/template/label/material.html index 16559d61..813de42f 100644 --- a/nflg-wms-shipment/src/main/resources/template/label/material.html +++ b/nflg-wms-shipment/src/main/resources/template/label/material.html @@ -39,7 +39,6 @@ .qrcode { width: 380px; height: 380px; - margin: 10px; } .lst{ width: 800px; @@ -54,16 +53,16 @@
0PC7B724KV6FM
- + 机台编号 - + 26LBZ4000L001 - + 客户名称 - + 北京市京联鑫路用材料有限公司 @@ -77,13 +76,13 @@ 数量 - + 10 - +