feat: 发票未生成提示信息
This commit is contained in:
@@ -49,7 +49,7 @@ export default {
|
|||||||
enterNewPassword: 'Enter a new password for<br/><span>{email}</span>',
|
enterNewPassword: 'Enter a new password for<br/><span>{email}</span>',
|
||||||
passwordsDoNotMatch: 'Passwords do not match',
|
passwordsDoNotMatch: 'Passwords do not match',
|
||||||
logOffTip: 'Are you sure to log off?',
|
logOffTip: 'Are you sure to log off?',
|
||||||
pleaseLogTip: 'Please log in and try again.',
|
pleaseLogTip: 'Please log in and try again.'
|
||||||
},
|
},
|
||||||
RegisterSuccess: {
|
RegisterSuccess: {
|
||||||
title1: 'Welcome to Stylish Parade!',
|
title1: 'Welcome to Stylish Parade!',
|
||||||
@@ -218,7 +218,8 @@ export default {
|
|||||||
invoice: 'Invoice',
|
invoice: 'Invoice',
|
||||||
completePayment: 'Complete Payment',
|
completePayment: 'Complete Payment',
|
||||||
buyAgain: 'Buy Again'
|
buyAgain: 'Buy Again'
|
||||||
}
|
},
|
||||||
|
invoiceMessage: 'Invoice is being prepared. Please refresh later.'
|
||||||
},
|
},
|
||||||
empty: {
|
empty: {
|
||||||
title: 'Nothing in Wardrobe yet',
|
title: 'Nothing in Wardrobe yet',
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ export default {
|
|||||||
enterNewPassword: '请输入新密码<br/><span>{email}</span>',
|
enterNewPassword: '请输入新密码<br/><span>{email}</span>',
|
||||||
passwordsDoNotMatch: '两次输入密码不一致',
|
passwordsDoNotMatch: '两次输入密码不一致',
|
||||||
logOffTip: '确定退出登录吗?',
|
logOffTip: '确定退出登录吗?',
|
||||||
pleaseLogTip: '请重新登录并重试。',
|
pleaseLogTip: '请重新登录并重试。'
|
||||||
},
|
},
|
||||||
RegisterSuccess: {
|
RegisterSuccess: {
|
||||||
title1: '欢迎来到 Stylish Parade!',
|
title1: '欢迎来到 Stylish Parade!',
|
||||||
@@ -213,7 +213,8 @@ export default {
|
|||||||
invoice: '发票',
|
invoice: '发票',
|
||||||
completePayment: '完成付款',
|
completePayment: '完成付款',
|
||||||
buyAgain: '再次购买'
|
buyAgain: '再次购买'
|
||||||
}
|
},
|
||||||
|
invoiceMessage: '发票生成中,请稍后刷新页面查看。'
|
||||||
},
|
},
|
||||||
empty: {
|
empty: {
|
||||||
title: '衣橱暂无内容',
|
title: '衣橱暂无内容',
|
||||||
|
|||||||
@@ -283,6 +283,10 @@
|
|||||||
const handleClickAction = (order) => {
|
const handleClickAction = (order) => {
|
||||||
if (order.status === 1) {
|
if (order.status === 1) {
|
||||||
// 已支付,查看发票
|
// 已支付,查看发票
|
||||||
|
if (!order.hostedInvoiceUrl) {
|
||||||
|
ElMessage.primary(t('Wardrobe.orders.invoiceMessage'))
|
||||||
|
return
|
||||||
|
}
|
||||||
window.open(order.hostedInvoiceUrl, '_blank')
|
window.open(order.hostedInvoiceUrl, '_blank')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user