md
This commit is contained in:
parent
24172bdc88
commit
15aaa54da5
@ -2536,6 +2536,20 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
// 设定为客户下单
|
||||
emisWaybillSave.setOrderType("0");
|
||||
|
||||
// 如果是孟加拉单子,把运单号变为 12位
|
||||
if("0880".equals(emisWaybillSave.getReceiveCountry())){
|
||||
if(emisWaybillSave.getBillCode().length()==14 && emisWaybillSave.getBillCode().startsWith("T7080")){
|
||||
String str =emisWaybillSave.getBillCode();
|
||||
String prefix=str.substring(0,6);
|
||||
String other = str.substring(8);
|
||||
|
||||
String billCode=prefix+other;
|
||||
emisWaybillSave.setBillCode(billCode);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// 公共计算部分
|
||||
calcWayBillCommonInfoByOms(emisWaybillSave,true);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user