fix จำนวนที่บรรจุแล้ว

This commit is contained in:
Bright 2024-10-18 16:28:52 +07:00
parent 816662cc5c
commit a0d9345f2d
2 changed files with 4 additions and 4 deletions

View file

@ -30,7 +30,7 @@ const stat = ref<StatResponse>({
total: 0, total: 0,
unContain: 0, unContain: 0,
prepareContain: 0, prepareContain: 0,
contain: 0, done: 0,
disclaim: 0, disclaim: 0,
report: 0, report: 0,
}); });
@ -49,7 +49,7 @@ async function getStat() {
total: statCard.total, total: statCard.total,
unContain: statCard.unContain, unContain: statCard.unContain,
prepareContain: statCard.prepareContain, prepareContain: statCard.prepareContain,
contain: statCard.contain, done: statCard.done,
disclaim: statCard.disclaim, disclaim: statCard.disclaim,
report: statCard.report, report: statCard.report,
}; };
@ -140,7 +140,7 @@ onMounted(async () => {
color="orange" color="orange"
/> />
<CardTop <CardTop
:amount="stat.contain" :amount="stat.done"
label="จำนวนที่บรรจุแล้ว" label="จำนวนที่บรรจุแล้ว"
color="#4154B3" color="#4154B3"
/> />

View file

@ -105,7 +105,7 @@ interface StatResponse {
total: number; total: number;
unContain: number; unContain: number;
prepareContain: number; prepareContain: number;
contain: number; done: number;
disclaim: number; disclaim: number;
report: number; report: number;
} }