shish 2 лет назад
Родитель
Сommit
b60c4ecba1
2 измененных файлов с 2 добавлено и 10 удалено
  1. 1 7
      hdApp/src/pagesPurchase/gatherPay.vue
  2. 1 3
      hdApp/src/pagesPurchase/wechatPay.vue

+ 1 - 7
hdApp/src/pagesPurchase/gatherPay.vue

@@ -70,8 +70,7 @@ export default {
       getPayType:1,
       hasRequestApi:false,
       needCheck:0,
-      aliPayCodeImg:'',
-      hasRenew:0
+      aliPayCodeImg:''
     };
   },
   onLoad (options) {
@@ -85,11 +84,6 @@ export default {
     // #ifdef MP-WEIXIN
     this.getPayCodeFn(this.orderSn)
     // #endif
-    detail({id:this.id}).then(res => {
-				if(res.code == 1){
-          this.hasRenew = res.data.hasRenew ? res.data.hasRenew : 0
-				}
-		})
   },
   computed: {
     ...mapGetters(["getLoginInfo", 'getDictionariesInfo']),

+ 1 - 3
hdApp/src/pagesPurchase/wechatPay.vue

@@ -103,8 +103,7 @@ export default {
       info:[],
       hasRequestApi:false,
       needCheck:0,
-      aliPayCodeImg:'',
-      hasRenew:0
+      aliPayCodeImg:''
     };
   },
   onLoad (options) {
@@ -168,7 +167,6 @@ export default {
           this.getPayType = res.data.getPayType
           that.hasDebtPay = res.data.hasDebtPay
           that.balance = res.data.balance
-          that.hasRenew = res.data.hasRenew ? res.data.hasRenew : 0
           this.info = res.data
           that.remainPayTime = res.data.remainPayTime
           if(that.remainPayTime > 0){