...
|
...
|
@@ -40,11 +40,11 @@ const btnMap = { |
|
|
},
|
|
|
{
|
|
|
name: '取消订单',
|
|
|
classStr: 'btn white cancel-btn'
|
|
|
classStr: 'btn white cancel-btn mr'
|
|
|
},
|
|
|
{
|
|
|
name: '修改订单',
|
|
|
classStr: 'btn white edit-btn mr'
|
|
|
classStr: 'btn white edit-btn'
|
|
|
}
|
|
|
],
|
|
|
cancel: [
|
...
|
...
|
@@ -322,7 +322,9 @@ const _getUserOrder = (uid, type, page) => { |
|
|
|
|
|
item.refundUrl = helpers.urlFormat('/me/return/refund/' + item.orderCode);
|
|
|
item.exchangeUrl = helpers.urlFormat('/me/return/exchange/' + item.orderCode);
|
|
|
item.detailUrl = helpers.urlFormat('/me/order/detail/' + item.orderCode);
|
|
|
item.detailUrl = helpers.urlFormat('/me/order/detail/', {
|
|
|
code: item.orderCode
|
|
|
});
|
|
|
});
|
|
|
|
|
|
return {
|
...
|
...
|
@@ -519,8 +521,11 @@ const getOrderDetail = (uid, code) => { |
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
if (detail.invoice) {
|
|
|
detail.invoice.typeText = invoiceText[detail.invoice.type];
|
|
|
} else {
|
|
|
detail.invoice = false;
|
|
|
}
|
|
|
|
|
|
detail.paymentTypeStr = paymentTypeStr[detail.paymentType];
|
...
|
...
|
|