Commit 83d35bc994ea8a05715c8b0314fad03ebca6a971

Authored by wangfan
1 parent baadf039

fixbug 桌位占用提示

@@ -349,7 +349,7 @@ Page({ @@ -349,7 +349,7 @@ Page({
349 } 349 }
350 }) 350 })
351 }) 351 })
352 - console.log('toastTables',toastTables); 352 + console.log('toastTables',toastTables,this.data.form.tid,this.checkedTables);
353 //清理已选中的桌位 353 //清理已选中的桌位
354 let toastTablesInfo=[]; 354 let toastTablesInfo=[];
355 let tid=this.data.form.tid 355 let tid=this.data.form.tid
@@ -590,6 +590,7 @@ Page({ @@ -590,6 +590,7 @@ Page({
590 t.isselect = true 590 t.isselect = true
591 t["isselected"] = 1 591 t["isselected"] = 1
592 tablesed.push(t); 592 tablesed.push(t);
  593 + this.checkedTables[t.id]=t.name;
593 }) 594 })
594 this.setData({ 595 this.setData({
595 timePickerIndex: timePickerIndex, 596 timePickerIndex: timePickerIndex,
@@ -31,7 +31,7 @@ @@ -31,7 +31,7 @@
31 "list": [] 31 "list": []
32 }, 32 },
33 "miniprogram": { 33 "miniprogram": {
34 - "current": 8, 34 + "current": 17,
35 "list": [ 35 "list": [
36 { 36 {
37 "id": 0, 37 "id": 0,
@@ -169,8 +169,8 @@ @@ -169,8 +169,8 @@
169 "id": 17, 169 "id": 17,
170 "name": "预定本-编辑预定信息", 170 "name": "预定本-编辑预定信息",
171 "pathName": "pages/book/b_addnew", 171 "pathName": "pages/book/b_addnew",
172 - "query": "id=152",  
173 - "scene": "1001" 172 + "query": "id=2745",
  173 + "scene": 1001
174 }, 174 },
175 { 175 {
176 "id": -1, 176 "id": -1,