diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index c1b15824..d30cf4c7 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -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 || ''; }