feat: ประกาศตัวแปร formDataProductService

This commit is contained in:
Net 2024-06-18 14:20:37 +07:00
parent fe95db7983
commit 85cb72cb57

View file

@ -27,6 +27,7 @@ import {
ProductGroupCreate,
ProductCreate,
ProductList,
ServiceCreate,
} from 'src/stores/product-service/types';
const productServiceStore = useProductServiceStore();
@ -112,6 +113,16 @@ const formDataProduct = ref<ProductCreate>({
image: undefined,
});
const formDataProductService = ref<ServiceCreate>({
work: [],
attributes: {
additional: [],
},
detail: '',
name: '',
code: '',
});
const serviceTab = [
{
name: 'serviceInformation',