fix: array positions do not match
This commit is contained in:
parent
c25d1b80ab
commit
c6a299bc1b
1 changed files with 2 additions and 2 deletions
|
|
@ -134,8 +134,8 @@ export const useQuotationForm = defineStore('form-quotation', () => {
|
|||
})),
|
||||
dueDate: new Date(data.dueDate),
|
||||
payBillDate: data.payBillDate ? new Date(data.payBillDate) : undefined,
|
||||
paySplit: data.paySplit.map((p, index) => ({
|
||||
no: index + 1,
|
||||
paySplit: data.paySplit.map((p) => ({
|
||||
no: p.no,
|
||||
invoiceId: p.invoiceId,
|
||||
name: p.name,
|
||||
amount: p.amount,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue