|
@@ -79,17 +79,27 @@
|
|
|
<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="customerSourceType"></span></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>
|
|
|
+ <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>
|
|
|
+ <th width="10">来源描述:</th>
|
|
|
+ <td width="10" style="font-weight: normal;"><span id="customerSource"></span></td>
|
|
|
+ </tr>
|
|
|
</thead>
|
|
|
</table>
|
|
|
|
|
@@ -102,24 +112,16 @@
|
|
|
</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="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="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>
|
|
@@ -135,72 +137,92 @@
|
|
|
<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="customerOutDamaged"></span></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>
|
|
|
</thead>
|
|
|
</table>
|
|
|
+
|
|
|
+ <div class="row cl">
|
|
|
+ <label class="form-label col-3">
|
|
|
+ <div class="tit-2">TDS收集</div>
|
|
|
+ </label>
|
|
|
+ <div class="formControls col-9">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<table class="table table-border table-bg table-bordered" style="margin-top: 10px;">
|
|
|
<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>
|
|
|
- </tr>
|
|
|
+ <tr>
|
|
|
+ <th width="10">所在省份:</th>
|
|
|
+ <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="customerCityName"></span></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th width="10">进水TDS:</th>
|
|
|
+ <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="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">
|
|
|
- 处理结果(<span id="customerIsSolve" style="color: red"></span>)
|
|
|
- <span id="postage" style="color: red"></span>
|
|
|
- </th>
|
|
|
+ <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 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>
|
|
@@ -210,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>-->
|
|
|
|
|
@@ -242,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="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>
|
|
|
+ </thead>
|
|
|
+ </table>
|
|
|
+
|
|
|
<div class="row cl">
|
|
|
<div class="formControls col-10 col-sm-10">
|
|
|
<table class="table table-border table-bg table-bordered" >
|
|
@@ -284,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" >
|
|
@@ -327,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>
|
|
@@ -519,46 +505,62 @@
|
|
|
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);*/
|
|
|
- var postage = '';
|
|
|
- var postageMoney = 0;
|
|
|
- if (customerCommon.relationBackPostage != null) {
|
|
|
- postageMoney = customerCommon.relationBackPostage;
|
|
|
- }
|
|
|
- switch (customerCommon.relationIsTransfer) {
|
|
|
- case 0:
|
|
|
- postage = '不需要转账。';
|
|
|
- break;
|
|
|
- case 1:
|
|
|
- postage = '已转账邮费'+postageMoney/100+'元。';
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- postage = '待转账邮费'+postageMoney/100+'元。';
|
|
|
- break;
|
|
|
- }
|
|
|
- $('#postage').html(postage);
|
|
|
- /*}*/
|
|
|
+ var postage = '';
|
|
|
+ var postageMoney = 0;
|
|
|
+ if (customerCommon.relationBackPostage != null) {
|
|
|
+ postageMoney = customerCommon.relationBackPostage;
|
|
|
+ }
|
|
|
+ switch (customerCommon.relationIsTransfer) {
|
|
|
+ case 0:
|
|
|
+ postage = '不需要转账。';
|
|
|
+ break;
|
|
|
+ case 1:
|
|
|
+ postage = '已转账邮费'+postageMoney/100+'元。';
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ postage = '待转账邮费'+postageMoney/100+'元。';
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ $('#postage').html(postage);
|
|
|
|
|
|
$('#adminName').html(customer.adminName);
|
|
|
var customerSource = '';
|
|
|
switch (customer.customerSourceType) {
|
|
|
case 1:customerSource = '400电话';break;
|
|
|
case 2:customerSource = '微信公众号';break;
|
|
|
- case 3:customerSource = customer.customerSource;break;
|
|
|
+ case 3:customerSource = '其他';break;
|
|
|
case 4:customerSource = "QQ群";break;
|
|
|
case 5:customerSource = "微信群";break;
|
|
|
case 6:customerSource = "个人微信";break;
|
|
|
case 7:customerSource = "有赞";break;
|
|
|
}
|
|
|
$('#customerSourceType').html(customerSource);
|
|
|
+ $('#customerSource').html(customer.customerSource);
|
|
|
+
|
|
|
var customerCounsel = '';
|
|
|
switch (customer.customerCounselType) {
|
|
|
case 1:customerCounsel = '售前咨询';break;
|
|
|
case 2:customerCounsel = '售后咨询';break;
|
|
|
case 3:customerCounsel = '其他';break;
|
|
|
}
|
|
|
+
|
|
|
+ var customerOutDamagedHtml = '';
|
|
|
+ if(customer.customerOutDamaged == 1){
|
|
|
+ customerOutDamagedHtml = '是';
|
|
|
+ }else{
|
|
|
+ customerOutDamagedHtml = '否';
|
|
|
+ }
|
|
|
+ $("#customerOutDamaged").html(customerOutDamagedHtml);
|
|
|
+
|
|
|
+ var customerSecondaryCustomerHtml = '';
|
|
|
+ if(customer.customerSecondaryCustomer == 1){
|
|
|
+ customerSecondaryCustomerHtml = '是';
|
|
|
+ }else{
|
|
|
+ customerSecondaryCustomerHtml = '否';
|
|
|
+ }
|
|
|
+ $("#customerSecondaryCustomer").html(customerSecondaryCustomerHtml);
|
|
|
+
|
|
|
+ $("#procMethodName").html(cmRelation.procTypeName + "(" + cmRelation.procMethodName +")");
|
|
|
$('#customerCounselType').html(customerCounsel);
|
|
|
$('#typeName').html(customer.typeName);
|
|
|
$('#describeTitle').html(customer.describeTitle);
|
|
@@ -575,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 = "";
|
|
@@ -600,6 +606,10 @@
|
|
|
$("#tableHtml").hide();
|
|
|
}
|
|
|
|
|
|
+ $("#relationBackName").html(cmRelation.relationBackName);
|
|
|
+ $("#relationBackTel").html(cmRelation.relationBackTel);
|
|
|
+ $("#relationSendAddress").html(cmRelation.relationSendMergeAddress + " " +cmRelation.relationSendAddress);
|
|
|
+
|
|
|
// $('#salesOrderId').html(salesOrder.salesOrderId);
|
|
|
// $('#salesAddressName').html(salesOrder.salesAddressName);
|
|
|
// $('#salesAddressTel').html(salesOrder.salesAddressTel);
|
|
@@ -610,31 +620,31 @@
|
|
|
// })
|
|
|
// $('#salesItem').html(salesItem);
|
|
|
// $('#salesPayTime').html(salesOrder.salesPayTime);
|
|
|
- $('#relationSendMergeAddress').html( convertUndefinedToEmpty(cmRelation.relationSendMergeAddress)+"-"+convertUndefinedToEmpty(cmRelation.relationSendAddress));
|
|
|
- $('#describeHandleDesc').html(customer.describeHandleDesc);
|
|
|
+// $('#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 (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 {
|
|
@@ -649,8 +659,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 = '';
|
|
@@ -905,25 +913,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){
|