linwenxin 4 månader sedan
förälder
incheckning
1de538513d
1 ändrade filer med 7 tillägg och 5 borttagningar
  1. 7 5
      src/packageWorkorder/pages/orderDetail.vue

+ 7 - 5
src/packageWorkorder/pages/orderDetail.vue

@@ -874,11 +874,13 @@ export default {
           // 等待支付
           var [USERPAYING, orderId] = res.message.split('|')
           if (~USERPAYING.indexOf('USERPAYING') && !!orderId) {
-            this.orderId_zf = orderId
-            if (this.state == 0) {
-              this.state = 1
-            }
-            this.getDetail__()
+            this.getPayList(() => {
+              this.orderId_zf = orderId
+              if (this.state == 0) {
+                this.state = 1
+              }
+              this.getDetail__()
+            })
           } else {
             this.$tips(res.message)
           }