yujialong 6 months ago
parent b04cf6a314
commit 333d47faa8
  1. 3
      order/editCourse/editCourse.vue
  2. 6
      order/productDetail/productDetail.vue

@ -130,7 +130,7 @@
async handleProduct() { async handleProduct() {
const list = uni.getStorageSync('courses') const list = uni.getStorageSync('courses')
let courses = {} let courses = {}
// //
productTypeList().then(res => { productTypeList().then(res => {
res.typeList.forEach(e => { res.typeList.forEach(e => {
@ -144,7 +144,6 @@
}) })
const { provinceId, cityId } = this const { provinceId, cityId } = this
const isTrial = this.orderType == 2 const isTrial = this.orderType == 2
list.map(async e => { list.map(async e => {
// //
if (provinceId) { if (provinceId) {

@ -253,7 +253,7 @@
}, },
// //
order() { order() {
const { mall } = this.form const { mall, typeIds } = this.form
const classificationId = this.form.classificationIds[0] const classificationId = this.form.classificationIds[0]
const authority = this.$util.getOrderType(classificationId) const authority = this.$util.getOrderType(classificationId)
// //
@ -279,7 +279,9 @@
miniProgramPictureAddress: mall.appletIcon || '', // miniProgramPictureAddress: mall.appletIcon || '', //
settlementPrice: 0, // settlementPrice: 0, //
settlementPriceUnit: 0, // settlementPriceUnit: 0, //
serviceFee: 0 // serviceFee: 0, //
typeId: typeIds && typeIds.length ? typeIds[0] : '',
classificationId,
}]) }])
this.$util.to(`../orderDetail/orderDetail?shopCart=1`) this.$util.to(`../orderDetail/orderDetail?shopCart=1`)
} }

Loading…
Cancel
Save