ฉ
This commit is contained in:
parent
76baa113f8
commit
24302d01d7
2 changed files with 3 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ async function fetchSalaryDetail(id: string) {
|
|||
formData.startDate = data.startDate;
|
||||
formData.endDate = data.endDate;
|
||||
formData.details = data.details;
|
||||
formData.isSpecial = data.isSpecial;
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
|
|
@ -159,6 +159,7 @@ async function fetchListSalaly() {
|
|||
maxPage.value = Math.ceil(res.data.result.total / formQuery.pageSize);
|
||||
const data = res.data.result.data;
|
||||
rows.value = data;
|
||||
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
@ -173,6 +174,7 @@ const dataRow = ref<Salary>();
|
|||
async function onClickSalary(type: string, data: Salary | null) {
|
||||
modalDialogFormMain.value = !modalDialogFormMain.value;
|
||||
typeAction.value = type;
|
||||
|
||||
if (data) {
|
||||
dataRow.value = data;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue