'退换货详情单价显示last_price字段'
Showing
3 changed files
with
7 additions
and
9 deletions
@@ -211,8 +211,7 @@ const getOrderRefund = (orderCode, uid) => { | @@ -211,8 +211,7 @@ const getOrderRefund = (orderCode, uid) => { | ||
211 | name: value.product_name, | 211 | name: value.product_name, |
212 | color: value.factory_color_name, | 212 | color: value.factory_color_name, |
213 | size: value.size_name, | 213 | size: value.size_name, |
214 | - lastPrice: value.last_price, | ||
215 | - price: transPrice(value.real_pay_price), | 214 | + price: transPrice(value.last_price), |
216 | skn: value.product_skn, | 215 | skn: value.product_skn, |
217 | skc: value.product_skc, | 216 | skc: value.product_skc, |
218 | sku: value.product_sku, | 217 | sku: value.product_sku, |
@@ -547,8 +546,7 @@ const getOrderExchange = (orderCode, uid) => { | @@ -547,8 +546,7 @@ const getOrderExchange = (orderCode, uid) => { | ||
547 | name: value.product_name, | 546 | name: value.product_name, |
548 | color: value.color_name, | 547 | color: value.color_name, |
549 | size: value.size_name, | 548 | size: value.size_name, |
550 | - lastPrice: value.last_price, | ||
551 | - price: value.real_pay_price, | 549 | + price: value.last_price, |
552 | skn: value.product_skn, | 550 | skn: value.product_skn, |
553 | skc: value.product_skc, | 551 | skc: value.product_skc, |
554 | sku: value.product_sku, | 552 | sku: value.product_sku, |
@@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
33 | <input type="hidden" value="{{skn}}" name="skn"> | 33 | <input type="hidden" value="{{skn}}" name="skn"> |
34 | <input type="hidden" value="{{skc}}" name="skc"> | 34 | <input type="hidden" value="{{skc}}" name="skc"> |
35 | <input type="hidden" value="{{sku}}" name="sku"> | 35 | <input type="hidden" value="{{sku}}" name="sku"> |
36 | - <input type="hidden" value="{{lastPrice}}" name="lastPrice"> | 36 | + <input type="hidden" value="{{price}}" name="price"> |
37 | <input type="hidden" value="{{goods_type_id}}" name="typeid"> | 37 | <input type="hidden" value="{{goods_type_id}}" name="typeid"> |
38 | <input type="checkbox" checked="true"> | 38 | <input type="checkbox" checked="true"> |
39 | {{/unless}} | 39 | {{/unless}} |
@@ -154,7 +154,7 @@ | @@ -154,7 +154,7 @@ | ||
154 | <table id="goods-table" class="goods-list-table"> | 154 | <table id="goods-table" class="goods-list-table"> |
155 | <tr> | 155 | <tr> |
156 | <th colspan="3">请选择退货商品</th> | 156 | <th colspan="3">请选择退货商品</th> |
157 | - <th>成交价(元)</th> | 157 | + <th>单价(元)</th> |
158 | <th>退货原因</th> | 158 | <th>退货原因</th> |
159 | </tr> | 159 | </tr> |
160 | {{# goods}} | 160 | {{# goods}} |
@@ -164,7 +164,7 @@ | @@ -164,7 +164,7 @@ | ||
164 | <input type="hidden" value="{{skn}}" name="skn"> | 164 | <input type="hidden" value="{{skn}}" name="skn"> |
165 | <input type="hidden" value="{{skc}}" name="skc"> | 165 | <input type="hidden" value="{{skc}}" name="skc"> |
166 | <input type="hidden" value="{{sku}}" name="sku"> | 166 | <input type="hidden" value="{{sku}}" name="sku"> |
167 | - <input type="hidden" value="{{lastPrice}}" name="lastPrice"> | 167 | + <input type="hidden" value="{{price}}" name="price"> |
168 | <input type="hidden" value="{{goods_type_id}}" name="typeid"> | 168 | <input type="hidden" value="{{goods_type_id}}" name="typeid"> |
169 | {{#unless isLimitSkn}} | 169 | {{#unless isLimitSkn}} |
170 | <input type="checkbox" checked="true"> | 170 | <input type="checkbox" checked="true"> |
@@ -94,7 +94,7 @@ function getRefundCompute() { | @@ -94,7 +94,7 @@ function getRefundCompute() { | ||
94 | product_skc: $par.find('input[name="skc"]').val(), | 94 | product_skc: $par.find('input[name="skc"]').val(), |
95 | product_sku: $par.find('input[name="sku"]').val(), | 95 | product_sku: $par.find('input[name="sku"]').val(), |
96 | goods_type: $par.find('input[name="typeid"]').val(), | 96 | goods_type: $par.find('input[name="typeid"]').val(), |
97 | - last_price: $par.find('input[name="lastPrice"]').val() | 97 | + last_price: $par.find('input[name="price"]').val() |
98 | }; | 98 | }; |
99 | 99 | ||
100 | goods.push(goodsInfo); | 100 | goods.push(goodsInfo); |
@@ -420,7 +420,7 @@ function packGoogsList() { | @@ -420,7 +420,7 @@ function packGoogsList() { | ||
420 | product_skc: $par.find('input[name="skc"]').val(), | 420 | product_skc: $par.find('input[name="skc"]').val(), |
421 | product_sku: $par.find('input[name="sku"]').val(), | 421 | product_sku: $par.find('input[name="sku"]').val(), |
422 | goods_type: $par.find('input[name="typeid"]').val(), | 422 | goods_type: $par.find('input[name="typeid"]').val(), |
423 | - last_price: $par.find('input[name="lastPrice"]').val(), | 423 | + last_price: $par.find('input[name="price"]').val(), |
424 | reason: $par.find('.return-reason').val() * 1 | 424 | reason: $par.find('.return-reason').val() * 1 |
425 | }; | 425 | }; |
426 | 426 |
-
Please register or login to post a comment