chore: remove unused

This commit is contained in:
Methapon Metanipat 2024-10-17 12:56:35 +07:00
parent fdf7cf0346
commit ae148e4656

View file

@ -76,7 +76,6 @@ const pageState = reactive({
addModal: false,
quotationModal: false,
employeeModal: false,
productServiceModal: false,
});
const CUSTOMER_BRANCH_DEFAULT: CustomerBranchCreate & {
@ -664,69 +663,6 @@ watch(() => pageState.currentTab, fetchQuotationList);
<!-- NOTE: END - Quotation Form -->
<!-- NOTE: START - Employee Select Form -->
<DialogForm
:title="$t('general.select', { msg: $t('quotation.employeeList') })"
v-model:modal="pageState.employeeModal"
:submit-label="$t('general.select', { msg: $t('quotation.employee') })"
submit-icon="mdi-check"
height="75vh"
>
<section class="col row scroll">
<SelectZone
v-model:selected-item="selectedEmployee"
:items="[
{
name: 'มิเคล่า สุวรรณดี',
gender: 'female',
telephoneNo: '0621249602',
code: 'CORP000000-1-01-240001',
birthDate: '16 ปี 11 เดือน 5 วัน',
},
{
name: 'มิลิเซนต์ สุวรรณดี',
gender: 'female',
telephoneNo: '0621249666',
code: 'CORP000000-1-01-240002',
birthDate: '19 ปี 2 เดือน 2 วัน',
},
{
name: 'ไรคาร์ด พวงศรี',
gender: 'male',
telephoneNo: '0621249777',
code: 'CORP000000-1-01-240003',
birthDate: '39 ปี 5 เดือน 2 วัน',
},
]"
>
<template #top>
<AddButton icon-only @click="() => {}" />
</template>
<template #data="{ item }">
<PersonCard
noAction
prefixId="asda"
class="full-width"
:data="{
name: item.name,
code: item.code,
female: item.gender === 'female',
male: item.gender === 'male',
img: 'images/employee-avatar.png',
detail: [
{ icon: 'mdi-phone-outline', value: item.telephoneNo },
{ icon: 'mdi-clock-outline', value: item.birthDate },
],
}"
></PersonCard>
</template>
</SelectZone>
</section>
</DialogForm>
<!-- NOTE: END - Employee Select Form -->
<!-- NOTE: START - Customer / Employer Type Select Form -->
<DialogForm
@ -910,7 +846,7 @@ watch(() => pageState.currentTab, fetchQuotationList);
<EmployerFormAbout
id="form-information"
show-title
:index="(0).toString()"
:index="'0'"
:customerType="customerFormData.customerType"
:readonly="customerFormState.dialogType === 'info'"
v-model:citizen-id="formDataCustomerBranch.citizenId"
@ -935,7 +871,7 @@ watch(() => pageState.currentTab, fetchQuotationList);
<EmployerFormBusiness
id="form-business"
show-title
prefixId="dialog"
prefix-id="dialog"
dense
outlined
:readonly="customerFormState.dialogType === 'info'"