diff --git a/src/modules/18_command/components/Step/3_ReceivedCopy.vue b/src/modules/18_command/components/Step/3_ReceivedCopy.vue index 5825b94ed..ba43820a6 100644 --- a/src/modules/18_command/components/Step/3_ReceivedCopy.vue +++ b/src/modules/18_command/components/Step/3_ReceivedCopy.vue @@ -302,8 +302,8 @@ defineExpose({ dense v-model="props.row.sendCC" :rules="[ - (val) => !!val || `${'กรุณาเลือกช่องทางการส่งสำเนา'}`, - (val) => + (val:string) => !!val || `${'กรุณาเลือกช่องทางการส่งสำเนา'}`, + (val:string) => val.length > 0 || `${'กรุณาเลือกช่องทางการส่งสำเนา'}`, ]" :label="`${'เลือกช่องทางการส่งสำเนา'}`" diff --git a/src/modules/18_command/components/Step/4_Attached.vue b/src/modules/18_command/components/Step/4_Attached.vue index e8df6a0b3..36fc7af0f 100644 --- a/src/modules/18_command/components/Step/4_Attached.vue +++ b/src/modules/18_command/components/Step/4_Attached.vue @@ -1,33 +1,28 @@ @@ -209,14 +186,24 @@ onMounted(async () => { - + /> + +
@@ -242,9 +229,25 @@ onMounted(async () => {
-
+
+
+
+ +
+
+
diff --git a/src/modules/18_command/interface/response/Main.ts b/src/modules/18_command/interface/response/Main.ts index 2e743f79c..40c60bc25 100644 --- a/src/modules/18_command/interface/response/Main.ts +++ b/src/modules/18_command/interface/response/Main.ts @@ -53,9 +53,27 @@ interface DataFileDownload { upload: boolean; } +interface DataFileOrder { + reportName: string; + template: string; + data: { + commandDate: string; + commandExcecuteDate: string; + commandNo: string; + commandTitle: string; + commandYear: 2024; + detailBody: string; + detailFooter: string; + detailHeader: string; + name: string; + position: string; + }; +} + export type { ResListCommand, DataListCommand, DataCommandType, DataFileDownload, + DataFileOrder, };