Commit 64980197 authored by huangyuanyuan's avatar huangyuanyuan

修改查询条件

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