refactor: add installmentNo in node

This commit is contained in:
Thanaphon Frappet 2024-10-25 09:25:45 +07:00
parent 814ef87d6c
commit 13a7194793

View file

@ -271,6 +271,7 @@ function mapNode() {
detail: p.product.detail, detail: p.product.detail,
remark: p.product.remark, remark: p.product.remark,
value: { value: {
installmentNo: p.installmentNo,
workerIndex: [], workerIndex: [],
vat: 0, vat: 0,
pricePerUnit, pricePerUnit,
@ -322,6 +323,7 @@ function mapNode() {
service: v.raw, service: v.raw,
work: w, work: w,
product: p.product, product: p.product,
installmentNo: p.installmentNo,
}, },
}; };
}), }),
@ -349,6 +351,7 @@ function mapNode() {
discount: 0, discount: 0,
amount: 0, amount: 0,
product: v.raw, product: v.raw,
installmentNo: v.installmentNo,
}, },
checked: true, checked: true,
icon: 'mdi-shopping-outline', icon: 'mdi-shopping-outline',