เพิ่มแสดงตำแหน่งติดเงื่อนไข

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-14 15:43:10 +07:00
parent df29a5b02a
commit f9ff464e7e
8 changed files with 42 additions and 20 deletions

View file

@ -160,6 +160,7 @@ async function fetchDataTable(id: string, level: number = 0) {
const newUse = positionUse.value.filter(
(e) => e !== props.dataRow?.posmasterId
);
positionNo.value = posMain.filter((e: any) => !newUse.includes(e.id));
} else {
positionNo.value = posMain.filter(
@ -266,6 +267,7 @@ function clearData() {
posType.value = null;
posLevel.value = "";
isPosition.value = "exam";
filterTree.value = "";
}
/** callback function เมื่อมีการเปิด popup*/
@ -403,7 +405,7 @@ onMounted(() => {
default-expand-all
:nodes="lazy"
node-key="orgTreeId"
label-key="orgTreeName"
label-key="labelName"
:filter="filterTree"
no-results-label="ไม่พบข้อมูลที่ค้นหา"
no-nodes-label="ไม่มีข้อมูล"