This commit is contained in:
ChenQiuYu 2025-05-20 15:15:27 +08:00
parent 1580b93e9c
commit 29c0ff6585
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ onMounted(() => {
const serviceTotalAmount = detailObj.value.goodsDetail?.reduce((pre: any, cur: any) => {
return pre + cur.number * cur.unitPrice
}, 0);
sumPrice.value = pharmaceuticalTotalAmount + serviceTotalAmount;
sumPrice.value = (pharmaceuticalTotalAmount + serviceTotalAmount).toFixed(2);
})
</script>