refactor: add query

This commit is contained in:
Thanaphon Frappet 2024-10-21 13:33:36 +07:00
parent 048e43f0ee
commit e7c932ed9f

View file

@ -44,6 +44,7 @@ export const useQuotationStore = defineStore('quotation-store', () => {
page?: number;
pageSize?: number;
payCondition?: 'Full' | 'Split' | 'BillFull' | 'BillSplit';
query?: string;
}) {
const params = new URLSearchParams();
for (const [k, v] of Object.entries(opts || {})) {