|
@@ -54,7 +54,7 @@ export default defineComponent({
|
|
|
? '&userRefundOrderId=' + props.item.userRefundOrderId
|
|
|
: ''
|
|
|
}`;
|
|
|
- console.log("🚀 ~ url:", url)
|
|
|
+ console.log('🚀 ~ url:', url);
|
|
|
postMessage({
|
|
|
api: 'openWebView',
|
|
|
content: {
|
|
@@ -174,25 +174,26 @@ export default defineComponent({
|
|
|
)
|
|
|
}}
|
|
|
</Cell>
|
|
|
- {['WAIT_PAY', 'PAYING'].includes(props.item.status) && (
|
|
|
- <div class={styles.btns}>
|
|
|
- <Button
|
|
|
- style={{ margin: '0 11px 0 auto' }}
|
|
|
- round
|
|
|
- size="small"
|
|
|
- loading={data.cancelOrderLoading}
|
|
|
- onClick={() => handleCancelOrder()}>
|
|
|
- 取消领取
|
|
|
- </Button>
|
|
|
- <Button
|
|
|
- round
|
|
|
- size="small"
|
|
|
- loading={data.confirmLoading}
|
|
|
- onClick={() => onConfirmOrder()}>
|
|
|
- 继续领取
|
|
|
- </Button>
|
|
|
- </div>
|
|
|
- )}
|
|
|
+ {['WAIT_PAY', 'PAYING'].includes(props.item.status) &&
|
|
|
+ props.item.orderType !== 'SCHOOL_REGISTER' && (
|
|
|
+ <div class={styles.btns}>
|
|
|
+ <Button
|
|
|
+ style={{ margin: '0 11px 0 auto' }}
|
|
|
+ round
|
|
|
+ size="small"
|
|
|
+ loading={data.cancelOrderLoading}
|
|
|
+ onClick={() => handleCancelOrder()}>
|
|
|
+ 取消领取
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ round
|
|
|
+ size="small"
|
|
|
+ loading={data.confirmLoading}
|
|
|
+ onClick={() => onConfirmOrder()}>
|
|
|
+ 继续领取
|
|
|
+ </Button>
|
|
|
+ </div>
|
|
|
+ )}
|
|
|
{props.item.refundable && (
|
|
|
<div
|
|
|
class={[styles.btns, styles.cancelBtn]}
|