แก้การส่งค่า & fix bug รอบ ระบบเงินเดือน
This commit is contained in:
parent
388e61abc2
commit
b71859c5a5
5 changed files with 55 additions and 13 deletions
|
|
@ -387,7 +387,10 @@ function fetchDataDashboard() {
|
|||
.then((res) => {
|
||||
const quota = res.data.result.dashboard;
|
||||
itemsCardAPR.value[0].total = quota.total;
|
||||
itemsCardAPR.value[1].total = quota.fifteenPercent;
|
||||
itemsCardAPR.value[1].total = quota.fifteenPercent.toLocaleString("en", {
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2,
|
||||
});
|
||||
itemsCardAPR.value[2].total = quota.chosen;
|
||||
itemsCardAPR.value[3].total = quota.remaining;
|
||||
itemsCardAPR.value[4].total = quota.totalBackup;
|
||||
|
|
|
|||
|
|
@ -256,7 +256,12 @@ function fetchDataPeriod(id: string) {
|
|||
pageSize: formFilter.pageSize.toString(),
|
||||
keyword: formFilter.keyword,
|
||||
type: store.tabType,
|
||||
isRetire: isRetire.value === true ? "1" : "0",
|
||||
isRetire:
|
||||
store.roundMainCode === "APR"
|
||||
? null
|
||||
: isRetire.value === true
|
||||
? "1"
|
||||
: "0",
|
||||
};
|
||||
|
||||
http
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue