From eebd4cfebc951bc8d4ca9faa9274a3f8faa95c46 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 4 Mar 2025 15:53:17 +0700 Subject: [PATCH] fix org --- .../components/DialogFormAgency.vue | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/src/modules/02_organization/components/DialogFormAgency.vue b/src/modules/02_organization/components/DialogFormAgency.vue index 5565a54e0..f1497f051 100644 --- a/src/modules/02_organization/components/DialogFormAgency.vue +++ b/src/modules/02_organization/components/DialogFormAgency.vue @@ -543,22 +543,23 @@ watch( />
- 1) - " - mask="##" + (actionType === 'EDIT' && props?.dataNode?.orgLevel > 1) + ) + " + :readonly=" + (actionType === 'ADD' && + props?.dataNode?.orgLevel !== 0 && + level !== 0) || + (actionType === 'EDIT' && props?.dataNode?.orgLevel > 1) + " --> +