feat(出库计划): 订单出库计划,设置备注

This commit is contained in:
Kelvin 2025-01-04 15:01:15 +08:00
parent 89b03eb93b
commit 99de619c66

View File

@ -61,6 +61,7 @@ public class WmsOutPlanController extends BaseController {
}
/**
* 订单生成出库计划
* @param wmsOutboundOrderDto
* @return
*/
@ -83,8 +84,9 @@ public class WmsOutPlanController extends BaseController {
wmsOutPlan.setPlanCode(MultiModuleCodeGenerator.generateTaskCode("CKP"));
wmsOutPlan.setWmsBusinessTypeId(wmsBusinessType.getTypeId());
wmsOutPlan.setWmsBusinessType(wmsBusinessType);
wmsOutPlan.setPlanType("SCZB");
wmsOutPlan.setPlanType("SGLR");
wmsOutPlan.setPlanState("0");
wmsOutPlan.setRemark("订单号: " + wmsOutboundOrderDto.getOrderId());
// 创建出库计划明细
ArrayList<WmsOutPlanDetail> wmsOutPlanDetails = getWmsOutPlanDetails(wmsOutboundOrderDto, mdItem);
wmsOutPlan.setWmsOutPlanDetailList(wmsOutPlanDetails);