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>
|
||||||
<div class="col-2">
|
<div class="col-2">
|
||||||
<q-input
|
<!-- :class="
|
||||||
:class="
|
classInput(
|
||||||
classInput(
|
|
||||||
(actionType === 'ADD' &&
|
|
||||||
props?.dataNode?.orgLevel !== 0 &&
|
|
||||||
level !== 0) ||
|
|
||||||
(actionType === 'EDIT' && props?.dataNode?.orgLevel > 1)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
:readonly="
|
|
||||||
(actionType === 'ADD' &&
|
(actionType === 'ADD' &&
|
||||||
props?.dataNode?.orgLevel !== 0 &&
|
props?.dataNode?.orgLevel !== 0 &&
|
||||||
level !== 0) ||
|
level !== 0) ||
|
||||||
(actionType === 'EDIT' && props?.dataNode?.orgLevel > 1)
|
(actionType === 'EDIT' && props?.dataNode?.orgLevel > 1)
|
||||||
"
|
)
|
||||||
mask="##"
|
"
|
||||||
|
: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"
|
v-model="formData.orgCode"
|
||||||
ref="orgCodeRef"
|
ref="orgCodeRef"
|
||||||
dense
|
dense
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue