dev
This commit is contained in:
parent
1580b93e9c
commit
29c0ff6585
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue