ปรับ เครื่องราชฯ
This commit is contained in:
parent
388893395b
commit
981bab8061
4 changed files with 416 additions and 139 deletions
|
|
@ -77,7 +77,7 @@ const clickOpenpopup = () => {
|
|||
OrderTypeOption.value = props.OrderTypeOption.filter(
|
||||
(e: any) => e.name !== "ทั้งหมด"
|
||||
);
|
||||
reportType.value = OrderTypeOption.value[0].id;
|
||||
reportType.value = OrderTypeOption.value[0].name;
|
||||
let currentDate = new Date();
|
||||
let currentYear = currentDate.getFullYear();
|
||||
reportYear.value = currentYear;
|
||||
|
|
@ -89,7 +89,7 @@ const clickSearch = async () => {
|
|||
await myForm.value!.validate().then((result: boolean) => {
|
||||
if (result) {
|
||||
let body = {
|
||||
commandTypeId: reportType.value,
|
||||
commandType: reportType.value,
|
||||
year: reportYear.value,
|
||||
posno: reportNo.value,
|
||||
};
|
||||
|
|
@ -110,7 +110,7 @@ const clickSearch = async () => {
|
|||
position: e.position,
|
||||
}));
|
||||
} else {
|
||||
notifyError($q, "ไม่มีข้อมูลที่ต้องการค้นหา");
|
||||
// notifyError($q, "ไม่มีข้อมูลที่ต้องการค้นหา");
|
||||
rows.value = [];
|
||||
}
|
||||
})
|
||||
|
|
@ -188,7 +188,7 @@ const paginationLabel = (start: number, end: number, total: number) => {
|
|||
map-options
|
||||
:options="OrderTypeOption"
|
||||
option-label="name"
|
||||
option-value="id"
|
||||
option-value="name"
|
||||
:label="`${' ประเภท'}`"
|
||||
>
|
||||
<template v-slot:no-option>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue