shenjj 7 лет назад
Родитель
Сommit
42ade2c348
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      components/mobile/register-saler/Register.vue

+ 9 - 0
components/mobile/register-saler/Register.vue

@@ -97,8 +97,17 @@
         this.$http.get('/basic/enterprise/' + tempEnterprise.uu + '/info')
           .then(response => {
             this.enterpriseData = response.data
+            if (this.user.data.enterprise.isVendor === 313) {
+              this.$http.get('/basic/vendor/transactionInfo').then(response => {
+                if (response.data.isOpenStore === false) {
+                  this.section = 3
+                  this.checkData.checked = true
+                }
+              })
+          } else {
             this.section = 1
             this.checkData.checked = false
+          }
           })
       } else { // 是个人
         this.$http.get('/basic/user/userCacheEnterprise')