关务推送及预约单bug修改;

This commit is contained in:
王奎兴
2026-06-15 17:38:58 +08:00
parent aaf56ceafb
commit b05baac0e5
2 changed files with 5 additions and 3 deletions
@@ -830,7 +830,7 @@ public class PickingOrderApplicationService {
} else {
item.put("gNo", ""); // 出仓订单行号
}
item.put("gdsMtno", detail.getMaterialCode() != null ? detail.getMaterialCode() : "");
// 获取物料详情获取单价和币制
if (detail.getMaterialBaseInfoId() != null) {
@@ -838,7 +838,7 @@ public class PickingOrderApplicationService {
if (materialInfo != null) {
item.put("dclUprcAmt", materialInfo.getUnitPrice()); // 申报单价
item.put("dclCurrcd", materialInfo.getCurrency() != null ? materialInfo.getCurrency() : ""); // 申报币制
item.put("gdsMtno", materialInfo.getMaterialCode() != null ? materialInfo.getMaterialCode() : "");
// 计算申报总价
BigDecimal unitPrice = materialInfo.getUnitPrice();
BigDecimal pickingQty = detail.getCheckQuantity() != null ? detail.getCheckQuantity() : detail.getQuantity();