|
@@ -104,67 +104,70 @@
|
|
|
<div class="formControls col-10 col-sm-10">
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="row cl">
|
|
|
- <label class="form-label col-1 col-sm-1"></label>
|
|
|
- <div class="formControls col-10 col-sm-10">
|
|
|
- <ul class="time-line-list">
|
|
|
- <!--<li id="li-1"><span class="arrow"></span><div id="number-1" class="number">1</div><div id="txt-1">录入客诉</div></li>
|
|
|
- <li id="li-2"><span class="arrow"></span><div id="number-2" class="number">2</div><div id="txt-2">督促用户寄回</div></li>
|
|
|
- <li id="li-3"><span class="arrow"></span><div id="number-3" class="number">3</div><div id="txt-3">录入快递单号</div></li>
|
|
|
- <li id="li-4"><span class="arrow"></span><div id="number-4" class="number">4</div><div id="txt-4">仓库收货</div></li>
|
|
|
- <li id="li-5"><span class="arrow"></span><div id="number-5" class="number">5</div><div id="txt-5">换新发货</div></li>
|
|
|
- <li id="li-6"><span class="arrow"></span><div id="number-6" class="number">6</div><div id="txt-6">发货通知用户</div></li>
|
|
|
- <li id="li-7"><span class="arrow"></span><div id="number-7" class="number">7</div><div id="txt-7">收货后回访</div></li>-->
|
|
|
- </ul>
|
|
|
+ <div id="div_costomer" style="display: none;">
|
|
|
+ <div class="row cl">
|
|
|
+ <label class="form-label col-1 col-sm-1"></label>
|
|
|
+ <div class="formControls col-10 col-sm-10">
|
|
|
+ <ul class="time-line-list">
|
|
|
+ <!--<li id="li-1"><span class="arrow"></span><div id="number-1" class="number">1</div><div id="txt-1">录入客诉</div></li>
|
|
|
+ <li id="li-2"><span class="arrow"></span><div id="number-2" class="number">2</div><div id="txt-2">督促用户寄回</div></li>
|
|
|
+ <li id="li-3"><span class="arrow"></span><div id="number-3" class="number">3</div><div id="txt-3">录入快递单号</div></li>
|
|
|
+ <li id="li-4"><span class="arrow"></span><div id="number-4" class="number">4</div><div id="txt-4">仓库收货</div></li>
|
|
|
+ <li id="li-5"><span class="arrow"></span><div id="number-5" class="number">5</div><div id="txt-5">换新发货</div></li>
|
|
|
+ <li id="li-6"><span class="arrow"></span><div id="number-6" class="number">6</div><div id="txt-6">发货通知用户</div></li>
|
|
|
+ <li id="li-7"><span class="arrow"></span><div id="number-7" class="number">7</div><div id="txt-7">收货后回访</div></li>-->
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="row cl">
|
|
|
- <label class="form-label col-1 col-sm-1">订单信息</label>
|
|
|
- <div class="formControls col-7 col-sm-7 text-c">
|
|
|
- <table class="table table-border table-bg table-bordered">
|
|
|
- <tr>
|
|
|
- <th>销售</th>
|
|
|
- <th>订单号</th>
|
|
|
- <th>姓名</th>
|
|
|
- <th>电话</th>
|
|
|
- <th>订单金额</th>
|
|
|
- <th>购买产品</th>
|
|
|
- <th>购买日期</th>
|
|
|
- </tr>
|
|
|
- <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>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="row cl" id="divCloseProdcue">
|
|
|
- <label class="form-label col-1 col-sm-1">寄回产品:</label>
|
|
|
- <div class="formControls col-5 col-sm-5">
|
|
|
- <label id="closeprodcue"></label>
|
|
|
- <!--TDS收集-->
|
|
|
- <label id="customerTDS"></label>
|
|
|
+ <div class="row cl">
|
|
|
+ <label class="form-label col-1 col-sm-1">订单信息</label>
|
|
|
+ <div class="formControls col-7 col-sm-7 text-c">
|
|
|
+ <table class="table table-border table-bg table-bordered">
|
|
|
+ <tr>
|
|
|
+ <th>销售</th>
|
|
|
+ <th>订单号</th>
|
|
|
+ <th>姓名</th>
|
|
|
+ <th>电话</th>
|
|
|
+ <th>订单金额</th>
|
|
|
+ <th>购买产品</th>
|
|
|
+ <th>购买日期</th>
|
|
|
+ </tr>
|
|
|
+ <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>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <div class="row cl" id="divCloseProdcue">
|
|
|
+ <label class="form-label col-1 col-sm-1">寄回产品:</label>
|
|
|
+ <div class="formControls col-5 col-sm-5">
|
|
|
+ <label id="closeprodcue"></label>
|
|
|
+ <!--TDS收集-->
|
|
|
+ <label id="customerTDS"></label>
|
|
|
+ </div>
|
|
|
|
|
|
- </div>
|
|
|
- <div class="row cl">
|
|
|
- <label class="form-label col-1 col-sm-1">收货地址:</label>
|
|
|
- <div class="formControls col-5 col-sm-5">
|
|
|
- <label id="relationSendMergeAddress"></label>
|
|
|
</div>
|
|
|
+ <div class="row cl">
|
|
|
+ <label class="form-label col-1 col-sm-1">收货地址:</label>
|
|
|
+ <div class="formControls col-5 col-sm-5">
|
|
|
+ <label id="relationSendMergeAddress"></label>
|
|
|
+ </div>
|
|
|
|
|
|
- </div>
|
|
|
- <div class="row cl" id="divSendProdcue">
|
|
|
- <label class="form-label col-1 col-sm-1">寄送产品:</label>
|
|
|
- <div class="formControls col-10 col-sm-10">
|
|
|
- <label id="sendprodcue"></label>
|
|
|
+ </div>
|
|
|
+ <div class="row cl" id="divSendProdcue">
|
|
|
+ <label class="form-label col-1 col-sm-1">寄送产品:</label>
|
|
|
+ <div class="formControls col-10 col-sm-10">
|
|
|
+ <label id="sendprodcue"></label>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="row cl">
|
|
|
<label class="form-label col-1 col-sm-1">处理描述:</label>
|
|
|
<div class="formControls col-5 col-sm-5">
|
|
@@ -214,6 +217,11 @@
|
|
|
getCustomerInfo();
|
|
|
});
|
|
|
|
|
|
+ var sendprodcue = '';
|
|
|
+ var sendprodcueshow = false; //寄送产品
|
|
|
+ var closeprodcue = '';
|
|
|
+ var closeprodcueshow = false; //寄回产品
|
|
|
+
|
|
|
/**
|
|
|
* 查询客诉基本信息
|
|
|
*/
|
|
@@ -230,6 +238,7 @@
|
|
|
var customer = data.returnMsg.customer;
|
|
|
var customerCommon = data.returnMsg.customerCommon;
|
|
|
var salesOrder = data.returnMsg.salesOrder;
|
|
|
+
|
|
|
if (customer.customerIsSolve != 1 && customer.customerIsSolve != 2) {
|
|
|
resultshow(customer.customerIsSolve, customerCommon.relationBackStatus,customerCommon.relationSendStatus,
|
|
|
customerCommon.maintenanceIsRepair,customerCommon.detectState);
|
|
@@ -279,30 +288,23 @@
|
|
|
$('#salesPayTime').html(salesOrder.salesPayTime);
|
|
|
$('#relationSendMergeAddress').html(customerCommon.relationSendMergeAddress+"-"+customerCommon.relationSendAddress);
|
|
|
$('#describeHandleDesc').val(customer.describeHandleDesc);
|
|
|
- var sendprodcue = '';
|
|
|
- var sendprodcueshow = false;
|
|
|
- var closeprodcue = '';
|
|
|
- var closeprodcueshow = false;
|
|
|
+
|
|
|
if (customerCommon.sendProdcues != null && customerCommon.sendProdcues.length > 0) {
|
|
|
- sendprodcueshow = true;
|
|
|
$.each(customerCommon.sendProdcues,function(index,item){
|
|
|
sendprodcue += this.sendProduceName + '*' + this.sendProdcueNumber
|
|
|
})
|
|
|
}
|
|
|
if (customerCommon.sendFittings != null && customerCommon.sendFittings.length > 0) {
|
|
|
- sendprodcueshow = true;
|
|
|
$.each(customerCommon.sendFittings,function(index,item){
|
|
|
sendprodcue += this.sendProductName + '*' + this.sendFittingNumber
|
|
|
})
|
|
|
}
|
|
|
if (customerCommon.closedProdcues != null && customerCommon.closedProdcues.length > 0) {
|
|
|
- closeprodcueshow = true;
|
|
|
$.each(customerCommon.closedProdcues,function(index,item){
|
|
|
closeprodcue += this.closedProductName + '*' + this.closedProdcueNumber
|
|
|
})
|
|
|
}
|
|
|
if (customerCommon.closedFittings != null && customerCommon.closedFittings.length > 0) {
|
|
|
- closeprodcueshow = true;
|
|
|
$.each(customerCommon.closedFittings,function(index,item){
|
|
|
closeprodcue += this.fittingName + '*' + this.closedFittingNumber
|
|
|
})
|
|
@@ -363,11 +365,33 @@
|
|
|
switch (customerIsSolve) {
|
|
|
case 1:result = isSolve.solved;break;
|
|
|
case 2:result = isSolve.noSolved;break;
|
|
|
- case 3:result = isSolve.renewed;break;
|
|
|
- case 4:result = isSolve.maintain;break;
|
|
|
- case 5:result = isSolve.reissue;break;
|
|
|
- case 6:result = isSolve.backGoods;break;
|
|
|
- case 7:result = isSolve.noReasonBack;break;
|
|
|
+ case 3:
|
|
|
+ result = isSolve.renewed;
|
|
|
+ $('#div_costomer').show();
|
|
|
+ sendprodcueshow = true;
|
|
|
+ closeprodcueshow = true;
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ result = isSolve.maintain;
|
|
|
+ $('#div_costomer').show();
|
|
|
+ sendprodcueshow = true;
|
|
|
+ closeprodcueshow = true;
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ result = isSolve.reissue;
|
|
|
+ $('#div_costomer').show();
|
|
|
+ sendprodcueshow = true;
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ result = isSolve.backGoods;
|
|
|
+ $('#div_costomer').show();
|
|
|
+ closeprodcueshow = true;
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ result = isSolve.noReasonBack;
|
|
|
+ $('#div_costomer').show();
|
|
|
+ closeprodcueshow = true;
|
|
|
+ break;
|
|
|
}
|
|
|
for(var i = 0;i < result.length;i++){
|
|
|
var html = statusHtml.replace("status_index",i+1);
|