修改提交团单页面不显示图片的问题
This commit is contained in:
parent
184ed7feab
commit
0fb88da5c2
@ -334,6 +334,8 @@ export default {
|
|||||||
this.orderList2 = []
|
this.orderList2 = []
|
||||||
|
|
||||||
this.carList.forEach(item => {
|
this.carList.forEach(item => {
|
||||||
|
item.commodity_goods_info.commodity_pic = picUrl + item.commodity_goods_info.commodity_pic
|
||||||
|
|
||||||
const list = item.commodity_goods_info.group_buy_activity_info
|
const list = item.commodity_goods_info.group_buy_activity_info
|
||||||
if (list) {
|
if (list) {
|
||||||
this.orderList2.push(item)
|
this.orderList2.push(item)
|
||||||
@ -363,7 +365,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
increaseQuantity(item) {
|
increaseQuantity(item) {
|
||||||
console.log("🚀 ~ increaseQuantity ~ item.commodity_goods_info.total_stock:", item.commodity_goods_info.stock_quantity)
|
|
||||||
if (item.commodity_goods_info.total_stock > 0) {
|
if (item.commodity_goods_info.total_stock > 0) {
|
||||||
if (item.count < item.commodity_goods_info.total_stock) {
|
if (item.count < item.commodity_goods_info.total_stock) {
|
||||||
item.count++;
|
item.count++;
|
||||||
@ -408,7 +409,6 @@ export default {
|
|||||||
let total = 0;
|
let total = 0;
|
||||||
this.orderList1.forEach(item => {
|
this.orderList1.forEach(item => {
|
||||||
total += item.commodity_goods_info.sales_price * item.count + item.commodity_goods_info.freight;
|
total += item.commodity_goods_info.sales_price * item.count + item.commodity_goods_info.freight;
|
||||||
|
|
||||||
});
|
});
|
||||||
// 加运费
|
// 加运费
|
||||||
return total;
|
return total;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user