From 5fb8c24263d78ad96556659815266c6038a335d0 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 18 Jul 2025 15:15:41 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84?= =?UTF-8?q?=E0=B8=82=20field=20=E0=B8=94=E0=B9=89=E0=B8=B2=E0=B8=99?= =?UTF-8?q?=E0=B8=97=E0=B8=B2=E0=B8=87=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=9A?= =?UTF-8?q?=E0=B8=A3=E0=B8=B4=E0=B8=AB=E0=B8=B2=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_registryPerson/views/edit/components/Table.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/04_registryPerson/views/edit/components/Table.vue b/src/modules/04_registryPerson/views/edit/components/Table.vue index 96365be8d..0edba5461 100644 --- a/src/modules/04_registryPerson/views/edit/components/Table.vue +++ b/src/modules/04_registryPerson/views/edit/components/Table.vue @@ -581,6 +581,9 @@ async function onSave(val: any, id: string, close?: () => void) { if (isCol("positionExecutive")) { body.positionExecutive = val; } + if (isCol("positionExecutiveField")) { + body.positionExecutiveField = val; + } if (isCol("amount")) { body.amount = toNumber(formData.amount); body.amountSpecial = toNumber(formData.amountSpecial); @@ -722,8 +725,6 @@ async function fetchType() { * @param val id ประเภทตำแหน่ง */ async function updateSelectType(val: string) { - console.log(val); - const listLevel = val ? dataLevel.value.find((e: DataPosType) => e.posTypeName === val) : null; @@ -1347,6 +1348,7 @@ onMounted(async () => { v-else-if=" col.name === 'positionName' || col.name === 'positionExecutive' || + col.name === 'positionExecutiveField' || col.name === 'remark' " outlined