|
@@ -1,6 +1,9 @@
|
|
|
<template>
|
|
<template>
|
|
|
<view class="itemList-box">
|
|
<view class="itemList-box">
|
|
|
- <view class="title">列表</view>
|
|
|
|
|
|
|
+ <view class="title">
|
|
|
|
|
+ 列表
|
|
|
|
|
+ <text style="float:right;">{{ getMyShopInfo.shopName=='首店'? getMyShopInfo.merchantName: getMyShopInfo.merchantName+' '+getMyShopInfo.shopName}}</text>
|
|
|
|
|
+ </view>
|
|
|
<scroll-view class="itemList-item_box" scroll-y="true" @scrolltolower="reachBottom" lower-threshold="50">
|
|
<scroll-view class="itemList-item_box" scroll-y="true" @scrolltolower="reachBottom" lower-threshold="50">
|
|
|
<view v-for="item in list.data" :key="item.id" class="show-item_box">
|
|
<view v-for="item in list.data" :key="item.id" class="show-item_box">
|
|
|
<view class="item-body_box not-active" @click="getDetail(item)">
|
|
<view class="item-body_box not-active" @click="getDetail(item)">
|
|
@@ -28,6 +31,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
|
|
|
+import { mapGetters } from "vuex";
|
|
|
import settlePop from './settlePop'
|
|
import settlePop from './settlePop'
|
|
|
import toPayWay from './toPay'
|
|
import toPayWay from './toPay'
|
|
|
import {getGroupList,detail,del} from "@/api/group"
|
|
import {getGroupList,detail,del} from "@/api/group"
|
|
@@ -65,6 +69,9 @@ export default {
|
|
|
immediate:true
|
|
immediate:true
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ computed:{
|
|
|
|
|
+ ...mapGetters(["getMyShopInfo"]),
|
|
|
|
|
+ },
|
|
|
created(){
|
|
created(){
|
|
|
this.getGroupList()
|
|
this.getGroupList()
|
|
|
},
|
|
},
|