From 2b0d1a2e4a1358660e56c19a4d9e1280b5d3d9b5 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Fri, 21 Jun 2024 15:59:58 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E0=B8=A5=E0=B8=9A=20=20=E0=B9=82?= =?UTF-8?q?=E0=B8=84=E0=B9=89=E0=B8=84=20=E0=B9=84=E0=B8=A1=E0=B9=88?= =?UTF-8?q?=E0=B9=84=E0=B8=94=E0=B9=89=E0=B9=83=E0=B8=8A=E0=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_product-service/FormServiceWork.vue | 43 ++----------------- 1 file changed, 3 insertions(+), 40 deletions(-) diff --git a/src/components/04_product-service/FormServiceWork.vue b/src/components/04_product-service/FormServiceWork.vue index 3d8f3ae4..8e581929 100644 --- a/src/components/04_product-service/FormServiceWork.vue +++ b/src/components/04_product-service/FormServiceWork.vue @@ -6,54 +6,17 @@ import { moveItemUp, moveItemDown, deleteItem, dialog } from 'src/stores/utils'; import NoData from 'src/components/NoData.vue'; import WorkManagementComponent from './WorkManagementComponent.vue'; +import useProductServiceStore from 'src/stores/product-service'; + +const productServiceStore = useProductServiceStore(); const { t } = useI18n(); import { WorkItems, ProductList } from 'src/stores/product-service/types'; const serviceName = defineModel('serviceName'); const product = defineModel(); - const workItems = defineModel('workItems', { default: [] }); -// const workItems = ref([ -// { -// id: '1', -// product: [ -// { -// id: '1', -// label: 'ค่าธรรมเนียมใบอนุญาตทำงาน 2 ปี 555', -// labelEn: '2 year work permit fee', -// code: 'AC101', -// price: 1200, -// time: '14', -// }, -// ], -// }, -// { -// id: '2', -// product: [ -// { -// id: '1', -// label: 'ค่าธรรมเนียมใบอนุญาตทำงาน 2 ปี', -// labelEn: '2 year work permit fee', -// code: 'AC101', -// price: 1200, -// time: '14', -// }, -// { -// id: '1', -// label: -// 'ค่าบริการและค่าดำเนินงานยื่นคำร้องขอใบอนุญาตทำงานแทน คนงานต่างด้าว MOU', -// labelEn: -// 'Service and processing fees for submitting a work permit application on behalf of an MOU foreign worker', -// code: 'AC102', -// price: 1200, -// time: '14', -// }, -// ], -// }, -// ]); - defineProps<{ dense?: boolean; outlined?: boolean;