This commit is contained in:
weipengfei 2024-04-06 17:31:40 +08:00
parent 7efc4ec3af
commit 7ee4083570
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ const getStoreList = (data) => {
...where.value,
...data,
};
if (data.bar_code && isAllDigits(data.bar_code)) {
storeList.value = [];
where.value.page = 1;
}
storeListApi(userStore.userInfo.service.mer_id, where.value).then((res) => {
if(res.data?.list?.length < where.value.limit) loadEnd.value = true;
let list = res.data.list.map((item) => {