fix org
This commit is contained in:
parent
d1e6c3a1cb
commit
eebd4cfebc
1 changed files with 14 additions and 13 deletions
|
|
@ -543,22 +543,23 @@ watch(
|
|||
/>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<q-input
|
||||
:class="
|
||||
classInput(
|
||||
(actionType === 'ADD' &&
|
||||
props?.dataNode?.orgLevel !== 0 &&
|
||||
level !== 0) ||
|
||||
(actionType === 'EDIT' && props?.dataNode?.orgLevel > 1)
|
||||
)
|
||||
"
|
||||
:readonly="
|
||||
<!-- :class="
|
||||
classInput(
|
||||
(actionType === 'ADD' &&
|
||||
props?.dataNode?.orgLevel !== 0 &&
|
||||
level !== 0) ||
|
||||
(actionType === 'EDIT' && props?.dataNode?.orgLevel > 1)
|
||||
"
|
||||
mask="##"
|
||||
(actionType === 'EDIT' && props?.dataNode?.orgLevel > 1)
|
||||
)
|
||||
"
|
||||
:readonly="
|
||||
(actionType === 'ADD' &&
|
||||
props?.dataNode?.orgLevel !== 0 &&
|
||||
level !== 0) ||
|
||||
(actionType === 'EDIT' && props?.dataNode?.orgLevel > 1)
|
||||
" -->
|
||||
<q-input
|
||||
:class="classInput(false)"
|
||||
:mask="level === 0 ? '##' : '########'"
|
||||
v-model="formData.orgCode"
|
||||
ref="orgCodeRef"
|
||||
dense
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue