fix bug วันที่ลงนามในออกคำสั่ง, แก้ข้อความของเครื่องราช, เพิ่มแสดงตำแหน่งและระดับในทดลองงาน
This commit is contained in:
parent
ced8a9c61f
commit
83e6522a97
3 changed files with 280 additions and 997 deletions
|
|
@ -31,7 +31,7 @@ const tab = ref<string>("main");
|
|||
const order = ref<string>("");
|
||||
const code = ref<string>("");
|
||||
const years = ref<number>(new Date().getDate());
|
||||
const date = ref<Date>(new Date());
|
||||
const date = ref<Date | null>(null);
|
||||
const fileOrder = ref<any>(null);
|
||||
const fileTailer = ref<any>(null);
|
||||
|
||||
|
|
@ -161,7 +161,7 @@ const fetchAttachment = async (orderId: string) => {
|
|||
let response = res.data.result;
|
||||
order.value = response.orderNo;
|
||||
years.value = Number(response.orderYear);
|
||||
if (response.date !== undefined) {
|
||||
if (response.date !== undefined && response.date != "") {
|
||||
date.value = response.date;
|
||||
}
|
||||
if (response.orderFileUrl !== null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue