Authored by 郝肖肖

'退换货详情单价显示last_price字段'

... ... @@ -211,8 +211,7 @@ const getOrderRefund = (orderCode, uid) => {
name: value.product_name,
color: value.factory_color_name,
size: value.size_name,
lastPrice: value.last_price,
price: transPrice(value.real_pay_price),
price: transPrice(value.last_price),
skn: value.product_skn,
skc: value.product_skc,
sku: value.product_sku,
... ... @@ -547,8 +546,7 @@ const getOrderExchange = (orderCode, uid) => {
name: value.product_name,
color: value.color_name,
size: value.size_name,
lastPrice: value.last_price,
price: value.real_pay_price,
price: value.last_price,
skn: value.product_skn,
skc: value.product_skc,
sku: value.product_sku,
... ...
... ... @@ -33,7 +33,7 @@
<input type="hidden" value="{{skn}}" name="skn">
<input type="hidden" value="{{skc}}" name="skc">
<input type="hidden" value="{{sku}}" name="sku">
<input type="hidden" value="{{lastPrice}}" name="lastPrice">
<input type="hidden" value="{{price}}" name="price">
<input type="hidden" value="{{goods_type_id}}" name="typeid">
<input type="checkbox" checked="true">
{{/unless}}
... ... @@ -154,7 +154,7 @@
<table id="goods-table" class="goods-list-table">
<tr>
<th colspan="3">请选择退货商品</th>
<th>成交价(元)</th>
<th>价(元)</th>
<th>退货原因</th>
</tr>
{{# goods}}
... ... @@ -164,7 +164,7 @@
<input type="hidden" value="{{skn}}" name="skn">
<input type="hidden" value="{{skc}}" name="skc">
<input type="hidden" value="{{sku}}" name="sku">
<input type="hidden" value="{{lastPrice}}" name="lastPrice">
<input type="hidden" value="{{price}}" name="price">
<input type="hidden" value="{{goods_type_id}}" name="typeid">
{{#unless isLimitSkn}}
<input type="checkbox" checked="true">
... ...
... ... @@ -94,7 +94,7 @@ function getRefundCompute() {
product_skc: $par.find('input[name="skc"]').val(),
product_sku: $par.find('input[name="sku"]').val(),
goods_type: $par.find('input[name="typeid"]').val(),
last_price: $par.find('input[name="lastPrice"]').val()
last_price: $par.find('input[name="price"]').val()
};
goods.push(goodsInfo);
... ... @@ -420,7 +420,7 @@ function packGoogsList() {
product_skc: $par.find('input[name="skc"]').val(),
product_sku: $par.find('input[name="sku"]').val(),
goods_type: $par.find('input[name="typeid"]').val(),
last_price: $par.find('input[name="lastPrice"]').val(),
last_price: $par.find('input[name="price"]').val(),
reason: $par.find('.return-reason').val() * 1
};
... ...