...
|
...
|
@@ -48,6 +48,7 @@ Page({ |
|
|
arr: [],
|
|
|
lunch: [],
|
|
|
dinner: [],
|
|
|
select_time:'',
|
|
|
},
|
|
|
|
|
|
//日历
|
...
|
...
|
@@ -424,6 +425,7 @@ Page({ |
|
|
let index = Number(e.currentTarget.dataset.index)
|
|
|
let zindex = Number(e.detail.value)
|
|
|
this.setData({
|
|
|
select_time:this.data.time_arr[zindex],
|
|
|
[`t_arr[${index}].time`]: this.data.time_arr[zindex]
|
|
|
})
|
|
|
this.judge_status(1, index)
|
...
|
...
|
@@ -637,6 +639,14 @@ Page({ |
|
|
})
|
|
|
return
|
|
|
}
|
|
|
if(that.data.select_time==''){
|
|
|
wx.showModal({
|
|
|
title: '提示', //提示文字
|
|
|
content: '请选择参加时间',
|
|
|
showCancel: false, //是否显示取消按钮
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
if (that.data.zhiyuan == 2) {
|
|
|
wx.showModal({
|
|
|
title: '提示', //提示文字
|
...
|
...
|
@@ -683,11 +693,10 @@ Page({ |
|
|
apply_stay: JSON.stringify(that.data.arr),
|
|
|
// apply_food: JSON.stringify(that.data.e_arr)
|
|
|
apply_lunch_food: JSON.stringify(that.data.lunch),
|
|
|
apply_dinner_food: JSON.stringify(that.data.dinner)
|
|
|
|
|
|
|
|
|
|
|
|
apply_dinner_food: JSON.stringify(that.data.dinner),
|
|
|
select_date_time:that.data.select_time
|
|
|
}
|
|
|
|
|
|
let header = {
|
|
|
'XX-Token': wx.getStorageSync('token')
|
|
|
}
|
...
|
...
|
|