Commit fc9843e6 authored by 黄奎's avatar 黄奎
parents 0117e49e ae89bd60
...@@ -33,6 +33,14 @@ ...@@ -33,6 +33,14 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6">
<el-form-item label="出团公司:">
<el-select class="w150" v-model="msg.BranchId" filterable :placeholder="$t('pub.pleaseSel')">
<el-option label="不限" :value="-2"></el-option>
<el-option v-for="item in BranchList" :label="item.BName" :key="item.Id" :value="item.Id">{{item.BName}}</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row > <el-row >
<el-col :span="6" v-for="(month, index) in monthList" :key="index"> <el-col :span="6" v-for="(month, index) in monthList" :key="index">
...@@ -77,9 +85,11 @@ export default { ...@@ -77,9 +85,11 @@ export default {
Month: 0, Month: 0,
Money: '', Money: '',
sharelist: [], sharelist: [],
BranchId: -2,
}, },
data: [], data: [],
DataList: [], DataList: [],
BranchList: [],
MonthIndex: 0, MonthIndex: 0,
pageSize: 18, pageSize: 18,
pageIndex: 1, pageIndex: 1,
...@@ -339,6 +349,7 @@ export default { ...@@ -339,6 +349,7 @@ export default {
this.userId = userInfo.EmployeeId; this.userId = userInfo.EmployeeId;
},mounted(){ },mounted(){
this.getData() this.getData()
this.getCompanyList()
},methods:{ },methods:{
togbu: function () { togbu: function () {
this.AALloading = true this.AALloading = true
...@@ -475,7 +486,22 @@ export default { ...@@ -475,7 +486,22 @@ export default {
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
}, null) }, null)
},
//初始化公司
getCompanyList() {
let userInfo = this.getLocalStorage();
var RB_Group_id = userInfo.RB_Group_id;
let msg = {
Status: 0,
is_show: 0,
RB_Group_Id: RB_Group_id
};
this.apipost("admin_get_BranchGetList", msg, res => {
if (res.data.resultCode == 1) {
this.BranchList = res.data.data;
} }
}, err => {})
},
} }
} }
</script> </script>
......
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