|
@@ -50,6 +50,7 @@ Component({ |
|
@@ -50,6 +50,7 @@ Component({ |
|
50
|
day:util.timetouUnix(this.data.date+' 00:00:00'),
|
50
|
day:util.timetouUnix(this.data.date+' 00:00:00'),
|
|
51
|
interval:dur.indexOf(this.data.section)+1
|
51
|
interval:dur.indexOf(this.data.section)+1
|
|
52
|
}
|
52
|
}
|
|
|
|
53
|
+ console.log('参数',this.data.date,parmdata)
|
|
53
|
App.Seller.GetSellerTableClass(parmdata).then((json)=>{
|
54
|
App.Seller.GetSellerTableClass(parmdata).then((json)=>{
|
|
54
|
console.log('roomlist',json)
|
55
|
console.log('roomlist',json)
|
|
55
|
if(json.ret==200){
|
56
|
if(json.ret==200){
|
|
@@ -73,8 +74,10 @@ Component({ |
|
@@ -73,8 +74,10 @@ Component({ |
|
73
|
let _target=e.currentTarget.dataset;
|
74
|
let _target=e.currentTarget.dataset;
|
|
74
|
console.log(typeof _target.selectnum,this.data.usecondition)
|
75
|
console.log(typeof _target.selectnum,this.data.usecondition)
|
|
75
|
if(this.data.usecondition=='custom'){
|
76
|
if(this.data.usecondition=='custom'){
|
|
|
|
77
|
+ console.log('custom:true为点击了订满的包间类型',this.data.roomlist[_target.index].isorderFull==1 || this.data.roomlist[_target.index].isFull==1)
|
|
76
|
if(this.data.roomlist[_target.index].isorderFull==1 || this.data.roomlist[_target.index].isFull==1){
|
78
|
if(this.data.roomlist[_target.index].isorderFull==1 || this.data.roomlist[_target.index].isFull==1){
|
|
77
|
}else{
|
79
|
}else{
|
|
|
|
80
|
+ console.log('执行了选中包间类型');
|
|
78
|
if((this.data.seletroomlist && this.data.seletroomlist.length<3) || !this.data.seletroomlist){
|
81
|
if((this.data.seletroomlist && this.data.seletroomlist.length<3) || !this.data.seletroomlist){
|
|
79
|
let setkey='roomlist['+_target.index+'].selectnum';
|
82
|
let setkey='roomlist['+_target.index+'].selectnum';
|
|
80
|
this.setData({
|
83
|
this.setData({
|