This commit is contained in:
liuyuan
2025-07-14 10:00:50 +08:00
parent 3ad123a5de
commit 692a3838c2
5 changed files with 12 additions and 4 deletions

View File

@@ -818,6 +818,7 @@
}
var list = [...this.goodsDataList];
console.log(list,'确认订单 金额!!!')
list = list.map((e) => e.goodsType);
this.haveCourse = list.some((ele) => ele === "05");
if (this.options.sourceType == "curriculum") {

View File

@@ -545,14 +545,16 @@
},
onHandleClickBuy(e) {
var mynavData = JSON.stringify({
goods: [this.selectGoodsData],
goods: [{...this.selectGoodsData,productAmount:1}],
typeId: 0,
navTitle: this.options.navTitle,
title: this.options.title,
sourceType: "curriculum",
isFudu: this.isFudu,
fuduId: this.fuduId
fuduId: this.fuduId,
});
uni.navigateTo({
url: `/pages/goods/order?data=${mynavData}`,
});

View File

@@ -244,6 +244,10 @@ export default {
this.goodsDataList = res.productList.filter(
(e) => this.options.goods[0].productName == e.productName
);
this.goodsDataList.map(e=>{
e.productAmount=e.productAmount?e.productAmount:1
})
console.log(this.goodsDataList ,'这是复读订单')
});
},

View File

@@ -151,6 +151,7 @@ export default {
let cateIndex = uni.getStorageSync('cateIndex');
this.cateIndex = cateIndex;
this.getCourseList();
this.getCateList()
this.getNotice();
this.getMarketProductList();
this.getMarketCourseList();