Commit 59b5e94e authored by zhengke's avatar zhengke

增加团控列表联运状态筛选条件

parent bec86008
...@@ -275,10 +275,10 @@ ...@@ -275,10 +275,10 @@
<div class="comSearchDiv"> <div class="comSearchDiv">
<span>{{$t('Operation.Op_TransportState')}}</span> <span>{{$t('Operation.Op_TransportState')}}</span>
<span> <span>
<el-select class="w180 multiple_input" v-model="queryMsg.IsShowUnion"> <el-checkbox-group v-model="queryCommonData.IsUnionCked" style="margin-left:0;">
<el-option :key="1" :label="$t('system.table_isShows')" :value="1"></el-option> <el-checkbox v-for="state in unionStatus" :label="state.Id" :checked="state.Checked"
<el-option :key="0" :label="$t('Operation.Op_hide')" :value="0"></el-option> @change="checkedUnion(state)" :key="state.Name">{{state.Name}}</el-checkbox>
</el-select> </el-checkbox-group>
</span> </span>
</div> </div>
<button class="normalBtn TC_SearchBtn" <button class="normalBtn TC_SearchBtn"
...@@ -874,6 +874,7 @@ ...@@ -874,6 +874,7 @@
singleTCID: 0, singleTCID: 0,
outerVisible: false, outerVisible: false,
flightCKed: [], flightCKed: [],
IsUnionCked:[],
loading: false, loading: false,
checkCompanyAll: true, checkCompanyAll: true,
//本团卖点 //本团卖点
...@@ -956,12 +957,26 @@ ...@@ -956,12 +957,26 @@
Checked: false Checked: false
} }
], ],
//联运状态
unionStatus:[{
Id:1,
Name:'主团',
Checked: true
},{
Id:0,
Name:'分销团',
Checked: false
}],
//当前登录用户信息 //当前登录用户信息
CurrentUserInfo: {}, CurrentUserInfo: {},
pickerBeginDateBefore: { pickerBeginDateBefore: {
disabledDate: time => { disabledDate: time => {
let endTime = new Date(this.queryMsg.EndGroupDate) if(this.queryMsg.EndGroupDate==null){
return endTime.getTime() < time.getTime() return false;
}else{
let endTime = new Date(this.queryMsg.EndGroupDate)
return endTime.getTime() < time.getTime()
}
} }
}, },
pickerBeginDateAfter: { pickerBeginDateAfter: {
...@@ -1495,6 +1510,11 @@ ...@@ -1495,6 +1510,11 @@
this.queryCommonData.flightCKed = [] this.queryCommonData.flightCKed = []
this.queryCommonData.flightCKed.push(item.Id) this.queryCommonData.flightCKed.push(item.Id)
}, },
checkedUnion(item){
this.queryMsg.IsShowUnion = item.Id
this.queryCommonData.IsUnionCked = []
this.queryCommonData.IsUnionCked.push(item.Id)
},
//点击选取出团公司 //点击选取出团公司
getCompanyCheck(item) { getCompanyCheck(item) {
item.isShow = !item.isShow item.isShow = !item.isShow
......
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