fix: handle readonly check rule
This commit is contained in:
parent
8df3197fc1
commit
34acae4329
1 changed files with 7 additions and 2 deletions
|
|
@ -2479,6 +2479,7 @@ const emptyCreateDialog = ref(false);
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="col surface-1 full-height rounded bordered scroll row relative-position"
|
class="col surface-1 full-height rounded bordered scroll row relative-position"
|
||||||
|
:key="String(!employeeFormState.isEmployeeEdit)"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="col"
|
class="col"
|
||||||
|
|
@ -4354,7 +4355,10 @@ const emptyCreateDialog = ref(false);
|
||||||
'q-px-md q-pb-sm': !$q.screen.gt.sm,
|
'q-px-md q-pb-sm': !$q.screen.gt.sm,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div class="col bg-red surface-1 rounded bordered row">
|
<div
|
||||||
|
class="col bg-red surface-1 rounded bordered row"
|
||||||
|
:key="String(!employeeFormState.isEmployeeEdit)"
|
||||||
|
>
|
||||||
<div class="col full-height scroll" v-if="$q.screen.gt.sm">
|
<div class="col full-height scroll" v-if="$q.screen.gt.sm">
|
||||||
<div class="q-py-md q-pl-md q-pr-sm">
|
<div class="q-py-md q-pl-md q-pr-sm">
|
||||||
<SideMenu
|
<SideMenu
|
||||||
|
|
@ -4627,7 +4631,7 @@ const emptyCreateDialog = ref(false);
|
||||||
"
|
"
|
||||||
class="q-mb-xl"
|
class="q-mb-xl"
|
||||||
/>
|
/>
|
||||||
<FormPerson
|
<FormPerso
|
||||||
id="drawer-form-personal"
|
id="drawer-form-personal"
|
||||||
prefix-id="drawer-info-employee"
|
prefix-id="drawer-info-employee"
|
||||||
dense
|
dense
|
||||||
|
|
@ -4666,6 +4670,7 @@ const emptyCreateDialog = ref(false);
|
||||||
employeeFormState.formDataEmployeeSameAddr
|
employeeFormState.formDataEmployeeSameAddr
|
||||||
"
|
"
|
||||||
:readonly="!employeeFormState.isEmployeeEdit"
|
:readonly="!employeeFormState.isEmployeeEdit"
|
||||||
|
:disabledRule="!employeeFormState.isEmployeeEdit"
|
||||||
prefix-id="drawer-info-personnel"
|
prefix-id="drawer-info-personnel"
|
||||||
dense
|
dense
|
||||||
class="q-mb-xl"
|
class="q-mb-xl"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue