Browse Source

1、修改

shenjj 7 years ago
parent
commit
42ade2c348
1 changed files with 9 additions and 0 deletions
  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')