|
@@ -193,7 +193,7 @@
|
|
处理结果(<span id="customerIsSolve" style="color: red"></span>)
|
|
处理结果(<span id="customerIsSolve" style="color: red"></span>)
|
|
<span id="postage" style="color: red"></span>
|
|
<span id="postage" style="color: red"></span>
|
|
</th>
|
|
</th>
|
|
- <th width="40" style="font-weight: normal;">
|
|
|
|
|
|
+ <#--<th width="40" style="font-weight: normal;">
|
|
<div class="row cl">
|
|
<div class="row cl">
|
|
<label class="form-label col-1 col-sm-1"></label>
|
|
<label class="form-label col-1 col-sm-1"></label>
|
|
<div class="formControls col-10 col-sm-10">
|
|
<div class="formControls col-10 col-sm-10">
|
|
@@ -202,7 +202,7 @@
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </th>
|
|
|
|
|
|
+ </th>-->
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
</table>
|
|
</table>
|
|
@@ -231,49 +231,7 @@
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
</table>
|
|
</table>
|
|
- <#--<div id="div_costomer" style="display: none;">
|
|
|
|
- <div class="row cl" id="divCloseProdcue">
|
|
|
|
- <label class="form-label col-1 col-sm-1">寄回产品:</label>
|
|
|
|
- <div class="formControls col-7 col-sm-7">
|
|
|
|
- <div class="update-parts" id="closeprodcue"></div><br/>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- </div>
|
|
|
|
- <div class="row cl" style="margin-top: 0px;">
|
|
|
|
- <label class="form-label col-1 col-sm-1"></label>
|
|
|
|
- <div class="formControls col-5 col-sm-5">
|
|
|
|
- <!--TDS收集–>
|
|
|
|
- <label id="customerTDS"></label>
|
|
|
|
- <div style="border-bottom:#ddd 1px solid; overflow:hidden"></div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- </div>
|
|
|
|
- <div class="row cl" id="sendMergeAddressDiv">
|
|
|
|
- <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-7 col-sm-7">
|
|
|
|
- <div class="update-parts" id="sendprodcue"></div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
|
|
- <div class="row cl" style="display: none">
|
|
|
|
- <label class="form-label col-1 col-sm-1">客服备注:</label>
|
|
|
|
- <div class="formControls col-7 col-sm-7" id="describeHandleDesc" style="border: 1px solid #ddd;">
|
|
|
|
- </div>
|
|
|
|
- </div>--><#--
|
|
|
|
- <div class="row cl">
|
|
|
|
- <label class="form-label col-1 col-sm-1">回访信息:</label>
|
|
|
|
- <div class="formControls col-7 col-sm-7">
|
|
|
|
- <label id="txtVisit"></label>
|
|
|
|
- </div>
|
|
|
|
- </div>-->
|
|
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</article>
|
|
@@ -334,10 +292,12 @@
|
|
var customerCommon = data.returnMsg.customerCommon;
|
|
var customerCommon = data.returnMsg.customerCommon;
|
|
var salesOrder = data.returnMsg.salesOrder;
|
|
var salesOrder = data.returnMsg.salesOrder;
|
|
var orderList = data.returnMsg.orderList;
|
|
var orderList = data.returnMsg.orderList;
|
|
|
|
+ var cmRelation = data.returnMsg.cmRelation;
|
|
|
|
+ var procMethod = data.returnMsg.procMethod;
|
|
|
|
|
|
- if (customer.customerIsSolve != 1 && customer.customerIsSolve != 2) {
|
|
|
|
- resultshow(customer.customerIsSolve, customerCommon.relationBackStatus,customerCommon.relationSendStatus,
|
|
|
|
- customerCommon.maintenanceIsRepair,customerCommon.detectState);
|
|
|
|
|
|
+ /*if (customer.customerIsSolve != 1 && customer.customerIsSolve != 2) {*/
|
|
|
|
+ /*resultshow(customer.customerIsSolve, customerCommon.relationBackStatus,customerCommon.relationSendStatus,
|
|
|
|
+ customerCommon.maintenanceIsRepair,customerCommon.detectState);*/
|
|
var postage = '';
|
|
var postage = '';
|
|
var postageMoney = 0;
|
|
var postageMoney = 0;
|
|
if (customerCommon.relationBackPostage != null) {
|
|
if (customerCommon.relationBackPostage != null) {
|
|
@@ -355,7 +315,7 @@
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
$('#postage').html(postage);
|
|
$('#postage').html(postage);
|
|
- }
|
|
|
|
|
|
+ /*}*/
|
|
|
|
|
|
$('#adminName').html(customer.adminName);
|
|
$('#adminName').html(customer.adminName);
|
|
var customerSource = '';
|
|
var customerSource = '';
|
|
@@ -363,6 +323,10 @@
|
|
case 1:customerSource = '400电话';break;
|
|
case 1:customerSource = '400电话';break;
|
|
case 2:customerSource = '微信公众号';break;
|
|
case 2:customerSource = '微信公众号';break;
|
|
case 3:customerSource = customer.customerSource;break;
|
|
case 3:customerSource = customer.customerSource;break;
|
|
|
|
+ case 4:customerSource = "QQ群";break;
|
|
|
|
+ case 5:customerSource = "微信群";break;
|
|
|
|
+ case 6:customerSource = "个人微信";break;
|
|
|
|
+ case 7:customerSource = "有赞";break;
|
|
}
|
|
}
|
|
$('#customerSourceType').html(customerSource);
|
|
$('#customerSourceType').html(customerSource);
|
|
var customerCounsel = '';
|
|
var customerCounsel = '';
|
|
@@ -384,22 +348,8 @@
|
|
$('#customerName').html(customer.customerName);
|
|
$('#customerName').html(customer.customerName);
|
|
$('#customerTel').html(customer.customerTel);
|
|
$('#customerTel').html(customer.customerTel);
|
|
$('#customerWechatName').html(customer.customerWechatName);
|
|
$('#customerWechatName').html(customer.customerWechatName);
|
|
- var txtcustomerIsSolve = '';
|
|
|
|
- switch (customer.customerIsSolve) {
|
|
|
|
- case 1:txtcustomerIsSolve = '已解决';break;
|
|
|
|
- case 2:txtcustomerIsSolve = '未解决';break;
|
|
|
|
- case 3:txtcustomerIsSolve = '换新';break;
|
|
|
|
- case 4:txtcustomerIsSolve = '维修';break;
|
|
|
|
- case 5:txtcustomerIsSolve = '补发';break;
|
|
|
|
- case 6:
|
|
|
|
- $('#sendMergeAddressDiv').hide();
|
|
|
|
- txtcustomerIsSolve = '退货';
|
|
|
|
- break;
|
|
|
|
- case 7:
|
|
|
|
- $('#sendMergeAddressDiv').hide();
|
|
|
|
- txtcustomerIsSolve = '无理由退货';
|
|
|
|
- break;
|
|
|
|
- }
|
|
|
|
|
|
+ var txtcustomerIsSolve = procMethod.procMethodName;
|
|
|
|
+
|
|
$('#customerIsSolve').html(txtcustomerIsSolve);
|
|
$('#customerIsSolve').html(txtcustomerIsSolve);
|
|
// $('#companyName').html(convertUndefinedToEmpty(customer.companyName)+"-"+convertUndefinedToEmpty(customer.storeName));
|
|
// $('#companyName').html(convertUndefinedToEmpty(customer.companyName)+"-"+convertUndefinedToEmpty(customer.storeName));
|
|
|
|
|
|
@@ -436,7 +386,7 @@
|
|
// })
|
|
// })
|
|
// $('#salesItem').html(salesItem);
|
|
// $('#salesItem').html(salesItem);
|
|
// $('#salesPayTime').html(salesOrder.salesPayTime);
|
|
// $('#salesPayTime').html(salesOrder.salesPayTime);
|
|
- $('#relationSendMergeAddress').html( convertUndefinedToEmpty(customerCommon.relationSendMergeAddress)+"-"+convertUndefinedToEmpty(customerCommon.relationSendAddress));
|
|
|
|
|
|
+ $('#relationSendMergeAddress').html( convertUndefinedToEmpty(cmRelation.relationSendMergeAddress)+"-"+convertUndefinedToEmpty(cmRelation.relationSendAddress));
|
|
$('#describeHandleDesc').html(customer.describeHandleDesc);
|
|
$('#describeHandleDesc').html(customer.describeHandleDesc);
|
|
|
|
|
|
if (customerCommon.sendProdcues != null && customerCommon.sendProdcues.length > 0) {
|
|
if (customerCommon.sendProdcues != null && customerCommon.sendProdcues.length > 0) {
|