md
This commit is contained in:
parent
e147e59f7e
commit
7b281cabb8
@ -1732,10 +1732,11 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
recieveAddress.setUseSiteCode(emisWaybillSave.getSendSiteCode());
|
||||
recieveAddress.setAddressType("2");
|
||||
|
||||
// 计算单据归属
|
||||
String customerCode=null;
|
||||
String customerName=null;
|
||||
// 计算订单归属
|
||||
String customerCode=emisWaybillSave.getCustomerCode();
|
||||
String customerName=emisWaybillSave.getCustomerName();
|
||||
|
||||
if(StringUtils.isEmpty(customerCode)) {
|
||||
// 通过电话判断客户是否存在
|
||||
String sendPhone = getCompletePhone(sendAddress.getPhone());
|
||||
EmisCustomerUser emisCustomerUser = getCustomerUserByPhone(sendPhone);
|
||||
@ -1772,6 +1773,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
customerCode = newUser.getCustomerCode();
|
||||
customerName = newUser.getCustomerName();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1889,9 +1891,6 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
emisWaybillSave.setSendCounty(" ");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user