diff --git a/src/modules/07_insignia/components/1_Proposals/listProposals.vue b/src/modules/07_insignia/components/1_Proposals/listProposals.vue index a12376622..cf03179a8 100644 --- a/src/modules/07_insignia/components/1_Proposals/listProposals.vue +++ b/src/modules/07_insignia/components/1_Proposals/listProposals.vue @@ -49,8 +49,6 @@ const columns = ref([ field: "period_year", headerStyle: "font-size: 14px", style: "font-size: 14px", - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, { name: "period_start", @@ -78,12 +76,10 @@ const columns = ref([ name: "statusRoyal", align: "center", label: "สถานะราชกิจจานุเบกษา", - sortable: true, + sortable: false, field: "statusRoyal", headerStyle: "font-size: 14px", style: "font-size: 14px", - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, ]); diff --git a/src/modules/07_insignia/components/2_Manage/Tab1.vue b/src/modules/07_insignia/components/2_Manage/Tab1.vue index 565575114..6f801ba8d 100644 --- a/src/modules/07_insignia/components/2_Manage/Tab1.vue +++ b/src/modules/07_insignia/components/2_Manage/Tab1.vue @@ -54,7 +54,7 @@ const columns = ref([ name: "no", align: "left", label: "ลำดับ", - sortable: true, + sortable: false, field: "no", headerStyle: "font-size: 14px", style: "font-size: 14px", @@ -765,6 +765,7 @@ const closeModalEdit = () => { { { ([ name: "no", align: "left", label: "ลำดับ", - sortable: true, + sortable: false, field: "no", headerStyle: "font-size: 14px", style: "font-size: 14px", diff --git a/src/modules/07_insignia/components/2_Manage/Tab3.vue b/src/modules/07_insignia/components/2_Manage/Tab3.vue index ba0b431b1..3d6dd0f4d 100644 --- a/src/modules/07_insignia/components/2_Manage/Tab3.vue +++ b/src/modules/07_insignia/components/2_Manage/Tab3.vue @@ -47,7 +47,7 @@ const columns = ref([ name: "no", align: "left", label: "ลำดับ", - sortable: true, + sortable: false, field: "no", headerStyle: "font-size: 14px", style: "font-size: 14px", diff --git a/src/modules/07_insignia/components/2_Manage/Tab4.vue b/src/modules/07_insignia/components/2_Manage/Tab4.vue index 28938d0c2..9d56c7f6c 100644 --- a/src/modules/07_insignia/components/2_Manage/Tab4.vue +++ b/src/modules/07_insignia/components/2_Manage/Tab4.vue @@ -27,7 +27,7 @@ const columns = ref([ name: "no", align: "left", label: "ลำดับ", - sortable: true, + sortable: false, field: "no", headerStyle: "font-size: 14px", style: "font-size: 14px", diff --git a/src/modules/07_insignia/components/2_Manage/downloadFile.vue b/src/modules/07_insignia/components/2_Manage/downloadFile.vue index b232504be..02bc9a282 100644 --- a/src/modules/07_insignia/components/2_Manage/downloadFile.vue +++ b/src/modules/07_insignia/components/2_Manage/downloadFile.vue @@ -37,7 +37,7 @@ const downloadDocument = async (type: string) => { }) .then(async (res) => { if (download) { - downloadFile(res, `${titleReport.value}.${type}`); + downloadFile(res, `ประวัติสำหรับการเสนอขอพระราชทานเหรียญจักรพรรดิมาลา.${type}`); } }) .catch((e) => { @@ -91,6 +91,4 @@ const downloadFile = (response: any, filename: string) => { - - - + \ No newline at end of file diff --git a/src/modules/07_insignia/components/3_result/DialogForm.vue b/src/modules/07_insignia/components/3_result/DialogForm.vue index 69380384b..6d8e22301 100644 --- a/src/modules/07_insignia/components/3_result/DialogForm.vue +++ b/src/modules/07_insignia/components/3_result/DialogForm.vue @@ -53,11 +53,22 @@ const paymentOp = [ { label: "จัดส่งทางไปรษณี", value: "จัดส่งทางไปรษณี" }, { label: "มารับด้วยตัวเอง", value: "มารับด้วยตัวเอง" }, ]; -const clearDateExam = () => { - receivedate.value = null; + +// reset วันที่ประกาศราชกิจจานุเบกษา +const clearAnnounceExam = () => { announceDate.value = null; - invoiceDate.value = null; }; + +// reset วันที่ได้รับพระราชทานเครื่องราชอิสริยาภรณ์ +const clearDateReceivedate = () => { + receivedate.value = null; +} + +// reset วันที่จ่ายใบกำกับ +const clearDateInvoiceDate = () => { + invoiceDate.value = null; +} + const props = defineProps({ modal: Boolean, save: { @@ -419,7 +430,7 @@ const searchcardid = () => { " :label="`${'วันที่ได้รับพระราชทานเครื่องราชอิสริยาภรณ์'}`" clearable - @clear="clearDateExam" + @clear="clearDateReceivedate" >