fix onHIde fix Salary
This commit is contained in:
parent
e6c1fac877
commit
01e1da066f
2 changed files with 1 additions and 24 deletions
|
|
@ -539,26 +539,6 @@ function onShow(data: DataPosition, colName: string) {
|
||||||
formData.commandYear = data.commandYear;
|
formData.commandYear = data.commandYear;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** ฟังก์ชันกำหนดค่า FormData ทำงานเมื่อ popup editปิด*/
|
|
||||||
function onHide() {
|
|
||||||
formData.positionLevel = "";
|
|
||||||
formData.positionCee = "";
|
|
||||||
formData.amount = 0;
|
|
||||||
formData.amountSpecial = 0;
|
|
||||||
formData.orgRoot = "";
|
|
||||||
formData.orgChild1 = "";
|
|
||||||
formData.orgChild2 = "";
|
|
||||||
formData.orgChild3 = "";
|
|
||||||
formData.orgChild4 = "";
|
|
||||||
formData.posNoAbb = "";
|
|
||||||
formData.posNo = "";
|
|
||||||
formData.commandCode = "";
|
|
||||||
formData.posNumCodeSit = "";
|
|
||||||
formData.posNumCodeSitAbb = "";
|
|
||||||
formData.commandNo = "";
|
|
||||||
formData.commandYear = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ฟังก์ชันบันทึกข้อมูลการแก้ไข
|
* ฟังก์ชันบันทึกข้อมูลการแก้ไข
|
||||||
* @param val
|
* @param val
|
||||||
|
|
@ -939,7 +919,6 @@ onMounted(async () => {
|
||||||
label-set="บันทึก"
|
label-set="บันทึก"
|
||||||
label-cancel="ยกเลิก"
|
label-cancel="ยกเลิก"
|
||||||
@before-show="onShow(props.row, col.name)"
|
@before-show="onShow(props.row, col.name)"
|
||||||
@hide="onHide"
|
|
||||||
:persistent="col.name === 'commandNo'"
|
:persistent="col.name === 'commandNo'"
|
||||||
>
|
>
|
||||||
<div class="q-mb-xs">
|
<div class="q-mb-xs">
|
||||||
|
|
@ -1201,7 +1180,6 @@ onMounted(async () => {
|
||||||
label-set="บันทึก"
|
label-set="บันทึก"
|
||||||
label-cancel="ยกเลิก"
|
label-cancel="ยกเลิก"
|
||||||
@before-show="onShow(props.row, col.name)"
|
@before-show="onShow(props.row, col.name)"
|
||||||
@hide="onHide"
|
|
||||||
>
|
>
|
||||||
<div class="q-mb-xs">
|
<div class="q-mb-xs">
|
||||||
{{ `แก้ไข${col.label}` }}
|
{{ `แก้ไข${col.label}` }}
|
||||||
|
|
@ -1298,7 +1276,6 @@ onMounted(async () => {
|
||||||
label-cancel="ยกเลิก"
|
label-cancel="ยกเลิก"
|
||||||
@save="onSave"
|
@save="onSave"
|
||||||
@before-show="onShow(props.row, col.name)"
|
@before-show="onShow(props.row, col.name)"
|
||||||
@hide="onHide"
|
|
||||||
>
|
>
|
||||||
<div class="q-mb-xs">
|
<div class="q-mb-xs">
|
||||||
{{ `แก้ไข${col.label}` }}
|
{{ `แก้ไข${col.label}` }}
|
||||||
|
|
|
||||||
|
|
@ -592,7 +592,7 @@ onMounted(async () => {
|
||||||
v-model:is-officer="isOfficer"
|
v-model:is-officer="isOfficer"
|
||||||
v-model:is-staff="isStaff"
|
v-model:is-staff="isStaff"
|
||||||
system-name="SALARY_EMP"
|
system-name="SALARY_EMP"
|
||||||
:command-type-code-array="['C-PM-36', 'C-PM-37']"
|
:command-type-code-array="['C-PM-36', 'C-PM-37', 'C-PM-45', 'C-PM-46']"
|
||||||
:salary-period-id="salaryPeriodId"
|
:salary-period-id="salaryPeriodId"
|
||||||
:title-command="titleCommand"
|
:title-command="titleCommand"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue