From 13bee775e4ad2c2ea255836201c4d6a00b4888a0 Mon Sep 17 00:00:00 2001
From: liangjin <liangjin@finlean.com>
Date: Tue, 30 Mar 2021 18:12:55 +0800
Subject: [PATCH] 微信支付分携号转网需求

---
 src/views/product/wxScore-detail.vue |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/views/product/wxScore-detail.vue b/src/views/product/wxScore-detail.vue
index f612e1b..09c01ad 100644
--- a/src/views/product/wxScore-detail.vue
+++ b/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(() => {

--
Gitblit v1.8.0