feat: convert back installment no function
This commit is contained in:
parent
a498c24e1e
commit
69d1418ba7
1 changed files with 3 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ export type ProductTree = {
|
||||||
pricePerUnit: number;
|
pricePerUnit: number;
|
||||||
discount: number;
|
discount: number;
|
||||||
amount: number;
|
amount: number;
|
||||||
|
installmentNo?: number;
|
||||||
serviceId?: string;
|
serviceId?: string;
|
||||||
service?: QuotationFull['productServiceList'][number]['service'];
|
service?: QuotationFull['productServiceList'][number]['service'];
|
||||||
workId?: string;
|
workId?: string;
|
||||||
|
|
@ -34,6 +35,7 @@ export function quotationProductTree(
|
||||||
pricePerUnit: number;
|
pricePerUnit: number;
|
||||||
discount: number;
|
discount: number;
|
||||||
amount: number;
|
amount: number;
|
||||||
|
installmentNo?: number;
|
||||||
service?: QuotationFull['productServiceList'][number]['service'];
|
service?: QuotationFull['productServiceList'][number]['service'];
|
||||||
work?: QuotationFull['productServiceList'][number]['work'];
|
work?: QuotationFull['productServiceList'][number]['work'];
|
||||||
product: QuotationFull['productServiceList'][number]['product'];
|
product: QuotationFull['productServiceList'][number]['product'];
|
||||||
|
|
@ -135,6 +137,7 @@ export function quotationProductTree(
|
||||||
amount: current.amount,
|
amount: current.amount,
|
||||||
productId: current.product.id,
|
productId: current.product.id,
|
||||||
product: current.product,
|
product: current.product,
|
||||||
|
installmentNo: current.installmentNo,
|
||||||
},
|
},
|
||||||
icon: 'mdi-shopping-outline',
|
icon: 'mdi-shopping-outline',
|
||||||
bg: 'hsla(var(--teal-10-hsl)/0.1)',
|
bg: 'hsla(var(--teal-10-hsl)/0.1)',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue