Commit 14be390e authored by 华国豪's avatar 华国豪 🙄

'简易报表跳转处理多个费用说明'

parent ee41dab4
......@@ -626,4 +626,7 @@ vertical-align:middle
.column-cell-class-text-red{
color: red !important
}
._height_auto.el-select .el-input{
height: auto !important;
}
/************************** luochao 重新定义表格样式 END *******************************/
\ No newline at end of file
......@@ -168,7 +168,7 @@
<template>
<el-col :span="4">
<el-form-item label="费用类型:">
<el-select filterable v-model='msg.CostTypeID'>
<el-select class="_height_auto" filterable multiple v-model='msg.CostTypeIDslist'>
<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>
......@@ -712,7 +712,8 @@ export default {
eMoney:'',
CurrencyId:'0',
CostTypeID:'',
CostTypeIDs:'',
CostTypeIDs: '',
CostTypeIDslist: [],
Conditon:'',
TCID:'',
TradeWay:'0',
......@@ -850,7 +851,12 @@ export default {
this.msg.RB_Branch_Id=parseInt(this.$route.query.BranchId);
}
if(this.$route.query.CostIds){
this.msg.CostTypeID=parseInt(this.$route.query.CostIds);
let arr = this.$route.query.CostIds ? this.$route.query.CostIds.split(',') : []
if (arr.length) {
arr.forEach(x=>{
this.msg.CostTypeIDslist.push(parseInt(x));
})
}
}
},components: {
"my-Bill": myBill,
......@@ -938,6 +944,13 @@ export default {
if(!this.msg.Conditon)this.msg.Conditon=1;
if(!this.msg.TradeWay)this.msg.TradeWay=0;
if(!this.msg.AccountType)this.msg.AccountType=0;
if(this.msg.CostTypeIDslist.length) {
this.msg.CostTypeIDs = ''
this.msg.CostTypeIDslist.forEach(x=>{
this.msg.CostTypeIDs += x + ','
})
console.log(this.msg.CostTypeIDs)
}
this.loading= true;
this.apipost('Financial_post_GetALLPageList',this.msg,res=>{
if(res.data.resultCode == 1) {
......@@ -1270,6 +1283,8 @@ export default {
eMoney:this.msg.eMoney,
CurrencyId:this.msg.CurrencyId,
CostTypeID:this.msg.CostTypeID,
CostTypeIDs: this.msg.CostTypeIDs,
CostTypeIDslist: this.msg.CostTypeIDslist,
Conditon:this.msg.Conditon,
TCID:this.msg.TCID,
TradeWay:this.msg.TradeWay,
......
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