โครงสร้างอัตรากำลัง => fix bug
This commit is contained in:
parent
15d174a98c
commit
03dfcf6b9f
2 changed files with 6 additions and 3 deletions
|
|
@ -219,6 +219,7 @@ watch(
|
|||
if (props.modal === true) {
|
||||
if (actionType.value === "ADD") {
|
||||
console.log(props.dataNode);
|
||||
console.log(level.value);
|
||||
|
||||
if (props.dataNode) {
|
||||
formData.orgCode =
|
||||
|
|
@ -351,7 +352,9 @@ function selectOrgLevele(val: string, status: boolean = true) {
|
|||
<div class="col-2">
|
||||
<q-input
|
||||
:readonly="
|
||||
(actionType === 'ADD' && props?.dataNode?.orgLevel !== 0) ||
|
||||
(actionType === 'ADD' &&
|
||||
props?.dataNode?.orgLevel !== 0 &&
|
||||
level !== 0) ||
|
||||
(actionType === 'EDIT' && props?.dataNode?.orgLevel > 1)
|
||||
"
|
||||
mask="##"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue