refactor: type name
This commit is contained in:
parent
548f10feab
commit
f26f6b51d6
7 changed files with 24 additions and 24 deletions
|
|
@ -18,7 +18,7 @@ import { QuotationPayload } from 'src/stores/quotations/types';
|
|||
import { Employee } from 'src/stores/employee/types';
|
||||
import {
|
||||
ProductGroup,
|
||||
ProductList,
|
||||
Product,
|
||||
Service,
|
||||
} from 'src/stores/product-service/types';
|
||||
|
||||
|
|
@ -98,11 +98,11 @@ const pageState = reactive({
|
|||
productServiceModal: false,
|
||||
});
|
||||
|
||||
const productList = ref<Partial<Record<ProductGroupId, ProductList[]>>>({});
|
||||
const productList = ref<Partial<Record<ProductGroupId, Product[]>>>({});
|
||||
const serviceList = ref<Partial<Record<ProductGroupId, Service[]>>>({});
|
||||
const productGroup = ref<ProductGroup[]>([]);
|
||||
|
||||
const product = ref<Record<Id, ProductList>>({});
|
||||
const product = ref<Record<Id, Product>>({});
|
||||
const service = ref<Record<Id, Service>>({});
|
||||
|
||||
const selectedGroupSub = ref<'product' | 'service' | null>(null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue