diff --git a/pages/index/index.vue b/pages/index/index.vue
index ea04426..0aa57dd 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -350,7 +350,9 @@
},
onClickArea(item) {
uni.setStorageSync('shopId', item.shop.id)
+ uni.setStorageSync('shopMerchantType', item.shop.merchantType)
uni.setStorageSync('area', JSON.stringify(item))
+ console.log('1111111111111111',uni.getStorageSync('shopMerchantType'))
this.getBusinessStatus()
this.getData()
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 5e4f948..5780476 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -342,6 +342,7 @@
uni.setStorageSync('shopAddress',res.result.shopAddress)
uni.setStorageSync('shopRemark',res.result.remark)
uni.setStorageSync('shopScore',item.shop.shopScore)
+ uni.setStorageSync('shopMerchantType', item.shop.merchantType)
uni.setStorageSync("shopOwnerPhone", item.shopOwnerPhone)
uni.setStorageSync('schoolShop',res.result.shop)
uni.setStorageSync('schoolShop',res.result.shop)
@@ -351,7 +352,7 @@
uni.setStorageSync("isShop",true)
setTimeout(() => {
uni.reLaunch({
- url: '../worker/index'
+ url: '../index/index'
})
}, 200)
uni.showToast('登录成功', 2000, true)
diff --git a/pages/shop/addGoods.vue b/pages/shop/addGoods.vue
index f64cca1..79b49ab 100644
--- a/pages/shop/addGoods.vue
+++ b/pages/shop/addGoods.vue
@@ -99,11 +99,17 @@
否
是
+
+ 拼团商品下单时可搭配该商品一并下单
+
-
-
-
+
+
+
+
+
@@ -161,6 +167,7 @@
dataList: {},
modalType:0,
maxSelect:1,
+ shopMerchantType:0,
currentCanbuy:1,
canbuyMap:{},
categoryData:[],
@@ -217,6 +224,7 @@
},
onShow() {
this.attrId = uni.getStorageSync('attrId');
+ this.shopMerchantType = uni.getStorageSync('shopMerchantType');
this.typeItem = JSON.parse(JSON.stringify(this.typeItem)) || ''
if (this.typeItem) {
this.formData.categoryId = this.typeItem.id
diff --git a/pages/shop/goodsList.vue b/pages/shop/goodsList.vue
index 70fe226..3099de4 100644
--- a/pages/shop/goodsList.vue
+++ b/pages/shop/goodsList.vue
@@ -137,7 +137,6 @@
新增商品
更多
-