|
|
@@ -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')
|