Commit 194f3168 authored by 黄奎's avatar 黄奎

出团公司审核调整

parent 2c1d3e90
......@@ -4,8 +4,7 @@
<ul>
<li>
<em>出团公司</em>
<el-select filterable v-model='msg.OutBranchId' size="small" @change='getControlList()'>
<el-option label="不限" :value="-1" :key="-1"></el-option>
<el-select filterable v-model='msg.OutBranchId' size="small" @change='getControlList()' clearable>
<el-option v-for="item in companyList" :label='item.BName' :value='item.Id' :key='item.Id'></el-option>
</el-select>
</li>
......@@ -106,9 +105,9 @@
</el-table-column>
</el-table>
<div style="width: 100%;">
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange"
:current-page.sync="msg.pageIndex" layout="sizes,total,prev, pager, next, jumper"
:page-sizes="[5, 10, 20, 30,50,100]" :page-size="msg.pageSize" :total="total">
<el-pagination background @current-change="handleCurrentChange"
:current-page.sync="msg.pageIndex" layout="total,prev, pager, next, jumper"
:page-size="msg.pageSize" :total="total">
</el-pagination>
</div>
......@@ -136,7 +135,7 @@
return {
StartTime: [],
groupType: [{
Name: '不限',
Name: '全部',
Id: -1
},
{
......@@ -153,7 +152,7 @@
}
],
BranchAuditStateType: [{
Name: '不限',
Name: '全部',
Id: -1
},
{
......@@ -180,7 +179,7 @@
pageSize: 10,
TCNUM: '', //团号
TeamType: -1, //团队类型 0-常规,1-小包团,2-当地游
OutBranchId: -1,
OutBranchId: "",
QStartDate: '',
QEndDate: '',
BranchAuditState: 1, //默认待审核
......@@ -188,7 +187,7 @@
total: 0,
multipleSelection: [],
getCompanyMsg: {
RB_Group_Id: '0',
RB_Group_Id: 2,
Status: '0',
},
}
......@@ -196,11 +195,11 @@
created() {
var myDate = new Date();
var MonthDayNum = new Date(myDate.getFullYear(), myDate.getMonth(), 0).getDate();
var StartTime = `${myDate.getFullYear()}-${myDate.getMonth() + 1}-01`
var EndTime = `${myDate.getFullYear()}-${myDate.getMonth() + 1}-${MonthDayNum}`
this.StartTime = [StartTime, EndTime]
this.msg.QStartDate = StartTime
this.msg.QEndDate = EndTime
var firstDay = `${myDate.getFullYear()}-${myDate.getMonth() + 1}-01`
var lastDay = `${myDate.getFullYear()}-${myDate.getMonth() + 1}-${MonthDayNum}`
this.StartTime = [firstDay, lastDay]
this.msg.QStartDate = firstDay;
this.msg.QEndDate = lastDay;
this.getCompany()
},
mounted() {
......@@ -240,7 +239,14 @@
this.getList()
},
getList() {
this.loading = true
this.loading = true;
if (this.StartTime) {
this.msg.QStartDate = this.StartTime[0];
this.msg.QEndDate = this.StartTime[1];
} else {
this.msg.QStartDate = "";
this.msg.QEndDate = "";
}
let msg = JSON.parse(JSON.stringify(this.msg))
this.apipost(
"travel_post_GetTravelOutBranchAuditPage",
......
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