This commit is contained in:
parent
7efc4ec3af
commit
7ee4083570
|
@ -28,6 +28,10 @@ const getStoreList = (data) => {
|
||||||
...where.value,
|
...where.value,
|
||||||
...data,
|
...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) => {
|
storeListApi(userStore.userInfo.service.mer_id, where.value).then((res) => {
|
||||||
if(res.data?.list?.length < where.value.limit) loadEnd.value = true;
|
if(res.data?.list?.length < where.value.limit) loadEnd.value = true;
|
||||||
let list = res.data.list.map((item) => {
|
let list = res.data.list.map((item) => {
|
||||||
|
|
Loading…
Reference in New Issue