|
|
@ -53,8 +53,20 @@ |
|
|
|
<p-line :keyname="'创建途径'" :value="orderInfo.source || '-'" ></p-line> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 退款列表 --> |
|
|
|
<view v-for="(e, i) in refundList" :key="i"> |
|
|
|
<order-refund-info |
|
|
|
:refund_price="e.amount || 0" |
|
|
|
:refund_no="e.refund_no || '-'" |
|
|
|
:refund_time="e.refund_time || '-'" |
|
|
|
:refund_reason="e.reason || '-'" |
|
|
|
:nameKey="i + 1" |
|
|
|
></order-refund-info> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<order-refund-fixed |
|
|
|
:pay_amount="_extension.refundable_amount || 0" |
|
|
|
:refund_amount="0" |
|
|
@ -80,6 +92,7 @@ import s_line from '../../../components/s_line/s_line.vue'; |
|
|
|
import p_line from '../../../components/p_line/p_line.vue'; |
|
|
|
import orderRefundFixed from '@/components/order_refund/fixed.vue' |
|
|
|
import orderRefundModal from '@/components/order_refund/modal.vue'; |
|
|
|
import orderRefundInfo from '@/components/order_refund/info.vue'; |
|
|
|
import util from '../../../../../utils/util'; |
|
|
|
import { ORDER_API } from '../../../js/api'; |
|
|
|
import server from '../../../js/server'; |
|
|
@ -90,6 +103,7 @@ export default { |
|
|
|
'p-line': p_line, |
|
|
|
'order-refund-fixed': orderRefundFixed, |
|
|
|
'order-refund-modal': orderRefundModal, |
|
|
|
'order-refund-info': orderRefundInfo |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
_extension(){ |
|
|
@ -130,8 +144,8 @@ export default { |
|
|
|
confirm: e => { |
|
|
|
this.userMonthlyCardRefundFixed({ |
|
|
|
order_no: orderInfo?.order_no || '', |
|
|
|
amount: e.refund_amount || 0, |
|
|
|
integral: e.refund_integral || 0 |
|
|
|
amount: +e.refund_amount || 0, |
|
|
|
integral: +e.refund_integral || 0 |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
@ -163,11 +177,18 @@ export default { |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(util.hideLoad) |
|
|
|
.finally(_=>setTimeout(_=>this.getCardInfo({ |
|
|
|
id: this.optionsQuery?.id, |
|
|
|
card_no: this.optionsQuery?.card_no |
|
|
|
.finally(_=> |
|
|
|
setTimeout(_=>{ |
|
|
|
this.getCardInfo({ |
|
|
|
id: this.optionsQuery?.id, |
|
|
|
card_no: this.optionsQuery?.card_no |
|
|
|
|
|
|
|
}), 1200)); |
|
|
|
}) |
|
|
|
.then(res=>{ |
|
|
|
if(res.order_no)this.getRefundInfo(res.order_no || ''); |
|
|
|
}) |
|
|
|
}, 1200) |
|
|
|
); |
|
|
|
}, |
|
|
|
previewImg(url){ |
|
|
|
if(!url)return |
|
|
@ -266,7 +287,7 @@ export default { |
|
|
|
<style lang="scss"> |
|
|
|
@import '~style/public.scss'; |
|
|
|
.ym-card-info{ |
|
|
|
|
|
|
|
@include isPd; |
|
|
|
} |
|
|
|
.yci-box{ |
|
|
|
padding: 30upx; |
|
|
|