优化数据分店查询
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user