优化数据分店查询

This commit is contained in:
gyq
2025-12-10 09:29:37 +08:00
parent cb13753928
commit 5b2d2ab8c3
4 changed files with 19 additions and 14 deletions

View File

@@ -153,6 +153,7 @@ export default {
async geiShopList() {
let res = await ShopApi.getBranchList()
this.branchList = res;
this.shopId = res[0].shopId
},
//携带table id跳转到订单列表页面
toTableOrderList(data) {
@@ -214,7 +215,7 @@ export default {
rangeType: this.timeValue,
beginDate: this.query.createdAt[0],
endDate: this.query.createdAt[1],
shopId: this.shopInfo.id
shopId: this.shopId
});
this.tableData.loading = false;
this.tableData.totalList = _.chunk(res, this.tableData.size);