Sfoglia il codice sorgente

修改客诉详情

wangxiaoming 6 anni fa
parent
commit
f199177a3d

+ 12 - 3
watero-rst-service/src/main/java/com/iamberry/rst/service/address/mapper/addressMapper.xml

@@ -13,6 +13,9 @@
       <if test="province !=null and province !=''">
             AND province like CONCAT('%',#{province},'%')
       </if>
+      <if test="provinceId !=null">
+            AND province_id = #{provinceId}
+      </if>
     </where>
   </select>
 
@@ -30,6 +33,9 @@
       <if test="city !=null and city !=''">
         AND city like CONCAT('%',#{city},'%')
       </if>
+      <if test="cityId !=null">
+        AND city_id = #{cityId}
+      </if>
     </where>
   </select>
 
@@ -44,9 +50,12 @@
       <if test="cityId !=null and cityId !=''">
         city_id = #{cityId}
       </if>
-        <if test="district !=null and district !=''">
-            AND district like CONCAT('%',#{district},'%')
-        </if>
+      <if test="district !=null and district !=''">
+          AND district like CONCAT('%',#{district},'%')
+      </if>
+      <if test="districtId !=null ">
+          AND district_id = #{districtId}
+      </if>
     </where>
   </select>
 

+ 7 - 1
watero-rst-web/src/main/java/com/iamberry/rst/controllers/cm/AdminCustomerController.java

@@ -550,12 +550,18 @@ public class AdminCustomerController {
         ClosedProdcue record = new ClosedProdcue();
         record.setRelationId(cmRelation.getRelationId());
         List <ClosedProdcue> listClosedProdcue = customerService.listclosedProdcue(record);
+
+        SalesOrder salesOrder = new SalesOrder();
+        salesOrder.setSalesCustomerId(cmRelation.getCustomerId());
+        List<SalesOrder> salesOrderList = salesOrderService.salesOrderListAndItem(salesOrder);
+
         mv.addObject("listClosedProdcue",listClosedProdcue);
         mv.addObject("listSendbackInfo",listSendbackInfo);
         mv.addObject("logisticsInfoList",logisticsInfoList);
         mv.addObject("listPostageInfo", listPostageInfo);
         mv.addObject("procMethod", procMethod);
         mv.addObject("customerId", customerId);
+        mv.addObject("salesOrderList", salesOrderList);
         return mv;
     }
 
@@ -599,7 +605,7 @@ public class AdminCustomerController {
             District district = new District();
             district.setDistrictId(Integer.valueOf(ci.getCustomerDistrictId()));
             List<District> districtList = addressService.listDistrict(district);
-            ci.setCustomerCityName(districtList.get(0).getDistrict());
+            ci.setCustomerDistrictName(districtList.get(0).getDistrict());
         }
         rj.addResponseKeyValue("cmRelation", cmRelation);
         rj.addResponseKeyValue("procMethod", procMethod);

+ 156 - 211
watero-rst-web/src/main/webapp/WEB-INF/views/cm/customer/custome_detail.ftl

@@ -79,28 +79,24 @@
             <tr>
                 <th width="10">跟进客服:</th>
                 <td width="10" style="font-weight: normal;"><span id="adminName"></span></td>
-                <td width="10"></td>
                 <th width="10">处理类型:</th>
                 <td width="10" style="font-weight: normal;"><span id="procMethodName"></span></td>
             </tr>
             <tr>
                 <th width="10">咨询类型:</th>
                 <td width="10" style="font-weight: normal;"><span id="customerCounselType"></span></td>
-                <td width="10"></td>
                 <th width="10">产品类别:</th>
                 <td width="10" style="font-weight: normal;"><span id="typeName"></span></td>
             </tr>
             <tr>
                 <th width="10">销售公司:</th>
                 <td width="10" style="font-weight: normal;"><span id="companyName"></span></td>
-                <td width="10"></td>
                 <th width="10">店铺:</th>
                 <td width="10" style="font-weight: normal;"><span id="storeName"></span></td>
             </tr>
             <tr>
                 <th width="10">来源入口:</th>
                 <td width="10" style="font-weight: normal;"><span id="customerSourceType"></span></td>
-                <td width="10"></td>
                 <th width="10">来源描述:</th>
                 <td width="10" style="font-weight: normal;"><span id="customerSource"></span></td>
             </tr>
@@ -120,14 +116,12 @@
             <tr>
                 <th width="10">微信昵称:</th>
                 <td width="10" style="font-weight: normal;"><span id="customerWechatName"></span></td>
-                <td width="10"></td>
                 <th width="10">用户姓名:</th>
                 <td width="10" style="font-weight: normal;"><span id="customerName"></span></td>
             </tr>
             <tr>
                 <th width="10">用户电话:</th>
                 <td width="10" style="font-weight: normal;"><span id="customerTel"></span></td>
-                <td width="10"></td>
                 <th width="10"></th>
                 <td width="10" style="font-weight: normal;"><span></span></td>
             </tr>
@@ -145,21 +139,18 @@
             <tr>
                 <th width="10">开箱损:</th>
                 <td width="10" style="font-weight: normal;"><span id="customerOutDamaged"></span></td>
-                <td width="10"></td>
                 <th width="10">二次售后:</th>
                 <td width="10" style="font-weight: normal;"><span id="customerSecondaryCustomer"></span></td>
             </tr>
             <tr>
                 <th width="10">客诉问题:</th>
                 <td width="10" style="font-weight: normal;"><span id="describeTitle"></span></td>
-                <td width="10"></td>
                 <th width="10">问题描述:</th>
                 <td width="10" style="font-weight: normal;"><span id="questionProfile"></span></td>
             </tr>
             <tr>
                 <th width="10">问题回复:</th>
                 <td width="10" style="font-weight: normal;"><span id="describeContent"></span></td>
-                <td width="10"></td>
                 <th width="10">备注信息:</th>
                 <td width="10" style="font-weight: normal;"><span id="customerDesc"></span></td>
             </tr>
@@ -177,72 +168,61 @@
             <thead>
                 <tr>
                     <th width="10">所在省份:</th>
-                    <td width="10" style="font-weight: normal;"><span id="customerOutDamaged"></span></td>
-                    <td width="10"></td>
+                    <td width="10" style="font-weight: normal;"><span id="customerProvinceName"></span></td>
                     <th width="10">城市区域:</th>
-                    <td width="10" style="font-weight: normal;"><span id="customerSecondaryCustomer"></span></td>
+                    <td width="10" style="font-weight: normal;"><span id="customerCityName"></span></td>
                 </tr>
                 <tr>
                     <th width="10">进水TDS:</th>
-                    <td width="10" style="font-weight: normal;"><span id="describeTitle"></span></td>
-                    <td width="10"></td>
+                    <td width="10" style="font-weight: normal;"><span id="customerInTDS"></span></td>
                     <th width="10">出水TDS:</th>
-                    <td width="10" style="font-weight: normal;"><span id="questionProfile"></span></td>
+                    <td width="10" style="font-weight: normal;"><span id="customerOutTDS"></span></td>
                 </tr>
             </thead>
         </table>
 
-        <table class="table table-border table-bg table-bordered" style="margin-top: 10px;">
+        <div class="row cl">
+            <label class="form-label col-3">
+                <div class="tit-2">订单信息</div>
+            </label>
+            <div class="formControls col-9">
+            </div>
+        </div>
+        <table class="table table-border table-bg table-bordered"   id="tableHtml">
             <thead>
             <tr>
-                <th width="10">
-                    订单信息:
-                </th>
-                <th width="40" style="font-weight: normal;">
-                    <div class="row cl" id="tableHtml">
-                        <div class="formControls col-10 col-sm-10 text-c">
-                            <table class="table table-border table-bg table-bordered" >
-                                <thead>
-                                <tr>
-                                    <th>销售</th>
-                                    <th>订单号</th>
-                                    <th>姓名</th>
-                                    <th>电话</th>
-                                    <th>订单金额</th>
-                                    <th>购买产品</th>
-                                    <th>购买日期</th>
-                                    <th>地址</th>
-                                </tr>
-                                </thead>
-                                <tbody id="salesOrderHtml">
-                                <tr>
-                                    <td id="companyName"></td>
-                                    <td id="salesOrderId"></td>
-                                    <td id="salesAddressName"></td>
-                                    <td id="salesAddressTel"></td>
-                                    <td id="salesPayMoney"></td>
-                                    <td id="salesItem"></td>
-                                    <td id="salesPayTime"></td>
-                                    <td id=""></td>
-                                </tr>
-                                </tbody>
-                            </table>
-                        </div>
-                    </div>
-                </th>
+                <th>销售</th>
+                <th>订单号</th>
+                <th>姓名</th>
+                <th>电话</th>
+                <th>订单金额</th>
+                <th>购买产品</th>
+                <th>购买日期</th>
+                <th>地址</th>
             </tr>
             </thead>
-        </table>
-        <table class="table table-border table-bg table-bordered" style="margin-top: 10px;">
-            <thead>
+            <tbody id="salesOrderHtml">
             <tr>
-                <th width="10">
-                    处理结果(<span id="customerIsSolve" style="color: red"></span>)
-                    <span id="postage" style="color: red"></span>
-                </th>
+                <td id="companyName"></td>
+                <td id="salesOrderId"></td>
+                <td id="salesAddressName"></td>
+                <td id="salesAddressTel"></td>
+                <td id="salesPayMoney"></td>
+                <td id="salesItem"></td>
+                <td id="salesPayTime"></td>
+                <td id=""></td>
             </tr>
-            </thead>
+            </tbody>
         </table>
+
+        <div class="row cl">
+            <label class="form-label col-3">
+                <div class="tit-2">处理结果(<span id="customerIsSolve" style="color: red"></span>)</div>
+            </label>
+            <div class="formControls col-9">
+            </div>
+        </div>
+
         <#--<table class="table table-border table-bg table-bordered" style="margin-top: 10px;">
             <thead>
             <tr>
@@ -252,20 +232,6 @@
                 <th width="10">寄送产品:</th>
                 <td width="10" style="font-weight: normal;"><span id="sendprodcue"></span></td>
             </tr>
-            <tr>
-                <th width="10">TDS收集:</th>
-                <td width="10" style="font-weight: normal;"><span id="customerTDS"></span></td>
-                <td width="10"></td>
-                <th width="10">收货地址:</th>
-                <td width="10" style="font-weight: normal;"><div id="sendMergeAddressDiv"><span id="relationSendMergeAddress"></span></div></td>
-            </tr>
-            <tr>
-                <th width="10">客服备注:</th>
-                <td width="10" style="font-weight: normal;"><span id="describeHandleDesc"></span></td>
-                <td width="10"></td>
-                <th width="10"></th>
-                <td width="10" style="font-weight: normal;"></td>
-            </tr>
             </thead>
         </table>-->
 
@@ -284,6 +250,23 @@
             </#if>-->
             </div>
             <div <#if procMethod.procMethodIsBack == 1>class="tabCon"</#if> style="display: none;">
+                <table class="table table-border table-bg table-bordered" style="margin-top: 10px;">
+                    <thead>
+                        <tr>
+                            <th width="10">寄回人姓名:</th>
+                            <td width="10" style="font-weight: normal;"><span id=""></span></td>
+                            <th width="10">寄回人电话:</th>
+                            <td width="10" style="font-weight: normal;"><span id=""></span></td>
+                        </tr>
+                        <tr>
+                            <th width="10">寄回地址信息:</th>
+                            <td width="10" style="font-weight: normal;"><span id=""></span></td>
+                            <th width="10"></th>
+                            <td width="10" style="font-weight: normal;"><span id=""></span></td>
+                        </tr>
+                    </thead>
+                </table>
+
                 <div class="row cl">
                     <div class="formControls col-10 col-sm-10">
                         <table class="table table-border table-bg table-bordered" >
@@ -326,7 +309,7 @@
                 </div>
             </div>
             <div <#if procMethod.procMethodIsBack == 1>class="tabCon"</#if> style="display: none;">
-
+                <span id="postage" style="color: red"></span>
                 <div class="row cl" id="postageInformation">
                     <div class="formControls col-10 col-sm-10">
                         <table class="table table-border table-bg table-bordered" >
@@ -369,95 +352,56 @@
                 </div>
             </div>
             <div <#if procMethod.procMethodIsSend == 1>class="tabCon"</#if>style="display: none;">
-                <table class="table table-border table-bg table-bordered" style="margin-top: 10px;">
-                    <thead>
-                    <tr>
-                        <th width="20">是否寄出:</th>
-                        <td width="10" style="font-weight: normal;">
-                            <div class="radio-box">
-                                <input type="radio" id="tel-10" name="relationSendStatus" value="1" seleType="sendInformation">
-                                <label for="tel-10">未寄出</label>
-                            </div>
-                            <div class="radio-box">
-                                <input type="radio" id="tel-11" name="relationSendStatus" value="2" seleType="sendInformation">
-                                <label for="tel-11">已寄出</label>
-                            </div>
-                            <div class="radio-box">
-                                <input type="radio" id="tel-12" name="relationSendStatus" value="3" seleType="sendInformation">
-                                <label for="tel-12">已收货</label>
-                            </div>
-                        </td>
-                    </tr>
-                    <tr>
-                        <th width="10">Efast订单号:</th>
-                        <td width="10" style="font-weight: normal;">
-                            <span id="relationBackEfastOrderId"></span>
-                        </td>
-                    </tr>
-                    <tr>
-                        <th width="10">收件人姓名:</th>
-                        <td width="10" style="font-weight: normal;">
-                            <span id="relationSendName"></span>
-                        </td>
-                    </tr>
-                    <tr>
-                        <th width="10">收件人手机号:</th>
-                        <td width="10" style="font-weight: normal;">
-                            <span id="relationSendTel"></span>
-                        </td>
-                    </tr>
-                    <tr>
-                        <th width="10">省市县:</th>
-                        <td width="10" style="font-weight: normal;">
-                            <div style="width: 188px;display: inline-block;margin-right: 20px;">
-                                <span class="select-box" style="padding-right: 0px;">
-                                    <select name="provinceNumber" id="provinceNumber" class="select" seleType="sendInformation"></select>
-                                </span>
-                            </div>
-                            <div style="width: 188px;display: inline-block;margin-right: 20px;">
-                                <span class="select-box" style="padding-right: 0px;">
-                                    <select name="cityNumber" id="cityNumber" class="select" seleType="sendInformation"></select>
-                                </span>
-                            </div>
-                            <div style="width: 189px;display: inline-block;">
-                                <span class="select-box" style="padding-right: 0px;">
-                                    <select name="areaNumber" id="areaNumber" class="select" seleType="sendInformation"></select>
-                                    <input type="hidden" id="merge_address" name="merge_address" seleType="sendInformation">
-                                </span>
-                            </div>
-                        </td>
-                    </tr>
-                    <tr>
-                        <th width="10">详细地址:</th>
-                        <td width="10" style="font-weight: normal;">
-                            <span id="relationSendAddress"></span>
-                        </td>
-                    </tr>
-                    <tr>
-                        <th width="10">寄出信息:</th>
-                        <td width="10" style="font-weight: normal;">
-                            <div style="width: 300px;display: inline-block;margin-right: 10px;">
-                                <span class="select-box">
-                                    <select name="relationSendLogisticsCompany" id="relationSendLogisticsCompany" class="select" seleType="sendInformation">
-                                        <#if logisticsInfoList?? &&  (logisticsInfoList?size > 0) >
-                                            <#list logisticsInfoList as logisticsInfo>
-                                                <option value="${logisticsInfo.logisticsRstCode!''}">${logisticsInfo.logisticsName!''}(${logisticsInfo.logisticsRstCode!''})</option>
-                                            </#list>
-                                        </#if>
-                                    </select>
-                                </span>
-                            </div>
-                            <span id="relationSendLogisticsNo"></span>
-                        </td>
-                    </tr>
-                    <tr>
-                        <th width="10">寄出备注:</th>
-                        <td width="10" style="font-weight: normal;">
-                            <span id="relationDesc"></span>
-                        </td>
-                    </tr>
-                    </thead>
-                </table>
+                   <table class="table table-border table-bg table-bordered" style="margin-top: 10px;">
+                       <thead>
+                           <tr>
+                               <th width="20">订单编号</th>
+                               <th width="20">订单状态</th>
+                               <th width="20">发货状态</th>
+                               <th width="20">产品</th>
+                               <th width="20">物流信息</th>
+                           </tr>
+                       </thead>
+                       <tbody>
+                            <#if salesOrderList?? &&  (salesOrderList?size > 0) >
+                                <#list salesOrderList as salesOrder>
+                                    <tr>
+                                        <td>${salesOrder.salesDealCode!''}</td>
+                                        <td>
+                                            <#if salesOrder.salesStatus==0 >
+                                                未确认
+                                            <#elseif salesOrder.salesStatus==1 >
+                                                已确认
+                                            <#elseif salesOrder.salesStatus==3 >
+                                                作废
+                                            </#if>
+                                        </td>
+                                        <td>
+                                            <#if salesOrder.salesShippingStatus==0 >
+                                                未发货
+                                            <#elseif salesOrder.salesShippingStatus==1 >
+                                                已发货
+                                            <#elseif salesOrder.salesShippingStatus==11 >
+                                                通知配货
+                                            </#if>
+                                        </td>
+                                        <td>
+                                            <#if salesOrder.salesOrderItemList?? &&  (salesOrder.salesOrderItemList?size > 0) >
+                                                 <#list salesOrder.salesOrderItemList as salesOrderItem>
+                                                    ${salesOrderItem.itemProductName!''}(${salesOrderItem.itemProductColor!''})*${salesOrderItem.itemNum!''}<br>
+                                                 </#list>
+                                            </#if>
+                                        </td>
+                                        <td>
+                                            ${salesOrder.salesPostFirm!''}<br>
+                                            ${salesOrder.salesPostNum!''}
+                                        </td>
+                                    </tr>
+                                </#list>
+                            </#if>
+                       </tbody>
+                   </table>
+
                 <div class="row cl">
                     <div class="formControls col-2 col-sm-2">
                     </div>
@@ -561,7 +505,6 @@
                     var cmRelation = data.returnMsg.cmRelation;
                     var procMethod = data.returnMsg.procMethod;
 
-
                     var postage = '';
                     var postageMoney = 0;
                     if (customerCommon.relationBackPostage != null) {
@@ -634,7 +577,11 @@
                     var txtcustomerIsSolve = procMethod.procMethodName;
 
                     $('#customerIsSolve').html(txtcustomerIsSolve);
-//                    $('#companyName').html(convertUndefinedToEmpty(customer.companyName)+"-"+convertUndefinedToEmpty(customer.storeName));
+
+                    $('#customerProvinceName').html(customer.customerProvinceName);
+                    $('#customerCityName').html(customer.customerCityName + customer.customerDistrictName);
+                    $('#customerInTDS').html(customer.customerInTDS);
+                    $('#customerOutTDS').html(customer.customerOutTDS);
 
                     if(orderList != null && typeof(orderList)!="" &&  orderList.length > 0 ){
                         var salesOrderHtml = "";
@@ -669,31 +616,31 @@
 //                    })
 //                    $('#salesItem').html(salesItem);
 //                    $('#salesPayTime').html(salesOrder.salesPayTime);
-                    $('#relationSendMergeAddress').html( convertUndefinedToEmpty(cmRelation.relationSendMergeAddress)+"-"+convertUndefinedToEmpty(cmRelation.relationSendAddress));
-                    $('#describeHandleDesc').html(customer.describeHandleDesc);
-
-                    if (customerCommon.sendProdcues != null && customerCommon.sendProdcues.length > 0) {
-                        $.each(customerCommon.sendProdcues,function(index,item){
-                            sendprodcue += '<span style="margin-bottom: 10px;display: inline-block;float: left;">' + this.sendProduceName + '*' + this.sendProdcueNumber + '</span>';
-                        })
-                    }
-                    if (customerCommon.sendFittings != null && customerCommon.sendFittings.length > 0) {
-                        $.each(customerCommon.sendFittings,function(index,item){
-                            sendprodcue += '<span style="margin-bottom: 10px;display: inline-block;float: left;">' + this.sendFittingsName + '*' + this.sendFittingNumber + '</span>';
-                        })
-                    }
-                    if (customerCommon.closedProdcues != null && customerCommon.closedProdcues.length > 0) {
-                        $.each(customerCommon.closedProdcues,function(index,item){
-                            closeprodcue += '<span style="margin-bottom: 10px;display: inline-block;float: left;">' + this.closedProductName + '*' + this.closedProdcueNumber + '</span>';
-                        })
-                    }
-                    if (customerCommon.closedFittings != null && customerCommon.closedFittings.length > 0) {
-                        $.each(customerCommon.closedFittings,function(index,item){
-                            closeprodcue += '<span style="margin-bottom: 10px;display: inline-block;float: left;">' + this.closedFittingsName + '*' + this.closedFittingNumber + '</span>';
-                        })
-                    }
-                    $('#sendprodcue').html(sendprodcue+"<br/>");
-                    $('#closeprodcue').html(closeprodcue+"<br/>");
+//                    $('#relationSendMergeAddress').html( convertUndefinedToEmpty(cmRelation.relationSendMergeAddress)+"-"+convertUndefinedToEmpty(cmRelation.relationSendAddress));
+
+
+//                    if (customerCommon.sendProdcues != null && customerCommon.sendProdcues.length > 0) {
+//                        $.each(customerCommon.sendProdcues,function(index,item){
+//                            sendprodcue += '<span style="margin-bottom: 10px;display: inline-block;float: left;">' + this.sendProduceName + '*' + this.sendProdcueNumber + '</span>';
+//                        })
+//                    }
+//                    if (customerCommon.sendFittings != null && customerCommon.sendFittings.length > 0) {
+//                        $.each(customerCommon.sendFittings,function(index,item){
+//                            sendprodcue += '<span style="margin-bottom: 10px;display: inline-block;float: left;">' + this.sendFittingsName + '*' + this.sendFittingNumber + '</span>';
+//                        })
+//                    }
+//                    if (customerCommon.closedProdcues != null && customerCommon.closedProdcues.length > 0) {
+//                        $.each(customerCommon.closedProdcues,function(index,item){
+//                            closeprodcue += '<span style="margin-bottom: 10px;display: inline-block;float: left;">' + this.closedProductName + '*' + this.closedProdcueNumber + '</span>';
+//                        })
+//                    }
+//                    if (customerCommon.closedFittings != null && customerCommon.closedFittings.length > 0) {
+//                        $.each(customerCommon.closedFittings,function(index,item){
+//                            closeprodcue += '<span style="margin-bottom: 10px;display: inline-block;float: left;">' + this.closedFittingsName + '*' + this.closedFittingNumber + '</span>';
+//                        })
+//                    }
+//                    $('#sendprodcue').html(sendprodcue+"<br/>");
+//                    $('#closeprodcue').html(closeprodcue+"<br/>");
                     if (sendprodcueshow) {
                         $('#divSendProdcue').show();
                     } else {
@@ -708,8 +655,6 @@
                     if(customer.customerArea != null && customer.customerArea != ""){
                         customerArea = convertUndefinedToEmpty(customer.customerArea)+",";
                     }
-                    $('#customerTDS').html(customerArea+"进水"+
-                            (customer.customerInTDS==undefined?0:customer.customerInTDS)+"ppm"+",出水"+(customer.customerOutTDS==undefined?0:customer.customerOutTDS)+"ppm");
 
                     if (customer.customerIsVisit == 2) {
                         var visitTime = '';
@@ -964,25 +909,25 @@
                 if (data.returnCode == 200) {
                     var relation = data.returnMsg.cmRelation;
                     console.log(relation);
-                    getProvince('provinceNumber');
-                    getCity('cityNumber',relation.provinceNumber);
-                    getDistrict('areaNumber',relation.cityNumber);
-                    $("#relationSendLogisticsCompany option[value='" + relation.relationSendLogisticsCompany + "']").attr("selected","true");
-
-                    $("#provinceNumber option[value='" + relation.provinceNumber + "']").attr("selected","true");
-                    $("#cityNumber option[value='" + relation.cityNumber + "']").attr("selected","true");
-                    $("#areaNumber option[value='" + relation.areaNumber + "']").attr("selected","true");
-                    $('input[name="relationSendStatus"]').each(function(){
-                        if (this.value == relation.relationSendStatus) {
-                            $(this).iCheck('check');
-                        }
-                    });
-                    $('#relationBackEfastOrderId').html(relation.relationBackEfastOrderId);
-                    $('#relationSendName').html(relation.relationSendName);
-                    $('#relationSendTel').html(relation.relationSendTel);
-                    $('#relationSendAddress').html(relation.relationSendAddress);
-                    $('#relationSendLogisticsNo').html(relation.relationSendLogisticsNo);
-                    $('#relationDesc').html(relation.relationDesc);
+                  //  getProvince('provinceNumber');
+                   // getCity('cityNumber',relation.provinceNumber);
+                  //  getDistrict('areaNumber',relation.cityNumber);
+//                    $("#relationSendLogisticsCompany option[value='" + relation.relationSendLogisticsCompany + "']").attr("selected","true");
+
+                 //   $("#provinceNumber option[value='" + relation.provinceNumber + "']").attr("selected","true");
+//                    $("#cityNumber option[value='" + relation.cityNumber + "']").attr("selected","true");
+//                    $("#areaNumber option[value='" + relation.areaNumber + "']").attr("selected","true");
+//                    $('input[name="relationSendStatus"]').each(function(){
+//                        if (this.value == relation.relationSendStatus) {
+//                            $(this).iCheck('check');
+//                        }
+//                    });
+//                    $('#relationBackEfastOrderId').html(relation.relationBackEfastOrderId);
+//                    $('#relationSendName').html(relation.relationSendName);
+//                    $('#relationSendTel').html(relation.relationSendTel);
+//                    $('#relationSendAddress').html(relation.relationSendAddress);
+//                    $('#relationSendLogisticsNo').html(relation.relationSendLogisticsNo);
+//                    $('#relationDesc').html(relation.relationDesc);
                 }
             },
             error: function(XmlHttpRequest, textStatus, errorThrown){