|
|
@@ -139,6 +139,7 @@
|
|
|
} else {
|
|
|
params.userUU = user.userUU
|
|
|
}
|
|
|
+// console.log(params)
|
|
|
return Promise.all([
|
|
|
store.dispatch('product/saveStores', { count: 100, page: 1, type: 'component' }),
|
|
|
store.dispatch('shop/StoreFocusPage', { count: 100, page: 1 }),
|
|
|
@@ -158,6 +159,7 @@
|
|
|
switchEnterprise (en) {
|
|
|
this.showEnterpriseToggle = false
|
|
|
this.$http.get(`/user/authentication/${en.uu}`).then(() => {
|
|
|
+ this.isChange = true
|
|
|
this.$store.dispatch('loadUserInfo').then(() => {
|
|
|
if (this.userType === 'saler') {
|
|
|
this.$router.push('/mobile/user?type=buyer')
|
|
|
@@ -257,7 +259,7 @@
|
|
|
}
|
|
|
if (this.userType !== 'saler') {
|
|
|
if (type === 'wait') {
|
|
|
- params._state = 'todo'
|
|
|
+ params.state = 'todo'
|
|
|
this.$store.dispatch('applyPurchase/loadBuyerUnSayPricePurchaseManList', params)
|
|
|
} else if (type === 'done') {
|
|
|
params._state = 'done'
|