修复添加分销员分店不能选择的问题

This commit is contained in:
gyq
2026-01-31 15:22:17 +08:00
parent 25a8fbbe9f
commit 782bd19e4e

View File

@@ -128,7 +128,8 @@ function submitHandle() {
// 过滤条件 // 过滤条件
function isDistribtion(str) { function isDistribtion(str) {
let s = str.split('_') let s = str.split('_')
return s[1] let shopId = s[0]
return s[1] && shopId == localStorage.getItem('shopId') ? 1 : 0
} }
const selectUser = ref([]) const selectUser = ref([])