fix เครื่องราช
This commit is contained in:
parent
2bcbbe8c9f
commit
8f3926994a
4 changed files with 62 additions and 31 deletions
|
|
@ -10,7 +10,8 @@ import config from "@/app.config";
|
|||
/**
|
||||
* import Type
|
||||
*/
|
||||
import type { DataOption } from "@/modules/04_registry/components/profileType";
|
||||
// import type { DataOption } from "@/modules/04_registry/components/profileType";
|
||||
import type { OptionData } from "@/modules/07_insignia/interface/index/Main";
|
||||
|
||||
import DialogHeader from "@/components/DialogHeader.vue";
|
||||
|
||||
|
|
@ -76,10 +77,10 @@ const affiliationReceived = ref<string>(""); //สังกัด ณ วัน
|
|||
const receivedate = ref<Date | null>(); //วันที่ได้รับพระราชทานเครื่องราชอิสริยาภรณ์
|
||||
const announceDate = ref<Date | null>(); //วันที่
|
||||
const invoiceDate = ref<Date | null>(null); //วันที่จ่ายใบกำกับ
|
||||
const filterinsigniaOp2 = ref<DataOption[]>([]); //ตัวเลือกเครื่องราชอิสริยาภรณ์
|
||||
const filterinsigniaOp2 = ref<OptionData[]>([]); //ตัวเลือกเครื่องราชอิสริยาภรณ์
|
||||
const employeeClass = ref<string>(""); //ขรก.สามัญ/ลูกจ้างประจำ
|
||||
//ประเภท ขรก.สามัญ/ลูกจ้างประจำ
|
||||
const employeeClassOps = ref<DataOption[]>([
|
||||
const employeeClassOps = ref<OptionData[]>([
|
||||
{ id: "officer", name: "ข้าราชการ กทม.สามัญ" },
|
||||
{ id: "employee", name: "ลูกจ้างประจำ" },
|
||||
]);
|
||||
|
|
@ -267,7 +268,7 @@ function filterSelector(val: string, update: Function, name: string) {
|
|||
if (name === "insigniaOp2") {
|
||||
brand.value = val ? "" : brand.value;
|
||||
filterinsigniaOp2.value = DataStore.insigniaOp2.filter(
|
||||
(v: DataOption) => v.name.toLowerCase().indexOf(needle) > -1
|
||||
(v: OptionData) => v.name.toLowerCase().indexOf(needle) > -1
|
||||
);
|
||||
}
|
||||
});
|
||||
|
|
@ -486,6 +487,14 @@ watch(props, () => {
|
|||
class="cursor-pointer"
|
||||
/>
|
||||
</template>
|
||||
<template v-slot:prepend>
|
||||
<q-icon
|
||||
name="event"
|
||||
class="cursor-pointer"
|
||||
color="primary"
|
||||
>
|
||||
</q-icon>
|
||||
</template>
|
||||
</q-input>
|
||||
</template>
|
||||
</datepicker>
|
||||
|
|
@ -578,6 +587,14 @@ watch(props, () => {
|
|||
class="cursor-pointer"
|
||||
/>
|
||||
</template>
|
||||
<template v-slot:prepend>
|
||||
<q-icon
|
||||
name="event"
|
||||
class="cursor-pointer"
|
||||
color="primary"
|
||||
>
|
||||
</q-icon>
|
||||
</template>
|
||||
</q-input>
|
||||
</template>
|
||||
</datepicker>
|
||||
|
|
@ -651,6 +668,7 @@ watch(props, () => {
|
|||
borderless
|
||||
:enableTimePicker="false"
|
||||
week-start="0"
|
||||
:readonly="disbleStatus"
|
||||
>
|
||||
<template #year="{ year }">
|
||||
{{ year + 543 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue