Commit c98da0f9 authored by youjie's avatar youjie

no message

parent 6dddffdf
...@@ -1884,6 +1884,7 @@ ...@@ -1884,6 +1884,7 @@
methods: { methods: {
// 获取未绑定团的数据 // 获取未绑定团的数据
GetTravelAirNotBind(){ GetTravelAirNotBind(){
this.UnboundDate = {}
if(this.userInfo.DepartName.indexOf("操作部")!=-1 || if(this.userInfo.DepartName.indexOf("操作部")!=-1 ||
(this.userInfo.RB_Branch_id == 1245 (this.userInfo.RB_Branch_id == 1245
&& this.userInfo.DepartName.indexOf("引流")==-1 && this.userInfo.DepartName.indexOf("引流")==-1
...@@ -1892,10 +1893,10 @@ ...@@ -1892,10 +1893,10 @@
"opcommission_GetTravelAirNotBind", {}, "opcommission_GetTravelAirNotBind", {},
res => { res => {
if(res.data.resultCode==1){ if(res.data.resultCode==1){
localStorage.setItem("UnboundDate", JSON.stringify(res.data.data));
localStorage.setItem("UnboundDateTime", this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")));
if((res.data.data.TravelList&&res.data.data.TravelList.length>0) if((res.data.data.TravelList&&res.data.data.TravelList.length>0)
||(res.data.data.AirList&&res.data.data.AirList.length>0)){ ||(res.data.data.AirList&&res.data.data.AirList.length>0)){
localStorage.setItem("UnboundDate", JSON.stringify(res.data.data));
localStorage.setItem("UnboundDateTime", this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")));
this.UnboundDate = res.data.data this.UnboundDate = res.data.data
this.unbundlingVisible = true this.unbundlingVisible = true
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment