This commit is contained in:
linfso 2024-08-01 15:19:26 +08:00
parent 4fe3501289
commit e63163e733

View File

@ -547,9 +547,12 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
}
emisWaybillSave.setDestinationCode(destination.getDestCode());
emisWaybillSave.setDispatchUnderlingSiteCode(destination.getSiteCode());
// 正式开单
if(StringUtils.isEmpty(emisWaybillSave.getDispatchUnderlingSiteCode())) {
emisWaybillSave.setDispatchUnderlingSiteCode(destination.getSiteCode());
}
// api 正式开单
emisWaybillSave.setOrderType("1");
// 如果填写了运费则使用按重量计费模式