|
@@ -148,10 +148,11 @@
|
|
|
</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>
|
|
|
+ <div class="formControls col-7 col-sm-7">
|
|
|
+ <div class="update-parts" id="closeprodcue"></div><br/>
|
|
|
<!--TDS收集-->
|
|
|
<label id="customerTDS"></label>
|
|
|
+ <div style="border-bottom:#ddd 1px solid; overflow:hidden"></div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
@@ -164,21 +165,20 @@
|
|
|
</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 class="formControls col-7 col-sm-7">
|
|
|
+ <div class="update-parts" id="sendprodcue"></div>
|
|
|
</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">
|
|
|
- <textarea id="describeHandleDesc" cols="" rows="2" class="textarea" placeholder="说点什么..."></textarea>
|
|
|
+ <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-5 col-sm-5">
|
|
|
+ <div class="formControls col-7 col-sm-7">
|
|
|
<label id="txtVisit"></label>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -289,26 +289,26 @@
|
|
|
$('#salesItem').html(salesItem);
|
|
|
$('#salesPayTime').html(salesOrder.salesPayTime);
|
|
|
$('#relationSendMergeAddress').html(customerCommon.relationSendMergeAddress+"-"+customerCommon.relationSendAddress);
|
|
|
- $('#describeHandleDesc').val(customer.describeHandleDesc);
|
|
|
+ $('#describeHandleDesc').html(customer.describeHandleDesc);
|
|
|
|
|
|
if (customerCommon.sendProdcues != null && customerCommon.sendProdcues.length > 0) {
|
|
|
$.each(customerCommon.sendProdcues,function(index,item){
|
|
|
- sendprodcue += this.sendProduceName + '*' + this.sendProdcueNumber
|
|
|
+ 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 += this.sendProductName + '*' + this.sendFittingNumber
|
|
|
+ sendprodcue += '<span style="margin-bottom: 10px;display: inline-block;float: left;">' + this.sendProductName + '*' + this.sendFittingNumber + '</span>';
|
|
|
})
|
|
|
}
|
|
|
if (customerCommon.closedProdcues != null && customerCommon.closedProdcues.length > 0) {
|
|
|
$.each(customerCommon.closedProdcues,function(index,item){
|
|
|
- closeprodcue += this.closedProductName + '*' + this.closedProdcueNumber
|
|
|
+ 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 += this.fittingName + '*' + this.closedFittingNumber
|
|
|
+ closeprodcue += '<span style="margin-bottom: 10px;display: inline-block;float: left;">' + this.fittingName + '*' + this.closedFittingNumber + '</span>';
|
|
|
})
|
|
|
}
|
|
|
$('#sendprodcue').html(sendprodcue+"<br/>");
|
|
@@ -323,7 +323,7 @@
|
|
|
} else {
|
|
|
$('#divCloseProdcue').hide();
|
|
|
}
|
|
|
- $('#customerTDS').html("TDS收集:"+customerCommon.relationSendMergeAddress+",进水"+
|
|
|
+ $('#customerTDS').html("<strong>TDS收集:</strong>"+customerCommon.relationSendMergeAddress+",进水"+
|
|
|
(customer.customerInTDS==undefined?0:customer.customerInTDS)+"ppm"+",出水"+(customer.customerOutTDS==undefined?0:customer.customerOutTDS)+"ppm");
|
|
|
|
|
|
if (customer.customerIsVisit == '2') {
|
|
@@ -333,9 +333,12 @@
|
|
|
case 2:visitTime = '12:00-14:00';break;
|
|
|
case 3:visitTime = '14:00-18:00';break;
|
|
|
}
|
|
|
- $('#txtVisit').html("("+customer.visitName+") "+"在 "+customer.visitDate+
|
|
|
- " "+visitTime+"对 "+customer.visitCompleteName+" "+
|
|
|
- customer.visitCompleteTel+" 完成回访");
|
|
|
+ var visitText = '(<span class="txt-red">'+convertUndefinedToEmpty(customer.visitName)+'</span>) '+
|
|
|
+ '在 <span class="txt-red">'+convertUndefinedToEmpty(customer.visitDate)+
|
|
|
+ ' '+convertUndefinedToEmpty(visitTime)+'</span>对 <span class="txt-red">'+
|
|
|
+ convertUndefinedToEmpty(customer.visitCompleteName)+' '+
|
|
|
+ convertUndefinedToEmpty(customer.visitCompleteTel)+'</span> 完成回访';
|
|
|
+ $('#txtVisit').html(visitText);
|
|
|
}
|
|
|
}
|
|
|
},
|