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