Browse Source

Update GoodsOrderDetail.vue

lex 2 years ago
parent
commit
87f10b9479
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/shopMall/GoodsOrderDetail.vue

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

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