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

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

Loading…
Cancel
Save