Commit 64980197 authored by huangyuanyuan's avatar huangyuanyuan

修改查询条件

parent 5b26a2fd
......@@ -427,7 +427,7 @@ tr._item_list td:last-child {
</el-select>
</el-form-item>
</el-col>
<el-col :span="4">
<!-- <el-col :span="4">
<el-form-item label="出发城市:">
<el-select filterable v-model="msg.StartCityId" class>
<el-option :value="0" label="不限"></el-option>
......@@ -439,8 +439,8 @@ tr._item_list td:last-child {
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4">
</el-col> -->
<!-- <el-col :span="4">
<el-form-item label="线路:">
<el-select filterable v-model="msg.LineId" @change="getLineTeamList(msg.LineId)">
<el-option :value="0" label="不限"></el-option>
......@@ -452,8 +452,8 @@ tr._item_list td:last-child {
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4">
</el-col> -->
<!-- <el-col :span="4">
<el-form-item label="系列:">
<el-select filterable v-model="msg.LineTeamId" class>
<el-option :value="0" label="不限"></el-option>
......@@ -465,7 +465,7 @@ tr._item_list td:last-child {
></el-option>
</el-select>
</el-form-item>
</el-col>
</el-col> -->
<el-col :span="4" class="year">
<el-form-item label="年份:">
<el-date-picker
......@@ -476,11 +476,11 @@ tr._item_list td:last-child {
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="4">
<!-- <el-col :span="4">
<el-form-item label="团队编号:">
<el-input v-model="msg.TCID" class></el-input>
</el-form-item>
</el-col>
</el-col> -->
</el-row>
</el-form>
<ul class="clearfix">
......@@ -575,9 +575,6 @@ export default {
userId: 0,
msg: {
OutBranchId: "",
StartCityId: "",
LineId: "",
LineTeamId: "",
TCID: "",
QStartDate: "",
QEndDate: "",
......@@ -596,7 +593,7 @@ export default {
tableData: [],
LineList: [],
LineTeamList: [],
startCityList1: [],
// startCityList1: [],
multipleSort: false,
kaiqiZzBox: false,
KaiqiZzTime: [],
......@@ -630,8 +627,8 @@ export default {
this.userId = userInfo.EmployeeId;
this.getCompanyList();
// this.getPageList();
this.getLineList();
this.getStartList1();
// this.getLineList();
// this.getStartList1();
this.togbu()
},
methods: {
......@@ -646,9 +643,6 @@ export default {
this.loading = true;
if (!this.msg.OutBranchId && this.msg.OutBranchId !== 0)
this.msg.OutBranchId = -1;
if (!this.msg.StartCityId) this.msg.StartCityId = 0;
if (!this.msg.LineId) this.msg.LineId = 0;
if (!this.msg.LineTeamId) this.msg.LineTeamId = 0;
if (!this.msg.TCID) this.msg.TCID = 0;
if (this.msg.QStartDate == "") this.msg.QStartDate = "2019";
this.apipost('financestatistics_get_GetTravelMonthReportList', this.msg, res=>{
......@@ -893,50 +887,50 @@ export default {
}
},
getStartList1() {
// 获取出发城市
this.apipost(
"city_post_GetList",
{
isDefault: -1,
priceType: -1
},
res => {
if (res.data.resultCode == 1) {
this.startCityList1 = res.data.data;
} else {
console.log(res.data);
}
}
);
},
getLineTeamList(lineId) {
//获取系列列表
this.LineTeamList = [];
this.apipost(
"team_post_GetList",
{
lineID: lineId,
isTOOP: 1
},
res => {
if (res.data.resultCode == 1) {
this.msg.LineTeamId = "-1";
this.LineTeamList = res.data.data;
}
}
);
},
getLineList() {
// 获取线路
this.apipost("line_post_GetAllList", {}, res => {
if (res.data.resultCode == 1) {
this.LineList = res.data.data;
} else {
this.$message.error(res.data.message);
}
});
},
// getStartList1() {
// // 获取出发城市
// this.apipost(
// "city_post_GetList",
// {
// isDefault: -1,
// priceType: -1
// },
// res => {
// if (res.data.resultCode == 1) {
// this.startCityList1 = res.data.data;
// } else {
// console.log(res.data);
// }
// }
// );
// },
// getLineTeamList(lineId) {
// //获取系列列表
// this.LineTeamList = [];
// this.apipost(
// "team_post_GetList",
// {
// lineID: lineId,
// isTOOP: 1
// },
// res => {
// if (res.data.resultCode == 1) {
// this.msg.LineTeamId = "-1";
// this.LineTeamList = res.data.data;
// }
// }
// );
// },
// getLineList() {
// // 获取线路
// this.apipost("line_post_GetAllList", {}, res => {
// if (res.data.resultCode == 1) {
// this.LineList = res.data.data;
// } else {
// this.$message.error(res.data.message);
// }
// });
// },
customCompFunc(param) {
console.log(param);
},
......
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