Commit c97ab71c authored by 黄奎's avatar 黄奎

页面修改

parent 93294342
...@@ -68,6 +68,24 @@ ...@@ -68,6 +68,24 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li>
<span>
<em>出团公司</em>
<el-select class="multiple_input" v-model="queryData.RB_Branch_Id" filterable clearable>
<el-option v-for='item in companyList' :key="item.id" :label="item.bName" :value="item.id">
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>出发日期</em>
<el-date-picker class="w150" type="date" v-model="queryData.StartGroupDate"
:picker-options="pickerBeginDateBefore" value-format="yyyy-MM-dd" placeholder></el-date-picker>
<el-date-picker class="w150" type="date" v-model="queryData.EndGroupDate"
:picker-options="pickerBeginDateAfter" value-format="yyyy-MM-dd" placeholder></el-date-picker>
</span>
</li>
<li> <li>
<button class="hollowFixedBtn" @click="getList(),resetPageIndex()">查询</button> <button class="hollowFixedBtn" @click="getList(),resetPageIndex()">查询</button>
</li> </li>
...@@ -290,7 +308,26 @@ ...@@ -290,7 +308,26 @@
LineteamId: 0, LineteamId: 0,
CreateBy: 0, CreateBy: 0,
PageSize: "5", PageSize: "5",
TravelState: 2 TravelState: 2,
StartGroupDate: "", //开始日期
EndGroupDate: "", //结束日期
RB_Branch_Id: "", //出团公司
},
pickerBeginDateBefore: {
disabledDate: time => {
if (this.queryData.EndGroupDate == null) {
return false;
} else {
let endTime = new Date(this.queryData.EndGroupDate);
return endTime.getTime() < time.getTime();
}
}
},
pickerBeginDateAfter: {
disabledDate: time => {
let startTime = new Date(this.queryData.StartGroupDate);
return startTime.getTime() >= time.getTime();
}
}, },
loading: true, loading: true,
//默认选中 //默认选中
...@@ -310,6 +347,7 @@ ...@@ -310,6 +347,7 @@
dataList: "", dataList: "",
total: 0, total: 0,
currentPage: 1, currentPage: 1,
companyList: [], //出团公司
}; };
}, },
components: { components: {
...@@ -425,8 +463,21 @@ ...@@ -425,8 +463,21 @@
} }
}); });
}, },
getCompanyList() {
//出团公司
this.apipost(
"sellorder_post_GetBranchList", {},
res => {
if (res.data.resultCode == 1) {
this.companyList = res.data.data;
}
},
err => {}
);
},
}, },
mounted() { mounted() {
this.getCompanyList();
this.getLineList(); this.getLineList();
this.getEmployeeList(); this.getEmployeeList();
this.getList(); this.getList();
......
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