Browse Source

客诉详情优化展示页面

xian 5 years ago
parent
commit
5e839a9154

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

@@ -112,7 +112,6 @@
         </div>
         <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="customerWechatName"></span></td>
@@ -181,13 +180,13 @@
             </thead>
         </table>
 
-        <div class="row cl">
+        <#--<div class="row cl">
             <label class="form-label col-3">
                 <div class="tit-2">订单信息</div>
             </label>
             <div class="formControls col-9">
             </div>
-        </div>
+        </div>-->
         <table class="table table-border table-bg table-bordered"   id="tableHtml" style="margin-top: 15px;">
             <thead>
             <tr>
@@ -216,25 +215,14 @@
         </table>
 
         <div class="row cl">
-            <label class="form-label col-3">
+            <label class="form-label col-9">
                 <div class="tit-2">处理结果:<span id="customerIsSolve" style="color: red"></span></div>
             </label>
-            <div class="formControls col-9">
+            <div class="formControls col-3">
+
             </div>
         </div>
 
-        <#--<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="closeprodcue"></span></td>
-                <td width="10"></td>
-                <th width="10">寄送产品:</th>
-                <td width="10" style="font-weight: normal;"><span id="sendprodcue"></span></td>
-            </tr>
-            </thead>
-        </table>-->
-
         <div id="tab_demo" class="HuiTab" style="margin-top: 20px;">
             <div class="tabBar clearfix">
             <#if procMethod.procMethodIsBack == 1>
@@ -244,111 +232,91 @@
             <#if procMethod.procMethodIsSend == 1>
                 <span>寄送信息</span>
             </#if>
-            <#--<#if procMethod.procMethodIsBack == 1>
-                <span>工厂检查信息</span>
-                <span>工厂返修进度</span>
-            </#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;">
+               <pre style="margin-top: 10px;">
+寄回人姓名:<span id="relationBackName"></span>
+寄回人电话:<span id="relationBackTel"></span>
+寄回地址信息:<span id="relationSendAddress"></span><span id=""></span></pre>
+
+
+                <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="relationBackName"></span></td>
-                            <th width="10">寄回人电话:</th>
-                            <td width="10" style="font-weight: normal;"><span id="relationBackTel"></span></td>
-                        </tr>
-                        <tr>
-                            <th width="10">寄回地址信息:</th>
-                            <td width="10" style="font-weight: normal;"><span id="relationSendAddress"></span></td>
-                            <th width="10"></th>
-                            <td width="10" style="font-weight: normal;"><span id=""></span></td>
-                        </tr>
+                    <tr>
+                        <th>物流公司</th>
+                        <th>物流单号</th>
+                        <th>寄回人信息</th>
+                        <th>状态</th>
+                        <th>产品</th>
+                    </tr>
                     </thead>
+                    <tbody id="SendbackbodyId">
+                    <#if listSendbackInfo?? &&  (listSendbackInfo?size > 0) >
+                        <#list listSendbackInfo as sendbackInfo>
+                        <tr id="deleteSendbackId${(sendbackInfo.sendbackId)!''}">
+                            <td>${(sendbackInfo.sendbackLogisticsName)!''}</td>
+                            <td>${(sendbackInfo.sendbackLogisticsNo)!''}</td>
+                            <td>${(sendbackInfo.sendbackName)!''}<br>${(sendbackInfo.sendbackTel)!''}</td>
+                            <td>
+                                <#if sendbackInfo.sendbackStatus == 1>未配送</#if>
+                                <#if sendbackInfo.sendbackStatus == 2>配送中</#if>
+                                <#if sendbackInfo.sendbackStatus == 3>已签收</#if>
+                            </td>
+                            <td>
+                                <#if sendbackInfo.listSendbackItem?? &&  (sendbackInfo.listSendbackItem?size > 0) >
+                                    <#list sendbackInfo.listSendbackItem as sendbackItem>
+                                    ${sendbackItem.sendbackProductName}(${sendbackItem.sendbackColorName})* ${sendbackItem.sendbackProdcueNumber}<br>
+                                    </#list>
+                                </#if>
+                            </td>
+                        </tr>
+                        </#list>
+                    <#else>
+                    <tr id="colspanSendbackId"><td colspan="7" class="td-manage text-c" >暂时没有寄回信息,请添加!</td></tr>
+                    </#if>
+                    </tbody>
                 </table>
-
-                <div class="row cl">
-                    <div class="formControls col-10 col-sm-10">
-                        <table class="table table-border table-bg table-bordered" >
-                            <thead>
-                            <tr>
-                                <th>物流公司</th>
-                                <th>物流单号</th>
-                                <th>寄回人信息</th>
-                                <th>状态</th>
-                                <th>产品</th>
-                            </tr>
-                            </thead>
-                            <tbody id="SendbackbodyId">
-                            <#if listSendbackInfo?? &&  (listSendbackInfo?size > 0) >
-                                <#list listSendbackInfo as sendbackInfo>
-                                <tr id="deleteSendbackId${(sendbackInfo.sendbackId)!''}">
-                                    <td>${(sendbackInfo.sendbackLogisticsName)!''}</td>
-                                    <td>${(sendbackInfo.sendbackLogisticsNo)!''}</td>
-                                    <td>${(sendbackInfo.sendbackName)!''}<br>${(sendbackInfo.sendbackTel)!''}</td>
-                                    <td>
-                                        <#if sendbackInfo.sendbackStatus == 1>未配送</#if>
-                                        <#if sendbackInfo.sendbackStatus == 2>配送中</#if>
-                                        <#if sendbackInfo.sendbackStatus == 3>已签收</#if>
-                                    </td>
-                                    <td>
-                                        <#if sendbackInfo.listSendbackItem?? &&  (sendbackInfo.listSendbackItem?size > 0) >
-                                            <#list sendbackInfo.listSendbackItem as sendbackItem>
-                                            ${sendbackItem.sendbackProductName}(${sendbackItem.sendbackColorName})* ${sendbackItem.sendbackProdcueNumber}<br>
-                                            </#list>
-                                        </#if>
-                                    </td>
-                                </tr>
-                                </#list>
-                            <#else>
-                            <tr id="colspanSendbackId"><td colspan="7" class="td-manage text-c" >暂时没有寄回信息,请添加!</td></tr>
-                            </#if>
-                            </tbody>
-                        </table>
-                    </div>
-                </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" >
-                            <thead>
-                            <tr>
-                                <th>邮费id</th>
-                                <th>邮费金额</th>
-                                <th>支付宝姓名</th>
-                                <th>支付宝账号</th>
-                                <th>状态</th>
-                                <th>备注</th>
+                <div id="postageInformation">
+                    <table class="table table-border table-bg table-bordered" >
+                        <thead>
+                        <tr>
+                            <th>邮费id</th>
+                            <th>邮费金额</th>
+                            <th>支付宝姓名</th>
+                            <th>支付宝账号</th>
+                            <th>状态</th>
+                            <th>备注</th>
+                        </tr>
+                        </thead>
+                        <tbody id="trbodyId">
+                        <#if listPostageInfo?? &&  (listPostageInfo?size > 0) >
+                            <#list listPostageInfo as postageInfo>
+                            <tr id="deleteId${(postageInfo.postageId)!''}">
+                                <td>${(postageInfo.postageId)!''}</td>
+                                <td>${(postageInfo.postageAmount)!''}</td>
+                                <td>${(postageInfo.postageAlipayName)!''}</td>
+                                <td>${(postageInfo.postageAlipay)!''}</td>
+                                <#if postageInfo.postageStatus??>
+                                    <#if postageInfo.postageStatus == 0><td>未申请</td></#if>
+                                    <#if postageInfo.postageStatus == 1><td>未申请</td></#if>
+                                    <#if postageInfo.postageStatus == 2><td>已申请(待转账)</td></#if>
+                                    <#if postageInfo.postageStatus == 3><td>已转账</td></#if>
+                                    <#if postageInfo.postageStatus == 4><td>未知</td></#if>
+                                <#else>
+                                    <td></td>
+                                </#if>
+                                <td>${postageInfo.postageDesc!''}</td>
                             </tr>
-                            </thead>
-                            <tbody id="trbodyId">
-                            <#if listPostageInfo?? &&  (listPostageInfo?size > 0) >
-                                <#list listPostageInfo as postageInfo>
-                                <tr id="deleteId${(postageInfo.postageId)!''}">
-                                    <td>${(postageInfo.postageId)!''}</td>
-                                    <td>${(postageInfo.postageAmount)!''}</td>
-                                    <td>${(postageInfo.postageAlipayName)!''}</td>
-                                    <td>${(postageInfo.postageAlipay)!''}</td>
-                                    <#if postageInfo.postageStatus??>
-                                        <#if postageInfo.postageStatus == 0><td>未申请</td></#if>
-                                        <#if postageInfo.postageStatus == 1><td>未申请</td></#if>
-                                        <#if postageInfo.postageStatus == 2><td>已申请(待转账)</td></#if>
-                                        <#if postageInfo.postageStatus == 3><td>已转账</td></#if>
-                                        <#if postageInfo.postageStatus == 4><td>未知</td></#if>
-                                    <#else>
-                                        <td></td>
-                                    </#if>
-                                    <td>${postageInfo.postageDesc!''}</td>
-                                </tr>
-                                </#list>
-                            <#else>
-                            <tr id="colspanId"><td colspan="7" class="td-manage text-c" >暂时没有邮费信息!</td></tr>
-                            </#if>
-                            </tbody>
-                        </table>
-                    </div>
+                            </#list>
+                        <#else>
+                        <tr id="colspanId"><td colspan="7" class="td-manage text-c" >暂时没有邮费信息!</td></tr>
+                        </#if>
+                        </tbody>
+                    </table>
                 </div>
             </div>
             <div <#if procMethod.procMethodIsSend == 1>class="tabCon"</#if>style="display: none;">