Showing
3 changed files
with
17 additions
and
6 deletions
@@ -252,7 +252,11 @@ var g = new common.grid({ | @@ -252,7 +252,11 @@ var g = new common.grid({ | ||
252 | //待审核和驳回列表中只显示吊牌价和销售价,通过的列表中显示 | 252 | //待审核和驳回列表中只显示吊牌价和销售价,通过的列表中显示 |
253 | if (item.isAuditing === 200) { | 253 | if (item.isAuditing === 200) { |
254 | html.push("<p>是否VIP:" + YNEnum.enum[item.isVip] + "</p>"); | 254 | html.push("<p>是否VIP:" + YNEnum.enum[item.isVip] + "</p>"); |
255 | - html.push("<p>反yoho币金额:" + item.productPrice.returnCoin + "</p>"); | 255 | + if(item.productPrice.returnCoinMoney){ |
256 | + html.push("<p>反yoho币金额:" + item.productPrice.returnCoinMoney + "</p>"); | ||
257 | + }else{ | ||
258 | + html.push("<p>反yoho币金额:0</p>"); | ||
259 | + } | ||
256 | } | 260 | } |
257 | return html.join(''); | 261 | return html.join(''); |
258 | } | 262 | } |
@@ -135,10 +135,17 @@ var g = new common.grid({ | @@ -135,10 +135,17 @@ var g = new common.grid({ | ||
135 | var vip = ENUM.isVIP[item.isVIP] ? ENUM.isVIP[item.isVIP] : '', | 135 | var vip = ENUM.isVIP[item.isVIP] ? ENUM.isVIP[item.isVIP] : '', |
136 | retailPrice = item.retailPrice ? item.retailPrice : '', | 136 | retailPrice = item.retailPrice ? item.retailPrice : '', |
137 | salesPrice = item.salesPrice ? item.salesPrice : ''; | 137 | salesPrice = item.salesPrice ? item.salesPrice : ''; |
138 | - return '<p><strong>吊牌价:</strong>' + retailPrice + '</p>' + | 138 | + |
139 | + var html = '<p><strong>吊牌价:</strong>' + retailPrice + '</p>' + | ||
139 | '<p><strong>销售价:</strong>' + salesPrice + '</p>' + | 140 | '<p><strong>销售价:</strong>' + salesPrice + '</p>' + |
140 | - '<p><strong>是否VIP:</strong>' + vip + '</p>'+ | ||
141 | - '<p><strong>反yoho币金额:</strong>' + item.returnCoin + '</p>'; | 141 | + '<p><strong>是否VIP:</strong>' + vip + '</p>'; |
142 | + | ||
143 | + if(item.returnCoinMoney){ | ||
144 | + html += "<p><strong>反yoho币金额:</strong>" + item.returnCoinMoney + "</p>"; | ||
145 | + }else{ | ||
146 | + html += "<p><strong>反yoho币金额:</strong>0</p>"; | ||
147 | + } | ||
148 | + return html; | ||
142 | } | 149 | } |
143 | }, { | 150 | }, { |
144 | display: '库存', | 151 | display: '库存', |
@@ -109,9 +109,9 @@ var COLUMNS = { | @@ -109,9 +109,9 @@ var COLUMNS = { | ||
109 | return item.productPrice.needAuditCoin; | 109 | return item.productPrice.needAuditCoin; |
110 | }}, | 110 | }}, |
111 | {display: '状态', name: 'status', render: function(item) { | 111 | {display: '状态', name: 'status', render: function(item) { |
112 | - var html = ENUM.status[item.productPrice.coinStatus]+"<br>"; | 112 | + var html = "<div>" + ENUM.status[item.productPrice.coinStatus] + "</div>"; |
113 | if(item.productPrice.coinStatus == 3){ | 113 | if(item.productPrice.coinStatus == 3){ |
114 | - html += '<a class="noCheckReason" href="javascript:" data-text="'+ item.productPrice.comment +'" style="color: #ec971f;text-decoration: underline">驳回理由</a>'; | 114 | + html += '<a class="noCheckReason" href="javascript:" data-text="'+ item.productPrice.comment +'" style="color: #ec971f;text-decoration: underline;margin:0">驳回理由</a>'; |
115 | } | 115 | } |
116 | return html; | 116 | return html; |
117 | }}, | 117 | }}, |
-
Please register or login to post a comment