fix: tab style decoration

This commit is contained in:
oat_dev 2024-06-07 15:15:42 +07:00
parent 0c2b624d0d
commit f3a0e2ba6c
2 changed files with 38 additions and 36 deletions

View file

@ -56,10 +56,11 @@ const employerBranchCode = defineModel<string>('employerBranchCode');
:readonly="true"
:borderless="readonly"
hide-bottom-space
class="col-4"
class="col-3"
:label="$t('legalEntityCode')"
v-model="legalEntityCode"
/>
<q-input
v-if="typeCustomer === 'customerLegalEntity'"
:dense="dense"
@ -67,20 +68,31 @@ const employerBranchCode = defineModel<string>('employerBranchCode');
:readonly="readonly"
:borderless="readonly"
hide-bottom-space
class="col-5"
:label="$t('taxNo')"
v-model="taxNo"
class="col-3"
:label="$t('customerEnglishName')"
v-model="customerEnglishName"
/>
<q-input
:dense="dense"
:outlined="!readonly"
:readonly="readonly"
:borderless="readonly"
hide-bottom-space
class="col-3"
:label="$t('customerName')"
v-model="customerName"
/>
</div>
<q-input
v-if="typeCustomer === 'customerLegalEntity'"
:dense="dense"
:outlined="!readonly"
:readonly="readonly"
:borderless="readonly"
hide-bottom-space
class="col"
:label="$t('customerName')"
v-model="customerName"
class="col-6"
:label="$t('taxNo')"
v-model="taxNo"
/>
<q-input
v-if="typeCustomer === 'customerLegalEntity'"
@ -90,8 +102,19 @@ const employerBranchCode = defineModel<string>('employerBranchCode');
:borderless="readonly"
hide-bottom-space
class="col-6"
:label="$t('customerEnglishName')"
v-model="customerEnglishName"
:label="$t('registerName')"
v-model="registerName"
/>
<q-input
v-if="typeCustomer === 'customerLegalEntity'"
:dense="dense"
:outlined="!readonly"
:readonly="readonly"
:borderless="readonly"
hide-bottom-space
class="col-3"
:label="$t('authorizedCapital')"
v-model="authorizedCapital"
/>
<VueDatePicker
v-if="typeCustomer === 'customerLegalEntity'"
@ -137,28 +160,6 @@ const employerBranchCode = defineModel<string>('employerBranchCode');
</q-input>
</template>
</VueDatePicker>
<q-input
v-if="typeCustomer === 'customerLegalEntity'"
:dense="dense"
:outlined="!readonly"
:readonly="readonly"
:borderless="readonly"
hide-bottom-space
class="col-3"
:label="$t('authorizedCapital')"
v-model="authorizedCapital"
/>
<q-input
v-if="typeCustomer === 'customerLegalEntity'"
:dense="dense"
:outlined="!readonly"
:readonly="readonly"
:borderless="readonly"
hide-bottom-space
class="col-6"
:label="$t('registerName')"
v-model="registerName"
/>
</div>
</div>
<q-separator