diff --git a/src/pages/05_quotation/ProductServiceForm.vue b/src/pages/05_quotation/ProductServiceForm.vue
index e0d961af..eea9a828 100644
--- a/src/pages/05_quotation/ProductServiceForm.vue
+++ b/src/pages/05_quotation/ProductServiceForm.vue
@@ -178,6 +178,7 @@ function mapNode() {
opened: v.work.length > 0,
checked: true,
icon: 'mdi-server-outline',
+ attributes: v.attributes,
bg: 'hsla(var(--orange-5-hsl)/0.1)',
fg: 'var(--orange-5)',
children: (function () {
@@ -189,6 +190,8 @@ function mapNode() {
id: p.product.id,
title: p.product.name,
subtitle: p.product.code || ' ',
+ detail: p.product.detail,
+ remark: p.product.remark,
value: {
vat: 0,
pricePerUnit: 0,
@@ -213,11 +216,14 @@ function mapNode() {
subtitle: ' ',
opened: w.productOnWork.length > 0,
checked: true,
+ attributes: w.attributes,
children: w.productOnWork.map((p) => ({
id: p.product.id,
title: p.product.name,
subtitle: p.product.code || ' ',
checked: true,
+ detail: p.product.detail,
+ remark: p.product.remark,
value: {
vat: 0,
pricePerUnit: 0,
@@ -238,6 +244,8 @@ function mapNode() {
id: v.id,
title: v.name,
subtitle: v.code,
+ detail: v.detail,
+ remark: v.remark,
value: {
vat: 0,
pricePerUnit: 0,
@@ -584,7 +592,7 @@ watch(
}}
@@ -609,17 +617,16 @@ watch(
"
class="surface-3 q-pa-md"
>
- {{ selectedNode[0].raw.remark || '-' }}
+ {{ selectedNode[0].remark || '-' }}