Authored by 王洪广

修改退换货、订单列表

... ... @@ -80,7 +80,7 @@
this.$set('order', result.data);
genderSel = genderSel([
{
key: this.order.isSupportRefund = 'N',
key: this.order.isSupportRefund,
val: this.order.isSupportRefund === 'Y' ? '申请退货' : '<span class="overdue">申请退货(已过期限)</span>',
url: '/home/refund?orderId=' + this.order.orderCode,
disabled: this.order.isSupportRefund !== 'Y'
... ... @@ -190,7 +190,8 @@
*/
applyRefund(code) {
genderSel.show(function(item) {
console.log(item)
console.log(item);
return;
location.href = item.url;
});
}
... ...