Commit cd96ca24 authored by 潘永坪's avatar 潘永坪

组合下单开发

parent 2d5c647d
......@@ -261,7 +261,7 @@
</view>
</view>
</view>
<calendar ref="calendar" @dateConfig="dateConfig" :dateList="dateList" v-if="dateList.length > 0"></calendar>
<calendar ref="calendar" @dateConfig="dateConfig" :dateList="dateList" v-show="dateList.length > 0"></calendar>
<buyKnow ref="buyKnow" :buyKnowData="buyKnowData"></buyKnow>
<detail
ref="detail"
......@@ -281,7 +281,7 @@
:sortArr="sortArr"
:defaultAreaCode="defaultAreaCode"
></chooseArea>
<times ref="times" :chooseTimeList="timeList" @timeConfig="timeConfig" :chooseTimeData="chooseTimeData" :timeActive="timeActive"></times>
<times ref="times" :chooseTimeList="chooseTimeList" @timeConfig="timeConfig" :chooseTimeData="chooseTimeData" :timeActive="timeActive"></times>
<editContacts ref="editContacts" :editContact="editContact" :contactTotal="contactTotal"></editContacts>
<contactList
ref="contactList"
......@@ -514,7 +514,8 @@ export default {
uni.$u.throttle(this.getTimeStock(item), 3000)
}
// this.initCoupon(Item.id,Item.buyNum,Item.sellingPrice,Item.merchantId,Index)
// this.$forceUpdate()
//解决点击日期无反应的情况
this.$forceUpdate()
},
//---日历确认事件---还未改完
dateConfig(data) {
......@@ -605,7 +606,8 @@ export default {
})
chooseList.splice(index, 1) //删除数组
}
this.$forceUpdate()
//先注释
// this.$forceUpdate()
},
//---订单数量变化
buyNumChange(e) {
......@@ -790,6 +792,8 @@ export default {
this.payBackground = '#C0C0C0'
}
})
//解决初始化日期不显示的情况
this.$forceUpdate()
// this.dateList = res.data //日期列表
// if (this.dateList.length > 0) {
......@@ -942,7 +946,8 @@ export default {
item2.copyLast='售罄'
}
})
// this.$forceUpdate()
//解决初始化班次不显示的情况
this.$forceUpdate()
} else {
uni.showToast({
title: res.message,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment