Authored by 陶雨

Merge branch 'release/1.6' of http://git.dev.yoho.cn/platform/yohobuy-portal-fe into release/1.6

@@ -95,7 +95,7 @@ function ajaxSave(productSkn, yohoCoin, auditorId, salesPrice){ @@ -95,7 +95,7 @@ function ajaxSave(productSkn, yohoCoin, auditorId, salesPrice){
95 "auditorId": auditorId 95 "auditorId": auditorId
96 } 96 }
97 },function(rs){ 97 },function(rs){
98 - freshYohoCoinRowData(rs.data); 98 + freshYohoCoinRowData(rs.data, yohoCoin);
99 }); 99 });
100 } 100 }
101 101
@@ -228,7 +228,7 @@ function checkAuditor(auditor){ @@ -228,7 +228,7 @@ function checkAuditor(auditor){
228 } 228 }
229 229
230 //保存单行数据刷新 230 //保存单行数据刷新
231 -function freshYohoCoinRowData(data){ 231 +function freshYohoCoinRowData(data, needAuditCoin){
232 var productSkn = data.productSkn; 232 var productSkn = data.productSkn;
233 var yohoCoin = data.returnCoin; 233 var yohoCoin = data.returnCoin;
234 var status = data.coinStatus; 234 var status = data.coinStatus;
@@ -241,7 +241,7 @@ function freshYohoCoinRowData(data){ @@ -241,7 +241,7 @@ function freshYohoCoinRowData(data){
241 SknDom.find(".coinStatus").html(ENUM.status[status]); 241 SknDom.find(".coinStatus").html(ENUM.status[status]);
242 242
243 var OperatInfoHtml = "<p>操作人:"+ founderName +"</p>"; 243 var OperatInfoHtml = "<p>操作人:"+ founderName +"</p>";
244 - if(status == 1 && auditorId) OperatInfoHtml += "<p>审核人:"+ ENUM.auditor[auditorId] +"</p>"; 244 + if(status == 1 && auditorId) OperatInfoHtml += "<p>审核金额:"+ needAuditCoin +"</p><p>审核人:"+ ENUM.auditor[auditorId] +"</p>";
245 OperatInfoHtml += "<div style='color: #999; font-size: 12px'>"+ updateTime + "</div>"; 245 OperatInfoHtml += "<div style='color: #999; font-size: 12px'>"+ updateTime + "</div>";
246 SknDom.find(".OperatInfo").html(OperatInfoHtml); 246 SknDom.find(".OperatInfo").html(OperatInfoHtml);
247 247
@@ -62,7 +62,7 @@ var COLUMNS = { @@ -62,7 +62,7 @@ var COLUMNS = {
62 {display: '执行返币金额', name: 'returnCoin', render: function(item) { 62 {display: '执行返币金额', name: 'returnCoin', render: function(item) {
63 return item.productPrice.returnCoin; 63 return item.productPrice.returnCoin;
64 }}, 64 }},
65 - {display: '审核返币金额', name: 'returnCoin', render: function(item) { 65 + {display: '审核返币金额', name: 'needAuditCoin', render: function(item) {
66 return item.productPrice.needAuditCoin; 66 return item.productPrice.needAuditCoin;
67 }}, 67 }},
68 {display: '状态', name: 'status', render: function(item) { 68 {display: '状态', name: 'status', render: function(item) {
@@ -101,7 +101,10 @@ var COLUMNS = { @@ -101,7 +101,10 @@ var COLUMNS = {
101 }}, 101 }},
102 {display: '吊牌价', name: 'retailPrice'}, 102 {display: '吊牌价', name: 'retailPrice'},
103 {display: '销售价', name: 'salesPrice'}, 103 {display: '销售价', name: 'salesPrice'},
104 - {display: '审核返币金额', name: 'returnCoin', render: function(item) { 104 + {display: '执行返币金额', name: 'returnCoin', render: function(item) {
  105 + return item.productPrice.returnCoin;
  106 + }},
  107 + {display: '审核返币金额', name: 'needAuditCoin', render: function(item) {
105 return item.productPrice.needAuditCoin; 108 return item.productPrice.needAuditCoin;
106 }}, 109 }},
107 {display: '状态', name: 'status', render: function(item) { 110 {display: '状态', name: 'status', render: function(item) {
@@ -244,7 +244,7 @@ @@ -244,7 +244,7 @@
244 </td> 244 </td>
245 <td class="left OperatInfo" style="width: 12%"> 245 <td class="left OperatInfo" style="width: 12%">
246 [[if productPrice.founderName]]<p>操作人:[[productPrice.founderName]]</p>[[/if]] 246 [[if productPrice.founderName]]<p>操作人:[[productPrice.founderName]]</p>[[/if]]
247 - [[if productPrice.coinStatus == 1 && productPrice.auditorId]]<p>审核人:[[auditorName]]</p>[[/if]] 247 + [[if productPrice.coinStatus == 1 && productPrice.auditorId]]<p>审核金额:[[productPrice.needAuditCoin]]</p><p>审核人:[[auditorName]]</p>[[/if]]
248 [[if productPrice.auditDt]]<div style="color: #999; font-size: 12px;">[[updateTime]]</div>[[/if]] 248 [[if productPrice.auditDt]]<div style="color: #999; font-size: 12px;">[[updateTime]]</div>[[/if]]
249 </td> 249 </td>
250 <td class="operation" style="width: 5%"> 250 <td class="operation" style="width: 5%">