优化数据统计
This commit is contained in:
@@ -248,9 +248,13 @@ export default {
|
||||
* 获取分店列表
|
||||
*/
|
||||
async geiShopList() {
|
||||
let res = await ShopApi.getBranchList()
|
||||
this.branchList = res;
|
||||
this.shopId = res[0].shopId
|
||||
if (this.shopInfo.isHeadShop) {
|
||||
let res = await ShopApi.getBranchList()
|
||||
this.branchList = res;
|
||||
this.shopId = res[0].shopId
|
||||
} else {
|
||||
this.shopId = this.shopInfo.id
|
||||
}
|
||||
},
|
||||
totalfilter(item, d) {
|
||||
let num = item + d;
|
||||
|
||||
Reference in New Issue
Block a user