no message
This commit is contained in:
parent
433555b0c7
commit
6f168f0c8a
2 changed files with 5 additions and 2 deletions
|
|
@ -358,9 +358,10 @@ function onSubmit() {
|
|||
posDictField: e.positionField, //สายงาน
|
||||
posTypeId: e.posTypeId, //*ประเภทตำแหน่ง
|
||||
posLevelId: e.posLevelId, //*ระดับตำแหน่ง
|
||||
posExecutiveId: e.posExecutiveId, //ตำแหน่งทางการบริหาร
|
||||
posExecutiveId: e.posExecutiveId ? e.posExecutiveId:'', //ตำแหน่งทางการบริหาร
|
||||
posDictExecutiveField: e.positionExecutiveField, //ด้านทางการบริหาร
|
||||
posDictArea: e.positionArea, //ด้าน/สาขา
|
||||
isSpecial: e.isSpecial,
|
||||
}));
|
||||
const body = {
|
||||
posMasterNoPrefix: formData.prefixNo, //*Prefix นำหน้าเลขที่ตำแหน่ง เป็น Optional (ไม่ใช่อักษรย่อของหน่วยงาน/ส่วนราชการ)
|
||||
|
|
@ -547,7 +548,8 @@ async function addPosition(data: RowDetailPositions) {
|
|||
item.posTypeId == data.posTypeId &&
|
||||
item.positionArea == data.positionArea &&
|
||||
item.positionExecutiveField == data.positionExecutiveField &&
|
||||
item.positionName == data.positionName
|
||||
item.positionName == data.positionName &&
|
||||
item.isSpecial == data.isSpecial
|
||||
);
|
||||
|
||||
if (!isIdExist) {
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ interface RowDetailPositions {
|
|||
posTypeId: string;
|
||||
posLevelId: string;
|
||||
posExecutiveId: string;
|
||||
isSpecial: boolean;
|
||||
}
|
||||
|
||||
interface NewPagination {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue