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

View file

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