Commit 13fe78fd authored by youjie's avatar youjie

no message

parent efd6fdd7
...@@ -26,7 +26,14 @@ ...@@ -26,7 +26,14 @@
<div class="flexOne domesticCommissionUser"> <div class="flexOne domesticCommissionUser">
<div> <div>
<ul class="opUl"> <ul class="opUl">
<li>
<em>期数</em>
<el-select v-model="msg.PeriodId" size="mini" @change="handleCurrentChange(1)">
<el-option label="不限" :value="0"></el-option>
<el-option v-for="(item,index) in PeriodsList" :key="item.index" :label="item.Name" :value="item.Id">
</el-option>
</el-select>
</li>
<li> <li>
<em>人员</em> <em>人员</em>
<el-select v-model="msg.UserId" size="mini" @change="handleCurrentChange(1)" filterable :disabled='disabled'> <el-select v-model="msg.UserId" size="mini" @change="handleCurrentChange(1)" filterable :disabled='disabled'>
...@@ -143,7 +150,7 @@ ...@@ -143,7 +150,7 @@
} }
this.msg.PeriodId = this.$route.query.PeriodId?Number(this.$route.query.PeriodId):0 this.msg.PeriodId = this.$route.query.PeriodId?Number(this.$route.query.PeriodId):0
this.getList(); this.getList();
// this.getqishilist() this.getqishilist()
this.getCompanyList()//获取公司 this.getCompanyList()//获取公司
this.getEmployee()//人员 this.getEmployee()//人员
this.getDerpartMent()//部门 this.getDerpartMent()//部门
...@@ -209,7 +216,7 @@ ...@@ -209,7 +216,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.PeriodsList = res.data.data; this.PeriodsList = res.data.data;
if (this.PeriodsList && this.PeriodsList.length > 0) { if (this.PeriodsList && this.PeriodsList.length > 0) {
// this.msg.Periods = Number(this.PeriodsList[0].Id) this.msg.PeriodId = Number(this.PeriodsList[0].Id)
} }
} else { } else {
...@@ -229,7 +236,7 @@ ...@@ -229,7 +236,7 @@
this.$router.push({ this.$router.push({
path: path, path: path,
query: { query: {
PeriodId: this.$route.query.PeriodId, PeriodId: this.msg.PeriodId,
UserId:item.UserId, UserId:item.UserId,
RB_Branch_Id:item.RB_Branch_Id, RB_Branch_Id:item.RB_Branch_Id,
RB_Department_Id:item.RB_Department_Id, RB_Department_Id:item.RB_Department_Id,
......
...@@ -282,8 +282,9 @@ ...@@ -282,8 +282,9 @@
); );
}, },
getqishilist() { getqishilist() {
// opcommission_GetGNOPCommissionPeriodsList
this.apipost( this.apipost(
"opcommission_GetGNOPCommissionPeriodsList", {}, "sellcommission_GetGNCommissionPeriodsList", {},
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.PeriodsList = res.data.data; this.PeriodsList = res.data.data;
......
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