+
@@ -77,7 +156,8 @@ const close = () => {
-
@@ -85,14 +165,14 @@ const close = () => {
-
-
- คืนเครื่องราชฯ
-
+
+
+
@@ -104,7 +184,7 @@ const close = () => {
+ " :label="`${'วันที่คืน'}`" clearable @clear="clearReturnDate">
@@ -114,7 +194,7 @@ const close = () => {
-
@@ -127,19 +207,19 @@ const close = () => {
:rules="[(val) => !!val || 'กรุณาเลือกหน่วยงานที่คืน']" />
-
+
-
-
+
บันทึก
diff --git a/src/modules/07_insignia/storeResult.ts b/src/modules/07_insignia/storeResult.ts
index 5113d8288..c4d8a1c7a 100644
--- a/src/modules/07_insignia/storeResult.ts
+++ b/src/modules/07_insignia/storeResult.ts
@@ -58,6 +58,12 @@ export const useResultDataStore = defineStore("insigniaResult", () => {
datepay: date2Thai(e.datePayment),
typepay: e.typePayment,
address: e.address,
+ dateReceiveInsignia:e.dateReceiveInsignia,
+ dateReturnInsignia:e.dateReturnInsignia,
+ docReceiveInsignia:e.docReceiveInsignia,
+ docReturnInsignia:e.docReturnInsignia,
+ orgReceiveInsignia:e.orgReceiveInsignia,
+ orgReturnInsignia:e.orgReturnInsignia,
}));
rows.value = alllist
listInsignia.value = alllist
diff --git a/src/modules/07_insignia/views/ResultPage.vue b/src/modules/07_insignia/views/ResultPage.vue
index 936489a82..c8a477cc5 100644
--- a/src/modules/07_insignia/views/ResultPage.vue
+++ b/src/modules/07_insignia/views/ResultPage.vue
@@ -37,6 +37,8 @@ const fileinvoice = ref
(null);
const loadView = ref(false);
const insigniaTypeOption = ref([]);
const ModalDialog = ref(false);
+const dateReceiveInsignia = ref()
+const fileCheck = ref()
onMounted(async () => {
await fecthRound();
});
@@ -426,8 +428,10 @@ const paginationLabel = (start: number, end: number, total: number) => {
if (paging.value == true) return " " + start + "-" + end + " ใน " + total;
else return start + "-" + end + " ใน " + total;
};
-const OpenModal = () => {
+const OpenModal = (data:any) => {
ModalDialog.value = true;
+ fileCheck.value = data.docReceiveInsignia
+ personId.value = data.id
};
@@ -721,7 +725,9 @@ const OpenModal = () => {
เเก้ไขข้อมูล
-
+
{
-
+
+