fix: business type display
This commit is contained in:
parent
fd28f36876
commit
e33191dcd4
2 changed files with 8 additions and 17 deletions
|
|
@ -4328,7 +4328,7 @@ const emptyCreateDialog = ref(false);
|
|||
customerFormData.customerBranch[0].legalPersonNo
|
||||
"
|
||||
v-model:business-type="
|
||||
customerFormData.customerBranch[0].businessType
|
||||
customerFormData.customerBranch[0].businessTypeId
|
||||
"
|
||||
v-model:job-position="
|
||||
customerFormData.customerBranch[0].jobPosition
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
import useOptionStore from 'stores/options';
|
||||
import SelectBranch from 'src/components/shared/select/SelectBranch.vue';
|
||||
import { isRoleInclude } from 'src/stores/utils';
|
||||
import SelectBusinessType from 'src/components/shared/select/SelectBusinessType.vue';
|
||||
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
|
|
@ -142,15 +143,10 @@ const telephoneNo = defineModel<string>('telephoneNo', { default: '' });
|
|||
for="input-tax"
|
||||
v-model="legalPersonNo"
|
||||
/>
|
||||
<q-input
|
||||
dense
|
||||
outlined
|
||||
:readonly="readonly"
|
||||
hide-bottom-space
|
||||
<SelectBusinessType
|
||||
class="col-6 col-md-3"
|
||||
:label="$t('customer.table.businessTypePure')"
|
||||
for="input-business-type"
|
||||
:model-value="optionStore.mapOption(businessType)"
|
||||
v-model:value="businessType"
|
||||
:readonly
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
@ -179,15 +175,10 @@ const telephoneNo = defineModel<string>('telephoneNo', { default: '' });
|
|||
:label="$t('personnel.form.citizenId')"
|
||||
for="input-citizen-id"
|
||||
/>
|
||||
<q-input
|
||||
dense
|
||||
outlined
|
||||
:readonly="readonly"
|
||||
hide-bottom-space
|
||||
<SelectBusinessType
|
||||
class="col-6 col-md-3"
|
||||
:label="$t('customer.table.businessTypePure')"
|
||||
for="input-first-name-en"
|
||||
:model-value="optionStore.mapOption(businessType)"
|
||||
v-model:value="businessType"
|
||||
:readonly
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue