Commit 01ab56b8 authored by 黄媛媛's avatar 黄媛媛

目的地赋值

parent 5eec94ad
......@@ -233,7 +233,7 @@ export default {
stateShow:true,
tips:'',
PlaceList:[],
PlaceShow:true,
PlaceShow:false,
}
},
created(){
......@@ -285,6 +285,8 @@ export default {
}
},
SetRules(item){
console.log("item",item.LtIdList)
this.ruleVisible=true;
this.form={
Id:item.Id,
......@@ -302,6 +304,9 @@ export default {
FManagerMoney:item.FManagerMoney,
FInternMoney:item.FInternMoney,
}
this.form.LtIdList=item.LtIdList;
this.PlaceShow=true;
console.log("this.form",this.form)
this.departmentMsg.RB_Branch_Id=item.BranchId;
this.getLineTeamList();
......@@ -375,7 +380,7 @@ export default {
},
//获取系列列表
getLineTeamList() {
this.PlaceList =[];
this.PlaceList =[];
if(this.form.LineIdList.indexOf(-1)!=-1){
this.form.LineIdList=[-1];
this.form.LtIdList = [];
......@@ -387,8 +392,6 @@ export default {
}
if(this.form.LineIdList.indexOf(-1)==-1 && this.form.LineIdList.length==1){
let id= this.form.LineIdList[0];
console.log("id=",id)
this.getLinePlaceList(id);
}
let msg = {
......@@ -402,7 +405,9 @@ export default {
},
//获取目的地
getLinePlaceList(id) {
this.form.LtIdList=[];
if(!this.PlaceShow){
this.form.LtIdList=[];
}
let msg = {
lineID: id,
}
......
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