|
@@ -33,7 +33,7 @@
|
|
|
|
|
|
<view class='order-item-bottom-box'>
|
|
<view class='order-item-bottom-box'>
|
|
<view class='refund-box'>
|
|
<view class='refund-box'>
|
|
- <view class='refund-btn'>申请退款</view>
|
|
|
|
|
|
+ <view class='refund-btn' @click="handleApply">申请退款</view>
|
|
</view>
|
|
</view>
|
|
<view class='rqcode-box'>
|
|
<view class='rqcode-box'>
|
|
<view class='rqcode-img'>
|
|
<view class='rqcode-img'>
|
|
@@ -83,6 +83,7 @@
|
|
<view class='item-right'>1.订单核销码有效期60天,过期后自动退款; 2.未使用/未到期前随时可退,款项沿付款方式原路退回,订单使用后不可退款</view>
|
|
<view class='item-right'>1.订单核销码有效期60天,过期后自动退款; 2.未使用/未到期前随时可退,款项沿付款方式原路退回,订单使用后不可退款</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <popup-confirm :show="show" confirmText="继续退款" :text="text" @close="handleClose" @confirm="handleConfirm"></popup-confirm>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -91,19 +92,21 @@ export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
init_list: {},
|
|
init_list: {},
|
|
|
|
+ show: false,
|
|
|
|
+ text: '线上价交易有保障,线下支付需谨慎。车旅程可以保障服务过程中车险车辆受损、服务商量纠纷等问题时,车旅程客服可快速介入,保障您的资产安全;是您听信了商家的导线下支付,一旦发生服务纠纷,车旅程将无法保证您的权益',
|
|
};
|
|
};
|
|
},
|
|
},
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
- this.init_list = option.orderList;
|
|
|
|
|
|
+ // this.init_list = option.orderList;
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
- allPrice() {
|
|
|
|
- let price = 0;
|
|
|
|
- this.init_list.goodsInfo.map(rs => {
|
|
|
|
- price += rs.goodsPrice;
|
|
|
|
- });
|
|
|
|
- return price.toFixed(2);
|
|
|
|
- },
|
|
|
|
|
|
+ // allPrice() {
|
|
|
|
+ // let price = 0;
|
|
|
|
+ // this.init_list.goodsInfo.map(rs => {
|
|
|
|
+ // price += rs.goodsPrice;
|
|
|
|
+ // });
|
|
|
|
+ // return price.toFixed(2);
|
|
|
|
+ // },
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
// 点击跳转到预约
|
|
// 点击跳转到预约
|
|
@@ -112,6 +115,17 @@ export default {
|
|
url: '/PageMine/orderReserve/index',
|
|
url: '/PageMine/orderReserve/index',
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ handleApply() {
|
|
|
|
+ this.show = true;
|
|
|
|
+ },
|
|
|
|
+ handleConfirm() {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/PageMine/applyRefund/index',
|
|
|
|
+ });
|
|
|
|
+ },
|
|
|
|
+ handleClose(data) {
|
|
|
|
+ this.show = data;
|
|
|
|
+ },
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|