...
|
...
|
@@ -68,8 +68,8 @@ const btnMap = { |
|
|
};
|
|
|
|
|
|
const invoiceText = {
|
|
|
1: '纸质',
|
|
|
2: '电子'
|
|
|
1: '纸质发票',
|
|
|
2: '电子发票'
|
|
|
};
|
|
|
|
|
|
|
...
|
...
|
@@ -525,7 +525,7 @@ const getOrderDetail = (uid, code) => { |
|
|
_.forEach(detail.btns, btn => {
|
|
|
if (btn.isPayBtn) {
|
|
|
btn.payUrl = helpers.urlFormat('/shopping/pay/online', {
|
|
|
code: detail.orderCode
|
|
|
code: detail.order_code
|
|
|
});
|
|
|
}
|
|
|
});
|
...
|
...
|
@@ -548,6 +548,7 @@ const getOrderDetail = (uid, code) => { |
|
|
|
|
|
if (detail.invoice) {
|
|
|
detail.invoice.typeText = invoiceText[detail.invoice.type];
|
|
|
detail.invoice.pdfUrl = detail.invoice.showInvoice && detail.invoice.pdfUrl ? detail.invoice.pdfUrl : '';
|
|
|
} else {
|
|
|
detail.invoice = false;
|
|
|
}
|
...
|
...
|
|