|
|
@@ -217,6 +217,7 @@ const calcNumPrice = computed(() => {
|
|
|
|
|
|
const { price, cart_num, additionalAmount, weight } =
|
|
|
props.attr.productSelect;
|
|
|
+ console.log("calcNumberPrice=======>",{ price, cart_num, additionalAmount, weight })
|
|
|
// 计算总价并保留两位小数
|
|
|
const total =
|
|
|
(Number(price) * Number(weight) + Number(additionalAmount || 0)) *
|