Commit 29b652ca authored by liudong1993's avatar liudong1993

1

parent d76f4734
......@@ -9,17 +9,11 @@
<div class="query-box" style="margin-bottom: 0px;">
<el-form class="_info_box clearfix" label-width="110px">
<el-row style="padding:15px 20px 0 0;">
<el-col :span="6">
<el-col :span="4">
<el-form-item label="客户/电话:">
<el-input placeholder="" class="" v-model="msg.RemitterName" @keyup.native="checkInteger(msg,'FrID')" maxlength="8"></el-input>
</el-form-item>
</el-col>
<!-- <el-col :span="6">
<el-form-item label="ID:">
<el-input placeholder="" class="" v-model="msg.ClientIdStr" @keyup.native="checkInteger(msg,'FrID')" maxlength="8"
placeholder="多个ID英文逗号,分隔"></el-input>
</el-form-item>
</el-col> -->
<el-col :span="6">
<el-form-item label="使用日期:">
<el-date-picker class="h34"
......@@ -30,6 +24,15 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="公司别">
<el-select placeholder="请选择" filterable v-model="msg.RB_Branch_Id">
<el-option label="不限" :value="-1"></el-option>
<el-option v-for="(item,index) in branchList" :key="index" :label="item.BName" :value="item.Id">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
<ul class="clearfix">
......@@ -114,18 +117,20 @@ export default {
ClientIdStr:'',
QStartDate:'',
QEndDate:'',
RB_Branch_Id:-1
},
loading: false,
total: 0,
productionDate:[]
productionDate:[],
branchList:[]
}
},
created(){
},
mounted(){
let userInfo=this.getLocalStorage();
this.getPageList();
this.getBranchList();
this.msg.ClientIdStr = this.$route.query.ClientIdStr?this.$route.query.ClientIdStr:""
if(this.$route.query.startDate&&this.$route.query.endDate){
this.productionDate = this.$route.query.startDate?[this.$route.query.startDate,this.$route.query.endDate]:[]
......@@ -179,6 +184,16 @@ export default {
this.msg.pageIndex=1;
this.getPageList();
},
getBranchList(){ // 获取列表数据
let userInfo=this.getLocalStorage();
this.apipost('admin_get_BranchGetList',{RB_Group_Id: userInfo.RB_Group_Id, Status: "0"},res=>{
if(res.data.resultCode == 1) {
this.branchList = res.data.data;
}else{
this.$message.error(res.data.message);
}
},err=>{})
},
}
}
</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