zhaoxiaoqiang
2021-07-20 2891aa37d99bc458a2ce501cb4ea185b363744f4
src/views/product/wxScore-detail.vue
@@ -59,13 +59,16 @@
        },
        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({
@@ -90,6 +93,7 @@
                    this.$api.wxScoreSendOrder({
                        id:this.form.id
                    }).then(res => {
                        this.getDetail();
                        this.$tool.toast('推送完成');
                    }, err => err);
                }).catch(() => {