feat:分店筛选显示条件增加

This commit is contained in:
GaoHao
2025-04-09 17:32:50 +08:00
parent 448261e7b2
commit f1e85eeb27
5 changed files with 23 additions and 43 deletions

View File

@@ -28,7 +28,7 @@
></el-date-picker>
</div>
<div>
<el-select v-model="shopId" placeholder="选择分店" style="width: 200px; margin-right: 10px">
<el-select v-model="shopId" v-if="isHeadShop == 1" placeholder="选择分店" style="width: 200px; margin-right: 10px">
<el-option v-for="item in branchList" :key="item.shopId" :label="item.shopName" :value="item.shopId" />
</el-select>
</div>
@@ -133,6 +133,7 @@ export default {
payCountTotal: 0,
shopId: null,
branchList: [],
isHeadShop: JSON.parse(localStorage.getItem("userInfo")).isHeadShop
};
},
filters: {