feat:物料长宽高赠品不判断

This commit is contained in:
zzs 2024-10-14 18:52:41 +08:00
parent d5128f866d
commit a09e00a0a2

View File

@ -820,6 +820,8 @@ public class TrackplaceFormPlugIn extends AbstractBillPlugIn implements Plugin,
BigDecimal length = materiel.getBigDecimal("length");
BigDecimal width = materiel.getBigDecimal("width");
BigDecimal height = materiel.getBigDecimal("height");
boolean ifgift = object.getBoolean("yem_ifgift");
if (ifgift) continue;
if (YEM.isEmpty(length) || YEM.isEmpty(width) || YEM.isEmpty(height)) {
sb.append(String.format("商品明细第 [ %s ] 行,物料 [ %s ] 的长宽高信息未维护,请及时维护!\n",
(index + 1),