|
@@ -62,13 +62,12 @@ export default defineComponent({
|
|
|
|
|
|
const result: any = this.result
|
|
|
const orderDetailList = result.orderDetailList || []
|
|
|
-
|
|
|
orderDetailList.forEach((item: any) => {
|
|
|
let tempPrice = item?.expectPrice || item.actualPrice
|
|
|
if (item?.couponAmount) {
|
|
|
tempPrice = Number(
|
|
|
(
|
|
|
- (tempPrice - result.couponAmount) / item.goodNum
|
|
|
+ (tempPrice - item.couponAmount) / item.goodNum
|
|
|
).toFixed(2)
|
|
|
)
|
|
|
} else {
|