|
@@ -279,6 +279,7 @@ export default {
|
|
|
priceLoading: true,
|
|
|
isShowEmpty: false,
|
|
|
isShowEmptyText: '搜索相关商品',
|
|
|
+ userId:0,
|
|
|
clubUserId: '',
|
|
|
identity: 0,
|
|
|
isFocus: false,
|
|
@@ -324,6 +325,7 @@ export default {
|
|
|
async initGetStotage() {// 初始化
|
|
|
const userInfo = await this.$api.getStorage()
|
|
|
const clubInfo = await this.$api.getComStorage('orderUserInfo')
|
|
|
+ this.userId = userInfo.userId ? userInfo.userId : 0
|
|
|
this.identity = userInfo.userIdentity ? userInfo.userIdentity : 0
|
|
|
this.clubUserId = clubInfo.userId ? clubInfo.userId : 0
|
|
|
this.getProductAgainInfo()
|
|
@@ -410,7 +412,7 @@ export default {
|
|
|
productIds = productIdArr.join(',')
|
|
|
this.ProductService.querySearchProductPrice({
|
|
|
flag:this.identity, //查询促销标记 1协销 2机构 3供应商
|
|
|
- userId: this.clubUserId,
|
|
|
+ userId: this.userId,
|
|
|
productIds: productIds,
|
|
|
source: 2
|
|
|
})
|