|
@@ -145,6 +145,7 @@ function setSelectCustomer(customerId){
|
|
|
$("#addressDesc").html(customer.customerSendAddress);
|
|
|
$("#salesAddressInfo").val(customer.customerSendAddress);
|
|
|
|
|
|
+ var cmRelation = data.returnMsg.cmRelation;
|
|
|
if(isEmpty(cmRelation.provinceNumber)){
|
|
|
ulc.setUlcById(0,cmRelation.provinceNumber);
|
|
|
}
|
|
@@ -154,6 +155,9 @@ function setSelectCustomer(customerId){
|
|
|
if(isEmpty(cmRelation.areaNumber)){
|
|
|
ulc.setUlcById(2,cmRelation.areaNumber);
|
|
|
}
|
|
|
+ if(isEmpty(cmRelation.relationSendAddress)){
|
|
|
+ $("#salesAddressInfo").val(cmRelation.relationSendAddress);
|
|
|
+ }
|
|
|
if(data.returnMsg.colorIds != null){
|
|
|
setSelectProduct(data.returnMsg.colorIds);
|
|
|
}
|