diff --git a/src/modules/07_insignia/components/3_result/DialogResults.vue b/src/modules/07_insignia/components/3_result/DialogResults.vue index f2638ae10..53a5ae00d 100644 --- a/src/modules/07_insignia/components/3_result/DialogResults.vue +++ b/src/modules/07_insignia/components/3_result/DialogResults.vue @@ -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(""); //สังกัด ณ วัน const receivedate = ref(); //วันที่ได้รับพระราชทานเครื่องราชอิสริยาภรณ์ const announceDate = ref(); //วันที่ const invoiceDate = ref(null); //วันที่จ่ายใบกำกับ -const filterinsigniaOp2 = ref([]); //ตัวเลือกเครื่องราชอิสริยาภรณ์ +const filterinsigniaOp2 = ref([]); //ตัวเลือกเครื่องราชอิสริยาภรณ์ const employeeClass = ref(""); //ขรก.สามัญ/ลูกจ้างประจำ //ประเภท ขรก.สามัญ/ลูกจ้างประจำ -const employeeClassOps = ref([ +const employeeClassOps = ref([ { 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" /> + @@ -578,6 +587,14 @@ watch(props, () => { class="cursor-pointer" /> + @@ -651,6 +668,7 @@ watch(props, () => { borderless :enableTimePicker="false" week-start="0" + :readonly="disbleStatus" >