| | |
| | | --> |
| | | <template> |
| | | <div class="hb-detail-box h-100-g"> |
| | | <v-navbar title="订单详情" fixed></v-navbar> |
| | | <v-navbar title="订单详情1" fixed></v-navbar> |
| | | <div class="content"> |
| | | <div class="cell-group"> |
| | | <van-cell :value="form.chanNo" title='渠道编码' readonly></van-cell> |
| | |
| | | <van-cell :value="form.mblNo" title='手机号码' readonly></van-cell> |
| | | <van-cell :value="form.merName" title='商户名称' readonly></van-cell> |
| | | </div> |
| | | |
| | | <!-- <div class="cell-group"> |
| | | <van-cell :value="form.rate + '%'" title='费率' readonly></van-cell> |
| | | </div> --> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | mapState |
| | | } from 'vuex'; |
| | | import Vue from 'vue'; |
| | | import { Notify } from 'vant'; |
| | | |
| | |
| | | |
| | | }, |
| | | created() { |
| | | this.$api.wxScoreDetail({ |
| | | id:this.$route.query.orderId |
| | | }).then(res => { |
| | | this.form = res.body || {}; |
| | | }, err => err); |
| | | this.getDetail(); |
| | | }, |
| | | methods: { |
| | | getDetail() { |
| | | this.$api.wxScoreDetail({ |
| | | id:this.$route.query.orderId |
| | | }).then(res => { |
| | | this.form = res.body || {}; |
| | | }, err => err); |
| | | }, |
| | | //退款 |
| | | refund() { |
| | | this.$dialog.confirm({ |
| | |
| | | this.$tool.toast('返销完成'); |
| | | }, err => err); |
| | | }).catch(() => { |
| | | // on cancel |
| | | |
| | | }); |
| | | // this |
| | | |
| | | }, |
| | | //订单推送 |
| | | sendOrder() { |
| | |
| | | this.$api.wxScoreSendOrder({ |
| | | id:this.form.id |
| | | }).then(res => { |
| | | this.getDetail(); |
| | | this.$tool.toast('推送完成'); |
| | | }, err => err); |
| | | }).catch(() => { |