fix: form address, by type, information
This commit is contained in:
parent
42c38938d7
commit
d453f0ba3e
3 changed files with 43 additions and 26 deletions
|
|
@ -44,7 +44,7 @@ async function selectHq(id: string) {
|
|||
map-options
|
||||
options-dense
|
||||
hide-bottom-space
|
||||
class="col-6"
|
||||
class="col-4"
|
||||
v-model="hqId"
|
||||
option-label="label"
|
||||
option-value="value"
|
||||
|
|
@ -65,13 +65,31 @@ async function selectHq(id: string) {
|
|||
options-dense
|
||||
clearable
|
||||
hide-bottom-space
|
||||
class="col-6"
|
||||
class="col-4"
|
||||
v-model="brId"
|
||||
:label="$t('formDialogInputBrId')"
|
||||
option-label="label"
|
||||
option-value="value"
|
||||
:options="userStore.userOption.brOpts"
|
||||
/>
|
||||
<q-input
|
||||
id="input-username"
|
||||
:dense="dense"
|
||||
:outlined="readonly ? false : outlined"
|
||||
:borderless="readonly"
|
||||
:readonly="usernameReadonly"
|
||||
emit-value
|
||||
map-options
|
||||
options-dense
|
||||
hide-bottom-space
|
||||
class="col-4"
|
||||
:label="$t('formDialogInputUsername')"
|
||||
v-model="username"
|
||||
:rules="[
|
||||
(val: string) =>
|
||||
val.length > 2 || $t('formDialogInputUsernameValidate'),
|
||||
]"
|
||||
/>
|
||||
<q-select
|
||||
id="select-user-type"
|
||||
:dense="dense"
|
||||
|
|
@ -83,7 +101,7 @@ async function selectHq(id: string) {
|
|||
map-options
|
||||
options-dense
|
||||
hide-bottom-space
|
||||
class="col-3"
|
||||
class="col-6"
|
||||
option-value="value"
|
||||
option-label="label"
|
||||
:label="$t('formDialogInputUserType')"
|
||||
|
|
@ -102,7 +120,7 @@ async function selectHq(id: string) {
|
|||
map-options
|
||||
options-dense
|
||||
hide-bottom-space
|
||||
class="col-3"
|
||||
class="col-6"
|
||||
:label="$t('formDialogInputUserRole')"
|
||||
option-label="label"
|
||||
option-value="value"
|
||||
|
|
@ -110,25 +128,7 @@ async function selectHq(id: string) {
|
|||
:options="userStore.userOption.roleOpts"
|
||||
:rules="[(val: string) => !!val || $t('formDialogInputUserRoleValidate')]"
|
||||
/>
|
||||
<q-input
|
||||
id="input-username"
|
||||
:dense="dense"
|
||||
:outlined="readonly ? false : outlined"
|
||||
:borderless="readonly"
|
||||
:readonly="usernameReadonly"
|
||||
emit-value
|
||||
map-options
|
||||
options-dense
|
||||
hide-bottom-space
|
||||
class="col-3"
|
||||
:label="$t('formDialogInputUsername')"
|
||||
v-model="username"
|
||||
:rules="[
|
||||
(val: string) =>
|
||||
val.length > 2 || $t('formDialogInputUsernameValidate'),
|
||||
]"
|
||||
/>
|
||||
<q-input
|
||||
<!-- <q-input
|
||||
id="input-user-code"
|
||||
:dense="dense"
|
||||
:outlined="readonly ? false : outlined"
|
||||
|
|
@ -138,7 +138,7 @@ async function selectHq(id: string) {
|
|||
class="col-3"
|
||||
:label="$t('formDialogInputUserCode')"
|
||||
v-model="userCode"
|
||||
/>
|
||||
/> -->
|
||||
</div>
|
||||
<q-separator
|
||||
v-if="separator"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue