refactor: delete docment receive point

This commit is contained in:
Thanaphon Frappet 2024-11-29 10:17:31 +07:00
parent 3679de69f1
commit d6c0d8da92
4 changed files with 0 additions and 19 deletions

View file

@ -1235,9 +1235,6 @@ async function getWorkerFromCriteria(
v-model:work-name="quotationFormData.workName"
v-model:contactor="quotationFormData.contactName"
v-model:telephone="quotationFormData.contactTel"
v-model:document-receive-point="
quotationFormData.documentReceivePoint
"
v-model:due-date="quotationFormData.dueDate"
>
<template #issue-info>

View file

@ -10,9 +10,6 @@ const actor = defineModel<string>('actor', { required: false });
const workName = defineModel<string>('workName', { required: true });
const contactor = defineModel<string>('contactor', { required: true });
const telephone = defineModel<string>('telephone', { required: true });
const documentReceivePoint = defineModel<string>('documentReceivePoint', {
required: true,
});
const dueDate = defineModel<Date | string>('dueDate', { required: true });
const createdAt = defineModel<Date | string>('createdAt');
</script>
@ -85,14 +82,5 @@ const createdAt = defineModel<Date | string>('createdAt');
dense
outlined
/>
<q-input
for="input-docs-receive-point"
:label="$t('quotation.documentReceivePoint')"
:readonly
v-model="documentReceivePoint"
class="col-12 col-md-2"
dense
outlined
/>
</div>
</template>

View file

@ -30,7 +30,6 @@ const DEFAULT_DATA: QuotationPayload = {
payCondition: 'Full',
dueDate: new Date(),
discount: 0,
documentReceivePoint: '',
contactTel: '',
contactName: '',
workName: '',

View file

@ -221,7 +221,6 @@ export type Quotation = {
| 'BillSplitCustom';
date: string | Date;
dueDate: string | Date;
documentReceivePoint: string;
contactTel: string;
contactName: string;
workName: string;
@ -307,7 +306,6 @@ export type QuotationFull = {
| 'BillSplitCustom';
date: string | Date;
dueDate: string | Date;
documentReceivePoint: string;
contactTel: string;
contactName: string;
workName: string;
@ -374,7 +372,6 @@ export type QuotationPayload = {
| 'BillSplit'
| 'BillSplitCustom';
dueDate: Date;
documentReceivePoint: string;
contactTel: string;
contactName: string;
workName: string;