|
|
@@ -178,16 +178,17 @@ export default {
|
|
|
showAllShop () {
|
|
|
this.$refs.shopSelectComponent.dropdownShow = true;
|
|
|
|
|
|
- this.$refs.shopSelectComponent.shopList = []
|
|
|
- shopAll().then(res=>{
|
|
|
- if(res.code == 1){
|
|
|
- if (!this.$util.isEmpty(res.data)){
|
|
|
- res.data.forEach((i) => {
|
|
|
- this.$refs.shopSelectComponent.shopList.push({id:i.id,name:i.shopName})
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
+ // this.$refs.shopSelectComponent.shopList = []
|
|
|
+ // shopAll().then(res=>{
|
|
|
+ // if(res.code == 1){
|
|
|
+ // if (!this.$util.isEmpty(res.data)){
|
|
|
+ // res.data.forEach((i) => {
|
|
|
+ // this.$refs.shopSelectComponent.shopList.push({id:i.id,name:i.shopName})
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+
|
|
|
},
|
|
|
async init () {
|
|
|
const { data } = await mainMy();
|