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),
|
dueDate: new Date(data.dueDate),
|
||||||
payBillDate: data.payBillDate ? new Date(data.payBillDate) : undefined,
|
payBillDate: data.payBillDate ? new Date(data.payBillDate) : undefined,
|
||||||
paySplit: data.paySplit.map((p, index) => ({
|
paySplit: data.paySplit.map((p) => ({
|
||||||
no: index + 1,
|
no: p.no,
|
||||||
invoiceId: p.invoiceId,
|
invoiceId: p.invoiceId,
|
||||||
name: p.name,
|
name: p.name,
|
||||||
amount: p.amount,
|
amount: p.amount,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue