Commit 3851a4b2 authored by huangyuanyuan's avatar huangyuanyuan

收支查询

parent 706d6edb
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="团队编号:"> <el-form-item label="团队编号:">
<el-input v-model="msg.TCID" class=""></el-input> <el-input v-model="msg.TCNUM" class=""></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
<el-col :span="4"> <el-col :span="4">
<el-form-item label="交易方式:"> <el-form-item label="交易方式:">
<el-select filterable v-model='msg.TradeWay' @change="getAccountList(msg.AccountType,msg.TradeWay),msg.ClientID=''" > <el-select filterable v-model='msg.TradeWay' @change="getAccountList(msg.AccountType,msg.TradeWay),msg.ClientID=''" >
<el-option value="0" label="不限"></el-option> <!-- <el-option value="0" label="不限"></el-option> -->
<el-option v-for='item in BranchAccountList' <el-option v-for='item in BranchAccountList'
:label='item.Name' :label='item.Name'
:value='item.ID' :value='item.ID'
...@@ -729,8 +729,8 @@ export default { ...@@ -729,8 +729,8 @@ export default {
CurrencyId:'0', CurrencyId:'0',
CostTypeID:'', CostTypeID:'',
Conditon:'', Conditon:'',
TCID:'', TCNUM:'',
TradeWay:'0', TradeWay:'',
Type:'-1', Type:'-1',
AccountType:'', AccountType:'',
QEndDate:'', QEndDate:'',
...@@ -948,7 +948,7 @@ export default { ...@@ -948,7 +948,7 @@ export default {
this.loading= false; this.loading= false;
this.$message.error(res.data.message); this.$message.error(res.data.message);
} }
this.msg.TCID= this.msg.TCID=0?this.msg.TCID:''; // this.msg.TCID= this.msg.TCID==0?this.msg.TCID:'';
this.queryInfoInit(); this.queryInfoInit();
this.currentPage = parseInt(this.msg.pageIndex); this.currentPage = parseInt(this.msg.pageIndex);
},err=>{}) },err=>{})
...@@ -1048,7 +1048,8 @@ export default { ...@@ -1048,7 +1048,8 @@ export default {
}, err => {}) }, err => {})
}, },
getAccountList(i,t){ //收款账户 getAccountList(i,t){ //收款账户
let accountList = [] let accountList = [];
this.msg.BankID="";
if(t==1){ // 银行 if(t==1){ // 银行
this.apipost('bankaccount_post_GetList',{TypeId:i}, res => { this.apipost('bankaccount_post_GetList',{TypeId:i}, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
...@@ -1075,8 +1076,8 @@ export default { ...@@ -1075,8 +1076,8 @@ export default {
this.apipost('BankAccount_post_GetPlatformList',msg, res => { this.apipost('BankAccount_post_GetPlatformList',msg, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
let data = res.data.data; let data = res.data.data;
// console.log(data) console.log(data)
data.forEach(x=>{RangeIds data.forEach(x=>{
let obj = { let obj = {
ID:x.ID, ID:x.ID,
Name:x.Alias, Name:x.Alias,
...@@ -1084,7 +1085,7 @@ export default { ...@@ -1084,7 +1085,7 @@ export default {
} }
accountList.push(obj) accountList.push(obj)
}) })
this.accountList = accountList this.accountList = accountList;
} }
}, err => {}) }, err => {})
} }
...@@ -1132,7 +1133,7 @@ export default { ...@@ -1132,7 +1133,7 @@ export default {
} }
}, err => {}) }, err => {})
} }
}, },
Financial_post_GetBranchAccountList(){ //获取交易方式列表 Financial_post_GetBranchAccountList(){ //获取交易方式列表
this.apipost('Financial_post_GetBranchAccountList',{}, res => { this.apipost('Financial_post_GetBranchAccountList',{}, res => {
...@@ -1256,8 +1257,8 @@ export default { ...@@ -1256,8 +1257,8 @@ export default {
CurrencyId:this.msg.CurrencyId, CurrencyId:this.msg.CurrencyId,
CostTypeID:this.msg.CostTypeID, CostTypeID:this.msg.CostTypeID,
Conditon:this.msg.Conditon, Conditon:this.msg.Conditon,
TCID:this.msg.TCID, TCNUM:this.msg.TCNUM==0?"":this.msg.TCNUM,
TradeWay:this.msg.TradeWay, TradeWay:this.msg.TradeWay==0?"":this.msg.TradeWay,
Type:this.msg.Type, Type:this.msg.Type,
AccountType:this.msg.AccountType==0?'':this.msg.AccountType, AccountType:this.msg.AccountType==0?'':this.msg.AccountType,
QEndDate:this.msg.QEndDate, QEndDate:this.msg.QEndDate,
......
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