liangjin
2021-03-30 6644b5af8235790eb5fd4c4265ce99aa90b134f1
src/views/product/wxScore-detail.vue
@@ -19,7 +19,6 @@
                <van-cell :value="form.contName" title='活动名称' readonly></van-cell>
                <van-cell :value="form.term" title='合约期' readonly></van-cell>
                <van-cell :value="form.guaranteedAmt" title='担保金额' readonly></van-cell>
                <van-cell :value="form.monGiftAmt" title='月赠费金额' readonly></van-cell>
            </div>
            <div class="cell-group" >
                <van-cell :value="form.userName" title='用户姓名' readonly></van-cell>
@@ -34,6 +33,7 @@
            </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>
@@ -74,7 +74,23 @@
                    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