fix bug วันที่ลงนามในออกคำสั่ง, แก้ข้อความของเครื่องราช, เพิ่มแสดงตำแหน่งและระดับในทดลองงาน

This commit is contained in:
Warunee Tamkoo 2023-09-25 15:17:22 +07:00
parent ced8a9c61f
commit 83e6522a97
3 changed files with 280 additions and 997 deletions

File diff suppressed because it is too large Load diff

View file

@ -46,7 +46,7 @@ const checkboxData = ref<any>([
{ id: 1, name: "มีโทษทางวินัย", val: true },
{
id: 2,
name: "ไม่ได้เลื่อนเงินเดือน/ไม่ได้เลื่อนขั้นเงินเดือน เนื่องจากลาเกิน",
name: "ไม่ได้เลื่อนเงินเดือน/ไม่ได้เลื่อนขั้น เนื่องจากลาเกิน",
val: false,
},
{

View file

@ -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) {