소스 검색

修改客诉详情

wangxiaoming 6 년 전
부모
커밋
68eb140b51
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      watero-rst-web/src/main/webapp/common/js/salesOrder/salesOrder.js

+ 10 - 0
watero-rst-web/src/main/webapp/common/js/salesOrder/salesOrder.js

@@ -144,6 +144,16 @@ function setSelectCustomer(customerId){
                  ulc.setUlcById(0,customer.customerProvinceId,customer.customerCityId,customer.customerDistrictId);
                 $("#addressDesc").html(customer.customerSendAddress);
                 $("#salesAddressInfo").val(customer.customerSendAddress);
+
+                if(isEmpty(cmRelation.provinceNumber)){
+                    ulc.setUlcById(0,cmRelation.provinceNumber);
+                }
+                if(isEmpty(cmRelation.cityNumber)){
+                    ulc.setUlcById(1,cmRelation.cityNumber);
+                }
+                if(isEmpty(cmRelation.areaNumber)){
+                    ulc.setUlcById(2,cmRelation.areaNumber);
+                }
                 setSelectProduct(data.returnMsg.colorIds);
             }else{
             }