-
-
-
+
+
+
+
-
- {{ index + 1 }}
-
+
+ {{ index + 1 }}
+
-
-
-
-
-
-
- {{
- $i18n.locale === 'en-US' ? product.nameEn : product.name
- }}
-
+
+
+
+
+
+
{{
$i18n.locale === 'en-US'
? product.nameEn
: product.name
}}
-
-
-
- {{ product.code }}
+
+ {{
+ $i18n.locale === 'en-US'
+ ? product.nameEn
+ : product.name
+ }}
+
+
+
+ {{ product.code }}
+
+
+
+
+ ฿ {{ formatNumberDecimal(product.price, 2) }}
+
+
+ {{ $t('processTime') }}
+
+
+ {{ product.process }} {{ $t('day') }}
+
+
-
-
- ฿ {{ formatNumberDecimal(product.price, 2) }}
-
-
- {{ $t('processTime') }}
-
-
- {{ product.process }} {{ $t('day') }}
-
-
+
-
-
+
+
+ {{ $t('noProduct') }}
diff --git a/src/i18n/en-US/product-service.ts b/src/i18n/en-US/product-service.ts
index fea3aaac..c1e34332 100644
--- a/src/i18n/en-US/product-service.ts
+++ b/src/i18n/en-US/product-service.ts
@@ -49,6 +49,10 @@ export default {
addWork: 'Add work',
properties: 'Properties',
+ noProperties: 'No Properties',
+ serviceProperties: 'Service Properties',
+ workProperties: 'Work Properties',
+ propertiesInWork: 'Properties in work',
text: 'Text',
number: 'Number',
date: 'Date',
@@ -61,4 +65,6 @@ export default {
telMaxLength: 'Max Length',
addSelection: 'Add Selection',
selectAll: 'Select All',
+
+ noProduct: 'No Product',
};
diff --git a/src/i18n/th-th/product-service.ts b/src/i18n/th-th/product-service.ts
index 1575a436..a93917f2 100644
--- a/src/i18n/th-th/product-service.ts
+++ b/src/i18n/th-th/product-service.ts
@@ -49,6 +49,10 @@ export default {
addWork: 'เพิ่มงานใหม่',
properties: 'คุณสมบัติ',
+ noProperties: 'ยังไม่มีคุณสมบัติ',
+ serviceProperties: 'คุณสมบัติของบริการ',
+ workProperties: 'คุณสมบัติของงาน',
+ propertiesInWork: 'คุณสมบัติภายในงาน',
text: 'ข้อความ',
number: 'ตัวเลข',
date: 'วันที่',
@@ -61,4 +65,6 @@ export default {
telMaxLength: 'จำนวนหลัก',
addSelection: 'เพิ่มตัวเลือก',
selectAll: 'เลือกทั้งหมด',
+
+ noProduct: 'ยังไม่มีสินค้า',
};
diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue
index 1ab24b82..224976dc 100644
--- a/src/pages/04_product-service/MainPage.vue
+++ b/src/pages/04_product-service/MainPage.vue
@@ -18,6 +18,7 @@ import FormServiceWork from 'src/components/04_product-service/FormServiceWork.v
import ServiceProperties from 'src/components/04_product-service/ServiceProperties.vue';
import WorkNameManagement from 'src/components/04_product-service/WorkNameManagement.vue';
import useOptionStore from 'src/stores/options';
+import FormServiceProperties from 'src/components/04_product-service/FormServiceProperties.vue';
import { Status } from 'src/stores/types';
import NoData from 'components/NoData.vue';
@@ -1789,6 +1790,7 @@ watch(currentStatus, async () => {
{
/>
-
- {
- tempValueProperties = formDataProductService.attributes;
- openPropertiesDialog('service');
- }
- "
- v-model:service-code="formDataProductService.code"
- v-model:service-description="formDataProductService.detail"
- v-model:service-name-th="formDataProductService.name"
- @input-file="inputFile.click()"
- />
+
+
+ {
+ tempValueProperties = formDataProductService.attributes;
+ openPropertiesDialog('service');
+ }
+ "
+ v-model:service-code="formDataProductService.code"
+ v-model:service-description="formDataProductService.detail"
+ v-model:service-name-th="formDataProductService.name"
+ @input-file="inputFile.click()"
+ />
+
+
+ {
+ tempValueProperties = formDataProductService.attributes;
+ openPropertiesDialog('service');
+ }
+ "
+ />
+
+
+
+
{
@@ -1856,7 +1875,7 @@ watch(currentStatus, async () => {
}
"
/>
-
+
@@ -1914,6 +1933,7 @@ watch(currentStatus, async () => {
{
/>
-
- {
- tempValueProperties = formDataProductService.attributes;
- openPropertiesDialog('service');
- }
- "
- v-model:service-attributes="formDataProductService.attributes"
- v-model:service-code="formDataProductService.code"
- v-model:service-description="formDataProductService.detail"
- v-model:service-name-th="formDataProductService.name"
- @input-file="inputFile.click()"
- />
+
+
+ {
+ tempValueProperties = formDataProductService.attributes;
+ openPropertiesDialog('service');
+ }
+ "
+ v-model:service-code="formDataProductService.code"
+ v-model:service-description="formDataProductService.detail"
+ v-model:service-name-th="formDataProductService.name"
+ @input-file="inputFile.click()"
+ />
+
+
+ {
+ tempValueProperties = formDataProductService.attributes;
+ openPropertiesDialog('service');
+ }
+ "
+ />
+
+
+
+
{
}
"
/>
-
+