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

出团公司审核调整

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