Commit 5e2e1fc8 authored by liudong1993's avatar liudong1993

账户明细增加查询;流程增加查询

parent af262646
......@@ -101,13 +101,34 @@
<!-- <li>
<span>注:财务基本流程包括(收款流程,付款流程,发票流程),如果需要其他的流程,比如退款流程等请在自定义流程下新增流程设置</span>
</li> -->
<li><input type="button" class="normalBtn" value="新增流程" @click="goUrl('addFinancialProcess',0,8)"/></li>
<li><input type="button" class="normalBtn" value="新增流程" @click="goUrl('addFinancialProcess',0,8)"/>
<input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="resetPageIndex();getTemplateList();"/>
</li>
</ul>
</div>
<ul class="_nav clearfix">
<li class="_active" @click="getTemplateList()">流程列表</li>
<!-- <li :class="active==1?'_active':''" @click="active=1,msg.TempLateWay=8,getTemplateList()">自定义流程</li> -->
</ul>
</ul>
<ul>
<el-form class="_info_box clearfix" label-width="110px">
<el-row>
<el-col :span="4" :gutter="35">
<el-form-item label="流程名称">
<el-input v-model="msg.Name"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" :gutter="35">
<el-form-item label="费用类型">
<el-select filterable v-model='msg.CostTypeID' >
<el-option :value="0" label="不限"></el-option>
<el-option v-for="item in GetCostTypeList" :key="item.ID" :value="item.ID" :label="item.Name"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
</ul>
<ul class="_content" v-loading="loading">
<li v-for="(item,index) in CTemplateList" >
<div class="_left">
......@@ -253,6 +274,7 @@ export default {
//TemplateList:[],
CTemplateList:[],
FinanceInfoChangeLog:[],
GetCostTypeList:[],
total:0,
currentPage:1,
noData:true,
......@@ -261,6 +283,8 @@ export default {
pageIndex:1,
pageSize:6,
RB_BranchId:-1,
Name:'',
CostTypeID:0
}
}
},created(){
......@@ -314,6 +338,15 @@ export default {
});
});
},
financeinfo_post_GetCostTypeList(){ // 费用类型
this.apipost('financeinfo_post_GetCostTypeList',{Name:'',type:0,DepartIDs:this.DepartIDs},res=>{
if(res.data.resultCode==1){
this.GetCostTypeList = res.data.data;
}else{
}
},err=>{})
},
UpdateStatus(id,type){ //启停用
this.apipost('FinancialFlowTemplate_post_UpdateStatus',{ID:id,TemplateType:type,RB_Branch_id:this.msg.RB_BranchId},res=>{
if(res.data.resultCode==1){
......@@ -372,11 +405,16 @@ export default {
}
},err=>{})
},
resetPageIndex() {
this.msg.pageIndex = 1
this.currentPage = 1
},
goUrl(path,id,isZ,Branch_Id) {
this.$router.push({ name: path,query:{"id":id,"isZ":isZ,"blank":'y',tab:"修改流程"} })
},
},mounted(){
this.getTemplateList()
this.getTemplateList();
this.financeinfo_post_GetCostTypeList();
}
}
</script>
......@@ -110,6 +110,26 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="4" :gutter="35">
<el-form-item label="费用类型">
<el-select filterable v-model='msg.CostTypeID' >
<el-option :value="0" label="不限"></el-option>
<el-option v-for="item in GetCostTypeList" :key="item.ID" :value="item.ID" :label="item.Name"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4" :gutter="35">
<el-form-item label="所属公司">
<el-select filterable v-model='msg.RB_Branch_Id' >
<el-option :value="-1" label="不限"></el-option>
<el-option v-for='item in CompanyList'
:label='item.BName'
:value='item.Id'
:key='item.Id'>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
<ul>
......@@ -126,10 +146,10 @@
<th rowspan="2"></th>
<th rowspan="2">{{$t('system.query_company')}}</th>
<th rowspan="2">{{$t('fnc.danhao')}}</th>
<th rowspan="2">{{$t('fnc.a_zhaiyao')}}</th>
<th rowspan="2">{{$t('fnc.a_hkrfkduixiang')}}</th>
<th rowspan="2" width="250px">{{$t('fnc.a_zhaiyao')}}</th>
<th rowspan="2" width="250px">{{$t('fnc.a_hkrfkduixiang')}}</th>
<th rowspan="2">{{$t('fnc.a_hkfkshijian')}}</th>
<th rowspan="2">{{$t('fnc.jylshuihao')}}</th>
<th rowspan="2" width="250px">{{$t('fnc.jylshuihao')}}</th>
<th colspan="3">{{$t('fnc.waibi')}}{{TypeName}}</th>
<th rowspan="2">{{$t('fnc.a_dhuanlv')}}</th>
<th colspan="3">{{$t('fnc.a_rminbi')}}</th>
......@@ -376,6 +396,8 @@ export default {
eTradeDate:'',
QStartDate:'',
QEndDate:'',
CostTypeID:0,
RB_Branch_Id:-1,
BankList:[],
Is_Cashier:-1,
},
......@@ -395,6 +417,8 @@ export default {
productionDate:[],
productionDateByTC:[],
ClientAccountList:[],
GetCostTypeList:[],
CompanyList:[],
RB_Branch_Id:null,
loading:false,
date:'',
......@@ -853,6 +877,22 @@ export default {
}
}, err => {})
},
financeinfo_post_GetCostTypeList(){ // 费用类型
this.apipost('financeinfo_post_GetCostTypeList',{Name:'',type:0,DepartIDs:this.DepartIDs},res=>{
if(res.data.resultCode==1){
this.GetCostTypeList = res.data.data;
}else{
}
},err=>{})
},
getCompanyList(){ //获取公司列表
this.apipost('admin_get_BranchGetList',this.getCompanyMsg,res=>{
if(res.data.resultCode==1){
this.CompanyList=res.data.data;
}else{}
},err=>{})
},
getList(){ //获取列表
this.loading = true;
if( this.msg.ClientID === '' ){
......@@ -931,6 +971,8 @@ export default {
this.AccountType_post_GetList();
this.BankAccount_post_GetAccountType();
this.financeinfo_post_GetClientAccountList();
this.financeinfo_post_GetCostTypeList();
this.getCompanyList();
}
}
</script>
......@@ -112,6 +112,18 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="4" :gutter="35">
<el-form-item label="所属公司">
<el-select filterable v-model='msg.RB_Branch_Id' >
<el-option :value="-1" label="不限"></el-option>
<el-option v-for='item in CompanyList'
:label='item.BName'
:value='item.Id'
:key='item.Id'>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
<ul>
......@@ -340,6 +352,7 @@ export default {
pageSize:5,
ClientID:'',
CostTypeID:0,
RB_Branch_Id:-1,
sTradeDate:'',
eTradeDate:'',
QStartDate:'',
......@@ -359,6 +372,7 @@ export default {
productionDateByTC:[],
ClientAccountList:[],
GetCostTypeList:[],
CompanyList:[],
loading:false,
date:'',
accType:'',
......@@ -868,6 +882,13 @@ export default {
}
},err=>{})
},
getCompanyList(){ //获取公司列表
this.apipost('admin_get_BranchGetList',this.getCompanyMsg,res=>{
if(res.data.resultCode==1){
this.CompanyList=res.data.data;
}else{}
},err=>{})
},
},mounted(){
let userInfo=this.getLocalStorage();
this.getAccountTypeList();
......@@ -875,6 +896,7 @@ export default {
this.BankAccount_post_GetAccountType();
this.financeinfo_post_GetClientAccountList();
this.financeinfo_post_GetCostTypeList();
this.getCompanyList();
}
}
</script>
\ No newline at end of file
......@@ -101,6 +101,26 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="4" :gutter="35">
<el-form-item label="费用类型">
<el-select filterable v-model='msg.CostTypeID' >
<el-option :value="0" label="不限"></el-option>
<el-option v-for="item in GetCostTypeList" :key="item.ID" :value="item.ID" :label="item.Name"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4" :gutter="35">
<el-form-item label="所属公司">
<el-select filterable v-model='msg.RB_Branch_Id' >
<el-option :value="-1" label="不限"></el-option>
<el-option v-for='item in CompanyList'
:label='item.BName'
:value='item.Id'
:key='item.Id'>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
<ul>
......@@ -319,6 +339,8 @@ export default {
pageIndex:1,
pageSize:5,
ClientID:'',
CostTypeID:0,
RB_Branch_Id:-1,
sTradeDate:'',
eTradeDate:'',
QStartDate:'',
......@@ -339,6 +361,8 @@ export default {
productionDate:[],
productionDateByTC:[],
ClientAccountList:[],
GetCostTypeList:[],
CompanyList:[],
loading:false,
RB_Branch_Id:null,
date:'',
......@@ -843,6 +867,22 @@ export default {
// this.listAllMoney = this.listAllMoney + x.allMoney
// })
},
financeinfo_post_GetCostTypeList(){ // 费用类型
this.apipost('financeinfo_post_GetCostTypeList',{Name:'',type:0,DepartIDs:this.DepartIDs},res=>{
if(res.data.resultCode==1){
this.GetCostTypeList = res.data.data;
}else{
}
},err=>{})
},
getCompanyList(){ //获取公司列表
this.apipost('admin_get_BranchGetList',this.getCompanyMsg,res=>{
if(res.data.resultCode==1){
this.CompanyList=res.data.data;
}else{}
},err=>{})
},
},mounted(){
let userInfo=this.getLocalStorage();
this.RB_Branch_Id = userInfo.RB_Branch_id;
......@@ -850,6 +890,8 @@ export default {
this.AccountType_post_GetList();
this.BankAccount_post_GetAccountType();
this.financeinfo_post_GetClientAccountList();
this.financeinfo_post_GetCostTypeList();
this.getCompanyList();
}
}
</script>
......
......@@ -93,6 +93,26 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="4" :gutter="35">
<el-form-item label="费用类型">
<el-select filterable v-model='msg.CostTypeID' >
<el-option :value="0" label="不限"></el-option>
<el-option v-for="item in GetCostTypeList" :key="item.ID" :value="item.ID" :label="item.Name"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4" :gutter="35">
<el-form-item label="所属公司">
<el-select filterable v-model='msg.RB_Branch_Id' >
<el-option :value="-1" label="不限"></el-option>
<el-option v-for='item in CompanyList'
:label='item.BName'
:value='item.Id'
:key='item.Id'>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
<ul>
......@@ -106,7 +126,7 @@
<div class="cm_content">
<table class="po_content singeRowTable" style="border:1px solid #E6E6E6;" cellspacing="0" cellpadding="0" v-loading="loading">
<tr>
<th rowspan="2"></th>
<!-- <th rowspan="2"></th> -->
<th rowspan="2">{{$t('system.query_company')}}</th>
<th rowspan="2">{{$t('fnc.danhao')}}</th>
<th rowspan="2">{{$t('fnc.a_zhaiyao')}}</th>
......@@ -126,7 +146,7 @@
<th width="">{{$t('fnc.yueacc')}}</th>
</tr>
<tr>
<td :colspan="6">{{$t('fnc.a_qcyue')}}</td>
<td :colspan="5">{{$t('fnc.a_qcyue')}}</td>
<td></td>
<td></td>
<td> {{ moneyFormat(RStartMoney) }} </td>
......@@ -152,9 +172,9 @@
<span v-if=" item.Type == 1">{{$t('fnc.hkshijian')}}{{ item.TradeDate }}</span>
<span v-if=" item.Type == 2">{{$t('fnc.a_fkshijian')}}{{ item.TradeDate }}</span>
</td>
<td>
<!-- <td>
{{ item.AccountNumber }}
</td>
</td> -->
<td>
{{ item.Type == 1 ? moneyFormat(item.OriginalMoney) : '' }}
</td>
......@@ -178,7 +198,7 @@
</td>
</tr>
<tr>
<td :colspan="6">{{$t('fnc.a_heji')}}{{$t('hotel.hotel_totalRoom')}} {{ DataList.length }} {{$t('hotel.hotel_item')}}</td>
<td :colspan="5">{{$t('fnc.a_heji')}}{{$t('hotel.hotel_totalRoom')}} {{ DataList.length }} {{$t('hotel.hotel_item')}}</td>
<td></td>
<td></td>
<td> {{ moneyFormat(endRStartMoney) }} </td>
......@@ -349,6 +369,8 @@ export default {
pageIndex:1,
pageSize:5,
ClientID:'',
CostTypeID:0,
RB_Branch_Id:-1,
sTradeDate:'',
eTradeDate:'',
QStartDate:'',
......@@ -370,6 +392,8 @@ export default {
productionDate:[],
productionDateByTC:[],
ClientAccountList:[],
GetCostTypeList:[],
CompanyList:[],
RB_Branch_Id:null,
loading:false,
date:'',
......@@ -860,12 +884,30 @@ export default {
// this.listAllMoney = this.listAllMoney + x.allMoney
// })
},
financeinfo_post_GetCostTypeList(){ // 费用类型
this.apipost('financeinfo_post_GetCostTypeList',{Name:'',type:0,DepartIDs:this.DepartIDs},res=>{
if(res.data.resultCode==1){
this.GetCostTypeList = res.data.data;
}else{
}
},err=>{})
},
getCompanyList(){ //获取公司列表
this.apipost('admin_get_BranchGetList',this.getCompanyMsg,res=>{
if(res.data.resultCode==1){
this.CompanyList=res.data.data;
}else{}
},err=>{})
},
},mounted(){
let userInfo=this.getLocalStorage();
this.getAccountTypeList();
this.AccountType_post_GetList();
this.BankAccount_post_GetAccountType();
this.financeinfo_post_GetClientAccountList();
this.financeinfo_post_GetCostTypeList();
this.getCompanyList();
}
}
</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