|
|
|
|
@ -110,7 +110,7 @@
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</u-popup>
|
|
|
|
|
<view class="flex-row">
|
|
|
|
|
<view class="flex-row" v-if="list.status==1">
|
|
|
|
|
<view style="margin-right: 14rpx;flex: 1;" v-if="list.join_type==1||list.join_type==0">
|
|
|
|
|
<u-button type="primary" @click="tobook('team')">团体预约</u-button>
|
|
|
|
|
</view>
|
|
|
|
|
@ -176,8 +176,8 @@
|
|
|
|
|
this.chooseNum = ""
|
|
|
|
|
},
|
|
|
|
|
numChange(item) {
|
|
|
|
|
if(item.disabled) {
|
|
|
|
|
this.util.alert("您选择的产次不可预约!");
|
|
|
|
|
if (item.disabled) {
|
|
|
|
|
this.util.alert("您选择的场次不可预约!");
|
|
|
|
|
return;
|
|
|
|
|
};
|
|
|
|
|
var _numbers = this.numbers;
|
|
|
|
|
@ -231,18 +231,19 @@
|
|
|
|
|
m.disabled = true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (m.has_total == m.total && m.total != 0){
|
|
|
|
|
if (m.has_total == m.total && m.total != 0) {
|
|
|
|
|
m.disabled = true
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
numberArr.push(m);
|
|
|
|
|
if (!m.disabled) {
|
|
|
|
|
|
|
|
|
|
this.activity_number_id = (i == 0 ? m.id : '')
|
|
|
|
|
m.checked = i == 0;
|
|
|
|
|
i++;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
console.log("numberArr[0].id", numberArr[0].id);
|
|
|
|
|
if (numberArr.length > 0)
|
|
|
|
|
that.activity_number_id = numberArr[0].id
|
|
|
|
|
that.numbers = numberArr
|
|
|
|
|
wx.setStorage({
|
|
|
|
|
key: 'activityinfo',
|
|
|
|
|
|