fix: wrong get invoice list
This commit is contained in:
parent
f8717b3d01
commit
43ec668dce
1 changed files with 3 additions and 1 deletions
|
|
@ -1042,7 +1042,9 @@ async function getInvoiceCode(invoiceId: string) {
|
|||
}
|
||||
|
||||
async function getInvoiceCodeFullPay() {
|
||||
const ret = await invoiceStore.getInvoiceList();
|
||||
const ret = await invoiceStore.getInvoiceList({
|
||||
quotationId: quotationFormData.value.id,
|
||||
});
|
||||
if (ret) code.value = ret.result.at(0)?.code || '';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue