浏览代码

Update GoodsOrderDetail.vue

lex 2 年之前
父节点
当前提交
87f10b9479
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/shopMall/GoodsOrderDetail.vue

+ 2 - 2
src/views/shopMall/GoodsOrderDetail.vue

@@ -260,7 +260,7 @@ export default {
       let money = 0;
       if (Array.isArray(this.goodsDetail.goodsJson)) {
         this.goodsDetail.goodsJson.forEach((goods) => {
-          money += goods.goodsPrice * goods.goodsNum;
+          money += goods.productPrice * goods.productQuantity;
         });
       }
 
@@ -403,4 +403,4 @@ export default {
     }
   }
 }
-</style>
+</style>