chore: remove unused
This commit is contained in:
parent
fdf7cf0346
commit
ae148e4656
1 changed files with 2 additions and 66 deletions
|
|
@ -76,7 +76,6 @@ const pageState = reactive({
|
||||||
addModal: false,
|
addModal: false,
|
||||||
quotationModal: false,
|
quotationModal: false,
|
||||||
employeeModal: false,
|
employeeModal: false,
|
||||||
productServiceModal: false,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const CUSTOMER_BRANCH_DEFAULT: CustomerBranchCreate & {
|
const CUSTOMER_BRANCH_DEFAULT: CustomerBranchCreate & {
|
||||||
|
|
@ -664,69 +663,6 @@ watch(() => pageState.currentTab, fetchQuotationList);
|
||||||
|
|
||||||
<!-- NOTE: END - Quotation Form -->
|
<!-- 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 -->
|
<!-- NOTE: START - Customer / Employer Type Select Form -->
|
||||||
|
|
||||||
<DialogForm
|
<DialogForm
|
||||||
|
|
@ -910,7 +846,7 @@ watch(() => pageState.currentTab, fetchQuotationList);
|
||||||
<EmployerFormAbout
|
<EmployerFormAbout
|
||||||
id="form-information"
|
id="form-information"
|
||||||
show-title
|
show-title
|
||||||
:index="(0).toString()"
|
:index="'0'"
|
||||||
:customerType="customerFormData.customerType"
|
:customerType="customerFormData.customerType"
|
||||||
:readonly="customerFormState.dialogType === 'info'"
|
:readonly="customerFormState.dialogType === 'info'"
|
||||||
v-model:citizen-id="formDataCustomerBranch.citizenId"
|
v-model:citizen-id="formDataCustomerBranch.citizenId"
|
||||||
|
|
@ -935,7 +871,7 @@ watch(() => pageState.currentTab, fetchQuotationList);
|
||||||
<EmployerFormBusiness
|
<EmployerFormBusiness
|
||||||
id="form-business"
|
id="form-business"
|
||||||
show-title
|
show-title
|
||||||
prefixId="dialog"
|
prefix-id="dialog"
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
:readonly="customerFormState.dialogType === 'info'"
|
:readonly="customerFormState.dialogType === 'info'"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue