From 848f35e47e33fb7c27a232d8eb915c889fccb2d7 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Mon, 24 Jun 2024 09:43:34 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E0=B9=81=E0=B8=AA=E0=B8=94=E0=B8=87?= =?UTF-8?q?=E0=B8=A5=E0=B8=B3=E0=B8=94=E0=B8=B1=E0=B8=9A=20=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TotalProductCardComponent.vue | 120 +++++++++--------- 1 file changed, 63 insertions(+), 57 deletions(-) diff --git a/src/components/04_product-service/TotalProductCardComponent.vue b/src/components/04_product-service/TotalProductCardComponent.vue index 68066556..41fa36dd 100644 --- a/src/components/04_product-service/TotalProductCardComponent.vue +++ b/src/components/04_product-service/TotalProductCardComponent.vue @@ -30,6 +30,7 @@ withDefaults( id?: string; process?: number; createdAt?: string; + index?: number; }>(), { isSelected: false, @@ -45,9 +46,11 @@ withDefaults( style="box-shadow: var(--shadow-3); width: 240px; height: 286px" @click="$emit('select', data)" > -
+
-
{{ title ?? 'title' }}
+
+ {{ title ?? 'title' }} +
- 1 + {{ (index ?? 0) + 1 }}
-
{{ code ?? 'code' }}
-
+ +
+
{{ code ?? 'code' }}
+
+
+
งาน
+ +
0
+
+
+
-
งาน
- -
0
+ ฿ {{ price }}
-
-
- ฿ {{ price }} -
- -
- - - -
-
-
- - {{ dateFormat(createdAt) }} -
+ {{ dateFormat(createdAt) }} +
-
- - {{ process }} วัน +
+ + {{ process }} วัน +