| | |
| | | wxScoreRefund(data){ |
| | | return $http.post('/cmccWxpay/refund',data) |
| | | }, |
| | | // 微信分返销 |
| | | wxScoreSendOrder(data){ |
| | | return $http.post('/cmccWxpay/pushOrderStatus',data) |
| | | }, |
| | | // 微信分手机号验证 |
| | | wxScoreVertify(data){ |
| | | return $http.post('/cmccWxpay/verifyMblNo',data) |
| | |
| | | type="number" |
| | | placeholder="手机号码" |
| | | > |
| | | <van-button class="mgs-btn" slot="button" size="small" @click="mblVertify" >可用查询</van-button> |
| | | <van-button v-if="mblNoType==0||mblNoType==1" class="mgs-btn" slot="button" size="small" @click="mblVertify" >可用查询</van-button> |
| | | </van-field> |
| | | </div> |
| | | </group> |
| | |
| | | v.toast('请输入正确的用户手机号'); |
| | | return false; |
| | | } |
| | | if(this.mblNoType == 2){ |
| | | this.vertifyStatus = 1; |
| | | } |
| | | if(this.vertifyStatus == 0){ |
| | | v.toast('号码不可用'); |
| | | return false; |
| | |
| | | </div> --> |
| | | </div> |
| | | <footer class="footer flex-center-g"> |
| | | <van-button class="btn" :color="$store.state.backColor" v-if="form.orderStatus==1" @click="sendOrder">订单推送</van-button> |
| | | <van-button class="btn" :color="$store.state.backColor" v-if="form.refundBtnStatus==1" @click="refund">返销</van-button> |
| | | <van-button class="btn" :color="$store.state.backColor" v-if="form.status==0" @click="showCode">显示支付二维码</van-button> |
| | | </footer> |
| | |
| | | this.$api.wxScoreRefund({ |
| | | id:this.form.id |
| | | }).then(res => { |
| | | this.$tool.toast('返销中'); |
| | | this.$tool.toast('返销完成'); |
| | | }, err => err); |
| | | }).catch(() => { |
| | | // on cancel |
| | | }); |
| | | // this |
| | | |
| | | }, |
| | | //订单推送 |
| | | sendOrder() { |
| | | this.$dialog.confirm({ |
| | | message: '是否确认推送订单结果' |
| | | }).then(() => { |
| | | this.$api.wxScoreSendOrder({ |
| | | id:this.form.id |
| | | }).then(res => { |
| | | this.$tool.toast('推送完成'); |
| | | }, err => err); |
| | | }).catch(() => { |
| | | // on cancel |