Browse Source

Merge branch 'dev' into order

account
刘嘉炜 4 years ago
parent
commit
7f8381f931
  1. 36
      src/pages/site/manage/manage.vue

36
src/pages/site/manage/manage.vue

@ -324,30 +324,36 @@ export default {
}
}
if(_curTarget.type !== 'empty_venue')return;
_venueList[i].items[j]._isSelect = !_curTarget._isSelect;
let _ctnList = []; // ,
// ,
_venueList[i].items = _venueList[i].items.map(e=>{
let _flag = e.time_arrow_id&& //
// e.is_valid&& // false
e.time_arrow_id == _curTarget.time_arrow_id;
// ----->
// let _ctnList = []; // ,
if(_flag)e._isSelect = !_curTarget._isSelect;
// // ,
// _venueList[i].items = _venueList[i].items.map(e=>{
if(_flag&&!_curTarget._isSelect)_ctnList.push(e);
// let _flag = e.time_arrow_id&& //
// // e.is_valid&& // false
// e.time_arrow_id == _curTarget.time_arrow_id;
return e;
}) || [];
// if(_flag)e._isSelect = !_curTarget._isSelect;
// if(_flag&&!_curTarget._isSelect)_ctnList.push(e);
// return e;
// }) || [];
// ----->
this.venueList = _venueList;
this.$nextTick(_=>{
if(_ctnList.length>1){
let _tipStr = `${_ctnList[0].duration}-${_ctnList[_ctnList.length-1].duration}为连场预订`
util.showModal({ title: '连场提示!', content: _tipStr });
}
this.$forceUpdate();
// if(_ctnList.length>1){
// let _tipStr = `${_ctnList[0].duration}-${_ctnList[_ctnList.length-1].duration}`
// util.showModal({ title: '', content: _tipStr });
// }
// this.$forceUpdate();
this.getSelectedVenues();
})
},

Loading…
Cancel
Save