Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 3m9s

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-04-29 13:58:16 +07:00
commit aad1009c0a
2 changed files with 7 additions and 2 deletions

View file

@ -54,6 +54,7 @@ const reason = ref<string>(""); //หมายเหตุ
const status = ref<string>("");
const fullName = ref<string>("");
const mianData = ref<MainData>();
const typeCommand = ref<string>(""); //
/** fetch รายละเอียดการปรับระดับชั้นงานลูกจ้าง*/
async function fecthappointmentByid() {
@ -79,6 +80,7 @@ async function fecthappointmentByid() {
salary.value = data.salary ?? 0;
reason.value = data.reason;
date.value = data.positionDate;
typeCommand.value = data.typeCommand;
})
.catch((e) => {
messageError($q, e);
@ -323,7 +325,10 @@ onMounted(async () => {
</div>
<div class="col-12"><q-separator /></div>
<div class="col-xs-6 col-sm-6 row items-center">
<div
class="col-xs-6 col-sm-6 row items-center"
v-if="typeCommand !== 'MOVE'"
>
<div class="col-12">
<datepicker
:readonly="!edit"

View file

@ -252,7 +252,7 @@ async function fecthlistappointment() {
e.positionTypeOld &&
e.positionLevelOld &&
e.positionNumberOld &&
e.positionDate
(e.positionDate || e.typeCommand === "MOVE")
);
rows2.value = listData;
rows2Data.value = listData;