...
|
...
|
@@ -43,7 +43,8 @@ Page({ |
|
|
show: false,
|
|
|
shows: false,
|
|
|
shownight:false,
|
|
|
showdate:false
|
|
|
showdate:false,
|
|
|
arr:[],
|
|
|
},
|
|
|
|
|
|
//日历
|
...
|
...
|
@@ -118,11 +119,19 @@ onConfirmdate(event) { |
|
|
list.push(Data);
|
|
|
});
|
|
|
|
|
|
|
|
|
let data=[];
|
|
|
console.log('1111111111111111', list)
|
|
|
list.forEach(item => {
|
|
|
console.log("item-",item);
|
|
|
data.push({
|
|
|
date:item
|
|
|
})
|
|
|
})
|
|
|
console.log("---",data);
|
|
|
this.setData({
|
|
|
show: false,
|
|
|
date: list.join(',')
|
|
|
date: list.join(','),
|
|
|
arr:data,
|
|
|
});
|
|
|
},
|
|
|
|
...
|
...
|
@@ -646,7 +655,8 @@ onConfirmdate(event) { |
|
|
type: that.data.type_id,
|
|
|
work_content: that.data.check_id,
|
|
|
select_time: JSON.stringify(that.data.t_arr),
|
|
|
apply_stay: JSON.stringify(that.data.z_arr),
|
|
|
// apply_stay: JSON.stringify(that.data.z_arr),
|
|
|
apply_stay: JSON.stringify(that.data.arr),
|
|
|
apply_food: JSON.stringify(that.data.e_arr)
|
|
|
}
|
|
|
let header = {
|
...
|
...
|
|