โครงสร้างอัตรากำลัง => เพิ่ม field positionIsSelected
This commit is contained in:
parent
bcdc4af845
commit
3553f825e1
2 changed files with 4 additions and 1 deletions
|
|
@ -364,6 +364,7 @@ function onSubmit() {
|
|||
posDictExecutiveField: e.positionExecutiveField, //ด้านทางการบริหาร
|
||||
posDictArea: e.positionArea, //ด้าน/สาขา
|
||||
isSpecial: e.isSpecial,
|
||||
positionIsSelected: e.positionIsSelected,
|
||||
}));
|
||||
const body = {
|
||||
posMasterNoPrefix: formData.prefixNo, //*Prefix นำหน้าเลขที่ตำแหน่ง เป็น Optional (ไม่ใช่อักษรย่อของหน่วยงาน/ส่วนราชการ)
|
||||
|
|
@ -543,6 +544,8 @@ watch(
|
|||
);
|
||||
|
||||
async function addPosition(data: RowDetailPositions) {
|
||||
console.log(data);
|
||||
|
||||
const isIdExist = await rows.value.some(
|
||||
(item: any) =>
|
||||
item.posExecutiveId == data.posExecutiveId &&
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@ watch(
|
|||
<q-card style="min-width: 80vw">
|
||||
<DialogHeader
|
||||
:tittle="
|
||||
props.actionType === 'ADD' ? 'เพิ่มอัตรากำลัง' : 'แก้ไขอัตรากำลัง'
|
||||
props.actionType === 'ADD' ? 'เพิ่มอัตรากำลัง' : 'แก้ไขอัตรากำลัง111'
|
||||
"
|
||||
:close="close"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue