refactor: search quotation
This commit is contained in:
parent
e7c932ed9f
commit
6df13d034e
1 changed files with 2 additions and 0 deletions
|
|
@ -256,6 +256,7 @@ async function fetchQuotationList() {
|
||||||
} as const
|
} as const
|
||||||
)[pageState.currentTab]
|
)[pageState.currentTab]
|
||||||
: undefined,
|
: undefined,
|
||||||
|
query: pageState.inputSearch,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
|
@ -275,6 +276,7 @@ async function fetchQuotationList() {
|
||||||
}
|
}
|
||||||
|
|
||||||
watch(() => pageState.currentTab, fetchQuotationList);
|
watch(() => pageState.currentTab, fetchQuotationList);
|
||||||
|
watch(() => pageState.inputSearch, fetchQuotationList);
|
||||||
|
|
||||||
async function storeDataLocal(id: string) {
|
async function storeDataLocal(id: string) {
|
||||||
await quotationFormStore.assignFormData(id, 'assign');
|
await quotationFormStore.assignFormData(id, 'assign');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue