| | |
| | | <ProTabPane title="电费订单" pane-key="2"> |
| | | <ElectricOrder @goApplyRefund="goApplyRefund" @goRefundDetail="goRefundDetail" /> |
| | | </ProTabPane> |
| | | <ProTabPane title="燃气订单" pane-key="3"> |
| | | <!-- <ProTabPane title="燃气订单" pane-key="3"> |
| | | <GasOrder @goApplyRefund="goApplyRefund" @goRefundDetail="goRefundDetail" /> |
| | | </ProTabPane> |
| | | </ProTabPane> --> |
| | | </ProTabs> |
| | | </template> |
| | | |
| | |
| | | |
| | | const orderType = ref('1'); |
| | | |
| | | function goApplyRefund(orderNo: string) { |
| | | Taro.navigateTo({ |
| | | url: `${RouterPath.orderApplyRefund}?orderNo=${orderNo}`, |
| | | function goApplyRefund(id: string) { |
| | | RouteHelper.navigateTo({ |
| | | url: `${RouterPath.orderApplyRefund}?id=${id}`, |
| | | // events: { |
| | | // submitApplyRefund: function () {}, |
| | | // }, |
| | | }); |
| | | } |
| | | function goRefundDetail(orderNo: string) { |
| | | Taro.navigateTo({ |
| | | url: `${RouterPath.orderApplyRefund}?orderNo=${orderNo}`, |
| | | RouteHelper.navigateTo({ |
| | | url: `${RouterPath.orderRefundResult}?orderNo=${orderNo}`, |
| | | }); |
| | | } |
| | | </script> |