소스 검색

no message

linwenxin 2 주 전
부모
커밋
76462e45b1
2개의 변경된 파일12개의 추가작업 그리고 4개의 파일을 삭제
  1. 6 2
      src/packageMaterial/pages/newSale/pay.vue
  2. 6 2
      src/packageMaterial/pages/sale/pay.vue

+ 6 - 2
src/packageMaterial/pages/newSale/pay.vue

@@ -203,10 +203,14 @@ export default {
           this.orderId = res.data.orderId
           if (res.data.payStatus == 'PAID') {
             // 支付成功
-            this.state = 2
+            this.getDetail(() => {
+              this.state = 2
+            })
           } else {
             // 支付失败
-            this.state = 4
+            this.getDetail(() => {
+              this.state = 4
+            })
           }
         })
         .catch(res => {})

+ 6 - 2
src/packageMaterial/pages/sale/pay.vue

@@ -204,10 +204,14 @@ export default {
           this.orderId = res.data.orderId
           if (res.data.payStatus == 'PAID') {
             // 支付成功
-            this.state = 2
+            this.getDetail(() => {
+              this.state = 2
+            })
           } else {
             // 支付失败
-            this.state = 4
+            this.getDetail(() => {
+              this.state = 4
+            })
           }
         })
         .catch(res => {})