Commit 3851a4b2 authored by huangyuanyuan's avatar huangyuanyuan

收支查询

parent 706d6edb
......@@ -106,7 +106,7 @@
</el-col>
<el-col :span="4">
<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-col>
<el-col :span="4">
......@@ -178,7 +178,7 @@
<el-col :span="4">
<el-form-item label="交易方式:">
<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'
:label='item.Name'
:value='item.ID'
......@@ -729,8 +729,8 @@ export default {
CurrencyId:'0',
CostTypeID:'',
Conditon:'',
TCID:'',
TradeWay:'0',
TCNUM:'',
TradeWay:'',
Type:'-1',
AccountType:'',
QEndDate:'',
......@@ -948,7 +948,7 @@ export default {
this.loading= false;
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.currentPage = parseInt(this.msg.pageIndex);
},err=>{})
......@@ -1048,7 +1048,8 @@ export default {
}, err => {})
},
getAccountList(i,t){ //收款账户
let accountList = []
let accountList = [];
this.msg.BankID="";
if(t==1){ // 银行
this.apipost('bankaccount_post_GetList',{TypeId:i}, res => {
if(res.data.resultCode == 1) {
......@@ -1075,8 +1076,8 @@ export default {
this.apipost('BankAccount_post_GetPlatformList',msg, res => {
if(res.data.resultCode == 1) {
let data = res.data.data;
// console.log(data)
data.forEach(x=>{RangeIds
console.log(data)
data.forEach(x=>{
let obj = {
ID:x.ID,
Name:x.Alias,
......@@ -1084,7 +1085,7 @@ export default {
}
accountList.push(obj)
})
this.accountList = accountList
this.accountList = accountList;
}
}, err => {})
}
......@@ -1256,8 +1257,8 @@ export default {
CurrencyId:this.msg.CurrencyId,
CostTypeID:this.msg.CostTypeID,
Conditon:this.msg.Conditon,
TCID:this.msg.TCID,
TradeWay:this.msg.TradeWay,
TCNUM:this.msg.TCNUM==0?"":this.msg.TCNUM,
TradeWay:this.msg.TradeWay==0?"":this.msg.TradeWay,
Type:this.msg.Type,
AccountType:this.msg.AccountType==0?'':this.msg.AccountType,
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