Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
8cc1a0e8
Commit
8cc1a0e8
authored
Nov 23, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
768fbdec
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1456 additions
and
1409 deletions
+1456
-1409
PlatformAccount.vue
src/pages/financial/PlatformAccount.vue
+1352
-1312
CashReport.vue
src/pages/financial/accDetail/CashReport.vue
+98
-93
TransferReport.vue
src/pages/financial/accDetail/TransferReport.vue
+6
-4
No files found.
src/pages/financial/PlatformAccount.vue
View file @
8cc1a0e8
<
template
>
<div
class=
"flexOne page_PlatformAccount"
style=
"height:100%"
>
<div
class=
"query-box"
style=
"padding:0 0 10px 0 "
>
<div
style=
"text-align: right"
>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
""
>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
@
click=
"addShow=true,text=$t('pub.addBtn'),ed=false"
>
<ul>
<li>
<em>
账户别名
</em>
<el-input
v-model=
"msg.Alias"
@
keyup
.
enter
.
native=
"getList()"
></el-input>
</li>
<li>
<em>
校区
</em>
<el-select
filterable
v-model=
"msg.RB_Branch_Id"
>
<el-option
label=
"不限"
value=
"-1"
></el-option>
<el-option
v-for=
"item in CompanyList"
:label=
"item.SName"
:value=
"item.SId"
:key=
"item.SId"
></el-option>
</el-select>
</li>
<li>
<em>
开户人
</em>
<el-input
v-model=
"msg.Accountholder"
@
keyup
.
enter
.
native=
"getList()"
></el-input>
</li>
<li>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getList()"
>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
@
click=
"addShow=true,text=$t('pub.addBtn'),ed=false"
>
<input
type=
"button"
class=
"normalBtn"
@
click=
"downMuban()"
:value=
"$t('visa.v_daochu')"
>
</div>
<div>
<div>
<em>
账户:
</em>
<el-input
v-model=
"msg.Alias"
width=
"200px"
></el-input>
</div>
</div>
</li>
</ul>
</div>
<!--
<v-table-->
<!-- v-if="isReady"-->
<!-- is-horizontal-resize-->
<!-- column-width-drag-->
<!-- style="width:100%;"-->
<!-- :columns="columns"-->
<!-- :table-data="DataList"-->
<!-- :filter-method="filterMethod"-->
<!-- :total="total"-->
<!-- :pageSize="msg.pageSize"-->
<!-- :pageIndex="msg.pageIndex"-->
<!-- :handleCurrentChange="handleCurrentChanges"-->
<!-- :multiple-sort="multipleSort"-->
<!-- :is-loading="loading"-->
<!-- sort-always-->
<!-- @sort-change="sortChange"-->
<!-- @on-custom-comp='customCompFunc'-->
<!-- :row-click="rowClick"-->
<!-- >
</v-table>
-->
<el-table
:data=
"DataList"
border
style=
"width: 100%;font-size: 12px"
>
<!--
<v-table-->
<!-- v-if="isReady"-->
<!-- is-horizontal-resize-->
<!-- column-width-drag-->
<!-- style="width:100%;"-->
<!-- :columns="columns"-->
<!-- :table-data="DataList"-->
<!-- :filter-method="filterMethod"-->
<!-- :total="total"-->
<!-- :pageSize="msg.pageSize"-->
<!-- :pageIndex="msg.pageIndex"-->
<!-- :handleCurrentChange="handleCurrentChanges"-->
<!-- :multiple-sort="multipleSort"-->
<!-- :is-loading="loading"-->
<!-- sort-always-->
<!-- @sort-change="sortChange"-->
<!-- @on-custom-comp='customCompFunc'-->
<!-- :row-click="rowClick"-->
<!-- >
</v-table>
-->
<el-table
:data=
"DataList"
border
style=
"width: 100%;font-size: 12px"
>
<el-table-column
prop=
"Alias"
label=
"账户"
width=
"100"
></el-table-column>
<el-table-column
prop=
"allName"
label=
"校区"
width=
"150"
></el-table-column>
<el-table-column
prop=
"Accountholder"
label=
"开户人"
></el-table-column>
<el-table-column
prop=
"Initialbalance"
label=
"账户余额"
>
<template
slot-scope=
"scope"
>
<span
style=
'color:red;font-weight:bold'
v-if=
"scope.row.Initialbalance>=scope.row.RiskLimitMoney&&scope.row.Initialbalance!=0"
>
<span
style=
'color:red;font-weight:bold'
v-if=
"scope.row.Initialbalance>=scope.row.RiskLimitMoney&&scope.row.Initialbalance!=0"
>
{{
scope
.
row
.
Initialbalance
?
scope
.
row
.
Initialbalance
.
toFixed
(
2
):
0
}}
<span
style=
"margin-left:12px"
>
超限
</span>
</span>
<span
style=
'color:red;font-weight:bold'
v-else
>
{{
scope
.
row
.
Initialbalance
?
scope
.
row
.
Initialbalance
.
toFixed
(
2
):
0
}}
</span>
<span
style=
'color:red;font-weight:bold'
v-else
>
{{
scope
.
row
.
Initialbalance
?
scope
.
row
.
Initialbalance
.
toFixed
(
2
):
0
}}
</span>
</
template
>
</el-table-column>
...
...
@@ -71,7 +75,8 @@
<el-table-column
prop=
"Royalty"
label=
"平台使用费"
></el-table-column>
<el-table-column
prop=
"HaveContract"
label=
"合同"
>
<
template
slot-scope=
"scope"
>
<span
:style=
"
{'color':scope.row.HaveContract==0?'red':'blue'}">
{{
scope
.
row
.
HaveContract
==
0
?
'无合同'
:
'有合同'
}}
</span>
<span
:style=
"
{'color':scope.row.HaveContract==0?'red':'blue'}">
{{
scope
.
row
.
HaveContract
==
0
?
'无合同'
:
'有合同'
}}
</span>
<span>
{{
scope
.
row
.
ContraceDateRange
?
scope
.
row
.
ContraceDateRange
:
''
}}
</span>
</
template
>
</el-table-column>
...
...
@@ -81,8 +86,10 @@
<el-table-column
prop=
"Remark"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<div>
<el-button
type=
"primary"
size=
'mini'
icon=
"el-icon-edit"
circle
@
click=
"customCompFunc(scope.row,1)"
></el-button>
<el-button
type=
"danger"
size=
'mini'
icon=
"el-icon-delete"
circle
@
click=
"customCompFunc(scope.row,2)"
></el-button>
<el-button
type=
"primary"
size=
'mini'
icon=
"el-icon-edit"
circle
@
click=
"customCompFunc(scope.row,1)"
>
</el-button>
<el-button
type=
"danger"
size=
'mini'
icon=
"el-icon-delete"
circle
@
click=
"customCompFunc(scope.row,2)"
>
</el-button>
</div>
</
template
>
</el-table-column>
...
...
@@ -93,25 +100,12 @@
<p
class=
"_tit"
>
{{text}}{{$t('fnc.acc')}}
</p>
</el-col>
<el-col
:span=
"4"
class=
"_add_saveBtn"
>
<button
type=
"button"
class=
"normalBtn"
@
click=
"submitForm('addMsg',1)"
>
{{$t('pub.saveBtn')}}
</button>
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"cancelEdit(),resetForm('addMsg'),addShow=false"
>
{{$t('pub.cancelBtn')}}
</button>
<button
type=
"button"
class=
"normalBtn"
@
click=
"submitForm('addMsg',1)"
>
{{$t('pub.saveBtn')}}
</button>
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"cancelEdit(),resetForm('addMsg'),addShow=false"
>
{{$t('pub.cancelBtn')}}
</button>
</el-col>
</el-row>
<el-form
class=
"_info_box clearfix"
:model=
"addMsg"
ref=
"addMsg"
:rules=
"rules"
label-width=
"110px"
>
<el-form
class=
"_info_box clearfix"
:model=
"addMsg"
ref=
"addMsg"
:rules=
"rules"
label-width=
"110px"
>
<el-row>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.accBming')"
prop=
"Alias"
>
...
...
@@ -122,25 +116,16 @@
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.accType')"
prop=
"TypeId"
>
<el-select
filterable
v-model=
"addMsg.TypeId"
class
>
<el-option
v-for=
"item in AccountTypeList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
<el-option
v-for=
"item in AccountTypeList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.ptjigou')"
prop=
"BackId"
>
<el-select
filterable
v-model=
"addMsg.BackId"
class
>
<el-option
v-for=
"item in FinancialList"
v-if=
"item.Type == 1"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
<el-option
v-for=
"item in FinancialList"
v-if=
"item.Type == 1"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -210,25 +195,16 @@
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.zhbizhong')"
prop=
"CurrencyId"
>
<el-select
filterable
v-model=
"addMsg.CurrencyId"
class
>
<el-option
v-for=
"item in financeinfoList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
<el-option
v-for=
"item in financeinfoList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
class=
"_BranchIdS"
>
<el-form-item
label=
"校区"
prop=
"BranchIdS"
>
<el-select
filterable
v-model=
"addMsg.BranchIdS"
collapse-tags
>
<el-option
v-for=
"item in CompanyList"
:label=
"item.SName"
:value=
"item.SId"
:key=
"item.SId"
:disabled=
"item.disabled"
></el-option>
<el-select
filterable
v-model=
"addMsg.BranchIdS"
collapse-tags
>
<el-option
v-for=
"item in CompanyList"
:label=
"item.SName"
:value=
"item.SId"
:key=
"item.SId"
:disabled=
"item.disabled"
></el-option>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -244,19 +220,9 @@
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.bdyhzhanghu')"
prop=
"BindBankID"
>
<el-select
v-model=
"addMsg.BindBankID"
filterable
remote
:placeholder=
"$t('fnc.qsryhzhgjc')"
:remote-method=
"remoteQueryBankMethod"
:loading=
"remoteLoading"
class=
"minmargin-box"
>
<el-option
v-for=
"item in bankList"
:key=
"item.ID"
:label=
"item.Alias"
:value=
"item.ID"
>
<el-select
v-model=
"addMsg.BindBankID"
filterable
remote
:placeholder=
"$t('fnc.qsryhzhgjc')"
:remote-method=
"remoteQueryBankMethod"
:loading=
"remoteLoading"
class=
"minmargin-box"
>
<el-option
v-for=
"item in bankList"
:key=
"item.ID"
:label=
"item.Alias"
:value=
"item.ID"
>
<span
style=
"float: left"
>
{{ item.Alias }}
</span>
<span
class=
"right-tag"
>
{{ item.BranchName }}
</span>
</el-option>
...
...
@@ -275,8 +241,7 @@
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
label=
"期初应用日期"
>
<el-date-picker
type=
"date"
v-model=
"addMsg.BeginTimeStr"
value-format=
"yyyy-MM-dd"
></el-date-picker>
<el-date-picker
type=
"date"
v-model=
"addMsg.BeginTimeStr"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -289,31 +254,20 @@
</el-row>
</el-form>
</div>
<div
class=
"_vMG_edit _scrollbar"
v-if=
"addCuren == false"
:class=
"addCuren==false?'edHeight_t':''"
>
<div
class=
"_vMG_edit _scrollbar"
v-if=
"addCuren == false"
:class=
"addCuren==false?'edHeight_t':''"
>
<el-row>
<el-col
:span=
"20"
>
<p
class=
"_tit"
>
{{$t('fnc.qmtiaohui')}}
</p>
</el-col>
<el-col
:span=
"4"
class=
"_add_saveBtn"
>
<button
type=
"button"
class=
"normalBtn"
@
click=
"submitForm('SetProfitLossMsg',2)"
>
{{$t('fnc.qrtijiao')}}
</button>
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"cancelEdit(),resetForm('SetProfitLossMsg')"
>
{{$t('pub.cancelBtn')}}
</button>
<button
type=
"button"
class=
"normalBtn"
@
click=
"submitForm('SetProfitLossMsg',2)"
>
{{$t('fnc.qrtijiao')}}
</button>
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"cancelEdit(),resetForm('SetProfitLossMsg')"
>
{{$t('pub.cancelBtn')}}
</button>
</el-col>
</el-row>
<el-form
class=
"_info_box clearfix"
:model=
"SetProfitLossMsg"
ref=
"SetProfitLossMsg"
:rules=
"rules"
label-width=
"100px"
>
<el-form
class=
"_info_box clearfix"
:model=
"SetProfitLossMsg"
ref=
"SetProfitLossMsg"
:rules=
"rules"
label-width=
"100px"
>
<el-row>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.sqhuilv')"
>
...
...
@@ -327,24 +281,14 @@
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.xzqishu')"
prop=
"TermNum"
>
<el-date-picker
v-model=
"SetProfitLossMsg.TermNum"
value-format=
"yyyy-MM-dd"
type=
"month"
class=
"_wAuto"
:placeholder=
"$('admin.admin_choDate')"
></el-date-picker>
<el-date-picker
v-model=
"SetProfitLossMsg.TermNum"
value-format=
"yyyy-MM-dd"
type=
"month"
class=
"_wAuto"
:placeholder=
"$('admin.admin_choDate')"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
v-if=
"costType.length"
>
<el-form-item
:label=
"$t('fnc.fyleixing')"
prop=
"CostTypeID"
>
<el-select
filterable
v-model=
"SetProfitLossMsg.CostTypeID"
>
<el-option
v-for=
"item in costType"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
<el-option
v-for=
"item in costType"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -368,22 +312,22 @@
</div>
</template>
<
script
>
import
Vue
from
'vue'
import
{
getSchoolPage
}
from
'../../api/school/index'
export
default
{
import
Vue
from
'vue'
import
{
getSchoolDropdown
}
from
'../../api/school/index'
export
default
{
data
()
{
return
{
columns
:
[],
remoteLoading
:
false
,
remoteLoading
:
false
,
total
:
0
,
tableData
:
[],
bankList
:
[],
bankList
:
[],
isReady
:
false
,
multipleSort
:
false
,
loading
:
true
,
CompanySelect
:
[],
CompanySelect
:
[],
msg
:
{
pageIndex
:
1
,
pageSize
:
15
,
...
...
@@ -413,17 +357,17 @@ export default {
OutCharge
:
0
,
InCharge
:
0
,
RiskLowerLimitMoney
:
""
,
SettlementType
:
'1'
,
Royalty
:
0
,
Bond
:
0
,
SigningLine
:
''
,
Remark
:
''
,
BindBankID
:
null
,
HaveContract
:
'0'
,
ContraceDateRange
:
''
,
AccountStartMoney
:
0
,
AccountStartWBMoney
:
0
,
BeginTimeStr
:
''
,
SettlementType
:
'1'
,
Royalty
:
0
,
Bond
:
0
,
SigningLine
:
''
,
Remark
:
''
,
BindBankID
:
null
,
HaveContract
:
'0'
,
ContraceDateRange
:
''
,
AccountStartMoney
:
0
,
AccountStartWBMoney
:
0
,
BeginTimeStr
:
''
,
},
getCompanyMsg
:
{
...
...
@@ -447,57 +391,91 @@ export default {
InitTimeFun
:
""
,
rules
:
{
//表单必填验证
Alias
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qsrzhbieming'
),
trigger
:
"blur"
}],
TypeId
:
[
{
required
:
true
,
message
:
this
.
$t
(
'rule.qxzzhleixing'
),
trigger
:
"change"
}
],
BackId
:
[
{
required
:
true
,
message
:
this
.
$t
(
'rule.qxzyhjigou'
),
trigger
:
"change"
}
],
Accountholder
:
[
{
required
:
true
,
message
:
this
.
$t
(
'rule.qsrkhuren'
),
trigger
:
"blur"
}
],
PlatformNo
:
[
{
required
:
true
,
message
:
this
.
$t
(
'rule.qsrptzhanghao'
),
trigger
:
"blur"
}
],
Commission
:
[
{
required
:
true
,
message
:
this
.
$t
(
'rule.qsrptsxufei'
),
trigger
:
"blur"
},
Alias
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qsrzhbieming'
),
trigger
:
"blur"
}],
TypeId
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qxzzhleixing'
),
trigger
:
"change"
}],
BackId
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qxzyhjigou'
),
trigger
:
"change"
}],
Accountholder
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qsrkhuren'
),
trigger
:
"blur"
}],
PlatformNo
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qsrptzhanghao'
),
trigger
:
"blur"
}],
Commission
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qsrptsxufei'
),
trigger
:
"blur"
},
{
pattern
:
/^
\d
+
(\.\d{0,8})?
$/
,
message
:
this
.
$t
(
'rule.qsrzqxufei'
)
}
],
BranchIdS
:
[
{
required
:
true
,
message
:
this
.
$t
(
'rule.qszssgongsi'
),
trigger
:
"change"
}
],
CurrencyId
:
[
{
required
:
true
,
message
:
this
.
$t
(
'rule.qxzzhbizhong'
),
trigger
:
"change"
}
],
Initialbalance
:
[
{
required
:
true
,
message
:
this
.
$t
(
'rule.qsrcsyue'
),
trigger
:
"blur"
},
BranchIdS
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qszssgongsi'
),
trigger
:
"change"
}],
CurrencyId
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qxzzhbizhong'
),
trigger
:
"change"
}],
Initialbalance
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qsrcsyue'
),
trigger
:
"blur"
},
{
pattern
:
/^
(\-
|
\+?)\d
+
(\.\d
+
)?
$/
,
message
:
this
.
$t
(
'rule.qsrzqdyue'
)
}
],
OutCharge
:
[
{
required
:
true
,
message
:
this
.
$t
(
'rule.szfzeren'
),
trigger
:
"change"
}
],
InCharge
:
[
{
required
:
true
,
message
:
this
.
$t
(
'rule.fkfzeren'
),
trigger
:
"change"
}
],
CostTypeID
:
[
{
required
:
true
,
message
:
this
.
$t
(
'rule.qxzfyleixing'
),
trigger
:
"change"
}
],
Royalty
:[
{
required
:
true
,
message
:
this
.
$t
(
'rule.qtxptsyongfei'
),
trigger
:
"change"
}
],
Bond
:[
{
required
:
true
,
message
:
this
.
$t
(
'rule.qtxptbzhengjin'
),
trigger
:
"change"
}
],
BindBankID
:[
{
required
:
true
,
message
:
this
.
$t
(
'rule.qxzbdyinhang'
),
trigger
:
"change"
}
]
OutCharge
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.szfzeren'
),
trigger
:
"change"
}],
InCharge
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.fkfzeren'
),
trigger
:
"change"
}],
CostTypeID
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qxzfyleixing'
),
trigger
:
"change"
}],
Royalty
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qtxptsyongfei'
),
trigger
:
"change"
}],
Bond
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qtxptbzhengjin'
),
trigger
:
"change"
}],
BindBankID
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.qxzbdyinhang'
),
trigger
:
"change"
}]
},
addCuren
:
true
,
ed
:
false
,
...
...
@@ -532,49 +510,44 @@ export default {
Source
:
2
,
CostTypeID
:
""
},
costType
:
[],
schoolMsg
:{
pageIndex
:
1
,
pageSize
:
9999
,
rowsPerPage
:
12
,
SName
:
""
,
Status
:
'-1'
}
costType
:
[]
};
},
methods
:
{
rowClick
(
rowIndex
,
rowData
,
column
)
{
let
path
=
'PlatformAccDetail'
;
if
(
column
.
title
==
"账户余额"
)
{
rowClick
(
rowIndex
,
rowData
,
column
)
{
let
path
=
'PlatformAccDetail'
;
if
(
column
.
title
==
"账户余额"
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
TypeId
:
rowData
.
TypeId
,
ID
:
rowData
.
ID
,
ID
:
rowData
.
ID
,
blank
:
"y"
,
}
});
}
},
remoteQueryBankMethod
(
query
){
if
(
query
!=
''
){
this
.
remoteLoading
=
true
this
.
apipost
(
'bankbase_get_searchbyalias'
,{
query
},
x
=>
{
this
.
remoteLoading
=
false
this
.
bankList
=
x
.
data
.
data
remoteQueryBankMethod
(
query
)
{
if
(
query
!=
''
)
{
this
.
remoteLoading
=
true
this
.
apipost
(
'bankbase_get_searchbyalias'
,
{
query
},
x
=>
{
this
.
remoteLoading
=
false
this
.
bankList
=
x
.
data
.
data
})
}
},
customCompFunc
(
params
,
index
)
{
customCompFunc
(
params
,
index
)
{
console
.
log
(
params
)
if
(
index
==
'2'
)
{
this
.
financeinfoRemove
(
params
.
ID
,
params
.
Alias
)
}
else
if
(
index
==
'1'
)
{
if
(
index
==
'2'
)
{
this
.
financeinfoRemove
(
params
.
ID
,
params
.
Alias
)
}
else
if
(
index
==
'1'
)
{
this
.
editCurency
(
params
.
ID
)
this
.
text
=
this
.
$t
(
'pub.updateMsg'
)
this
.
addShow
=
true
this
.
addCuren
=
true
this
.
text
=
this
.
$t
(
'pub.updateMsg'
)
this
.
addShow
=
true
this
.
addCuren
=
true
}
},
initColums
()
{
...
...
@@ -632,14 +605,11 @@ export default {
isResize
:
true
,
width
:
80
,
orderBy
:
"desc"
,
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
if
(
rowData
[
"Initialbalance"
]
>=
rowData
[
"RiskLimitMoney"
]
&&
rowData
[
"Initialbalance"
]
!=
0
)
{
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
if
(
rowData
[
"Initialbalance"
]
>=
rowData
[
"RiskLimitMoney"
]
&&
rowData
[
"Initialbalance"
]
!=
0
)
{
let
text
=
that
.
$t
(
'fnc.chaoxian'
)
return
`<span style='color:red;font-weight:bold'>
${
rowData
[
"Initialbalance"
].
toFixed
(
2
)}
</span><span style='color:red;margin-left:12px;'>
${
text
}
</span>`
;
}
else
{
}
else
{
return
rowData
[
"Initialbalance"
].
toFixed
(
2
)
}
}
...
...
@@ -651,16 +621,15 @@ export default {
columnAlign
:
"left"
,
isResize
:
true
,
width
:
80
,
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
let
text
=
that
.
$t
(
'hotel.hotel_people'
)
return
rowData
.
SettlementType
==
1
?
rowData
.
Commission
.
toFixed
(
2
)
+
"%"
:
rowData
.
Commission
+
"/"
+
text
;
return
rowData
.
SettlementType
==
1
?
rowData
.
Commission
.
toFixed
(
2
)
+
"%"
:
rowData
.
Commission
+
"/"
+
text
;
},
filterMultiple
:
true
,
result
:
[],
filters
:
[
{
filters
:
[{
label
:
that
.
$t
(
'fnc.jyebfenbi'
),
value
:
"1"
},
...
...
@@ -679,7 +648,7 @@ export default {
isResize
:
true
,
width
:
80
,
orderBy
:
""
,
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
return
rowData
.
Royalty
.
toFixed
(
2
);
}
};
...
...
@@ -690,7 +659,7 @@ export default {
columnAlign
:
"left"
,
isResize
:
true
,
width
:
80
,
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
let
whetong
=
that
.
$t
(
'fnc.whetong'
)
let
yhetong
=
that
.
$t
(
'fnc.yhetong'
)
return
`<span style='color:
${
...
...
@@ -703,8 +672,7 @@ export default {
},
filterMultiple
:
true
,
result
:
[],
filters
:
[
{
filters
:
[{
label
:
that
.
$t
(
'fnc.whetong'
),
value
:
"1"
},
...
...
@@ -742,7 +710,7 @@ export default {
columnAlign
:
"left"
,
isResize
:
true
,
width
:
80
,
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
return
`<span style='color:gray'>
${
rowData
.
Remark
?
rowData
.
Remark
:
''
}
</span>`
;
},
};
...
...
@@ -752,7 +720,7 @@ export default {
columnAlign
:
"left"
,
width
:
80
,
isResize
:
false
,
componentName
:
'table-operation'
componentName
:
'table-operation'
};
this
.
columns
=
[];
this
.
columns
.
push
(
Alias
);
...
...
@@ -782,8 +750,8 @@ export default {
},
filterMethod
(
filters
)
{
this
.
msg
.
Alias
=
filters
.
Alias
;
if
(
filters
.
allName
==
'__all__'
)
{
filters
.
allName
=
'-1'
if
(
filters
.
allName
==
'__all__'
)
{
filters
.
allName
=
'-1'
}
this
.
msg
.
RB_Branch_Id
=
filters
.
allName
;
this
.
msg
.
SettlementType
=
...
...
@@ -833,13 +801,13 @@ export default {
},
getTemplateCostTypeList
(
t
)
{
this
.
apipost
(
"financeinfo_post_GetCostTypeList"
,
{
Type
:
t
},
"financeinfo_post_GetCostTypeList"
,
{
Type
:
t
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
costType
=
res
.
data
.
data
;
}
else
{
}
}
else
{}
},
err
=>
{}
);
...
...
@@ -848,8 +816,9 @@ export default {
if
(
query
!==
""
)
{
this
.
loadingPeople
=
true
;
this
.
apipost
(
"admin_Get_Chat_All_SelectEmpName"
,
{
EmName
:
query
},
"admin_Get_Chat_All_SelectEmpName"
,
{
EmName
:
query
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
showEmployeeList
=
res
.
data
.
data
;
...
...
@@ -866,8 +835,9 @@ export default {
if
(
query
!==
""
)
{
this
.
loadingPeople
=
true
;
this
.
apipost
(
"admin_Get_Chat_All_SelectEmpName"
,
{
EmName
:
query
},
"admin_Get_Chat_All_SelectEmpName"
,
{
EmName
:
query
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
showEmployeeList2
=
res
.
data
.
data
;
...
...
@@ -901,13 +871,13 @@ export default {
getfinanceinfoList
()
{
//获取币种列表
this
.
apipost
(
"financeinfo_post_GetList"
,
{
Name
:
""
},
"financeinfo_post_GetList"
,
{
Name
:
""
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
financeinfoList
=
res
.
data
.
data
;
}
else
{
}
}
else
{}
},
err
=>
{}
);
...
...
@@ -915,20 +885,21 @@ export default {
getFinancialList
()
{
//获取机构列表
this
.
apipost
(
"FinancialInstitutions_post_GetList"
,
{
Type
:
-
1
},
"FinancialInstitutions_post_GetList"
,
{
Type
:
-
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
FinancialList
=
res
.
data
.
data
;
}
else
{
}
}
else
{}
},
err
=>
{}
);
},
getCompanyList
()
{
getSchoolPage
(
this
.
schoolMsg
).
then
(
res
=>
{
this
.
CompanyList
=
res
.
Data
.
PageData
;
getSchoolDropdown
({}).
then
(
res
=>
{
this
.
CompanyList
=
res
.
Data
;
console
.
log
(
res
,
'数据'
);
}).
catch
(()
=>
{
})
...
...
@@ -936,8 +907,9 @@ export default {
editCurency
(
id
)
{
// 修改根据ID 获取信息
this
.
apipost
(
"BankAccount_post_GetPlatform"
,
{
ID
:
id
},
"BankAccount_post_GetPlatform"
,
{
ID
:
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
...
...
@@ -946,8 +918,8 @@ export default {
this
.
remoteMethod2
(
data
.
OutemName
);
this
.
addMsg
=
data
;
this
.
addMsg
.
HaveContract
=
this
.
addMsg
.
HaveContract
.
toString
()
this
.
addMsg
.
SettlementType
=
this
.
addMsg
.
SettlementType
.
toString
()
this
.
addMsg
.
BindBankID
=
this
.
addMsg
.
BindBankID
==-
1
?
null
:
this
.
addMsg
.
BindBankID
this
.
addMsg
.
SettlementType
=
this
.
addMsg
.
SettlementType
.
toString
()
this
.
addMsg
.
BindBankID
=
this
.
addMsg
.
BindBankID
==
-
1
?
null
:
this
.
addMsg
.
BindBankID
this
.
remoteQueryBankMethod
(
this
.
addMsg
.
BindBankName
)
}
else
{
this
.
tips
(
res
.
data
.
message
,
"error"
);
...
...
@@ -974,9 +946,9 @@ export default {
OutCharge
:
0
,
InCharge
:
0
,
RiskLowerLimitMoney
:
""
,
AccountStartMoney
:
0
,
AccountStartWBMoney
:
0
,
BeginTimeStr
:
''
,
AccountStartMoney
:
0
,
AccountStartWBMoney
:
0
,
BeginTimeStr
:
''
,
};
this
.
SetProfitLossMsg
=
{
ID
:
0
,
...
...
@@ -1002,8 +974,7 @@ export default {
getAccountTypeList
()
{
//获取账户类型(平台账户只能获取对公账户类型)
this
.
apipost
(
"AccountType_post_GetList"
,
{},
"AccountType_post_GetList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
AccountTypeList
=
res
.
data
.
data
;
...
...
@@ -1051,9 +1022,9 @@ export default {
},
//导出
downMuban
()
{
let
msg
=
this
.
msg
;
let
msg
=
this
.
msg
;
let
userInfo
=
this
.
getLocalStorage
();
msg
.
UId
=
userInfo
.
Id
;
msg
.
UId
=
userInfo
.
Id
;
this
.
GetLocalFile
(
"BankAccount_post_OutToExcelPlatform"
,
msg
,
...
...
@@ -1074,7 +1045,7 @@ export default {
ID
:
0
,
Type
:
2
,
RB_Branch_Id
:
this
.
addMsg
.
BranchIdS
,
RB_BranchName
:
obj
.
SName
RB_BranchName
:
obj
.
SName
};
this
.
addMsg
.
BranchList
.
push
(
msg
);
...
...
@@ -1098,8 +1069,7 @@ export default {
//删除
this
.
$confirm
(
this
.
$t
(
'tips.shifoudui'
)
+
"“"
+
text
+
"”"
+
this
.
$t
(
'tips.zhshanchu'
),
this
.
$t
(
'tips.tips'
),
{
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
"warning"
...
...
@@ -1117,8 +1087,9 @@ export default {
},
deletInstitutions
(
id
)
{
this
.
apipost
(
"BankAccount_post_RemovePlatform"
,
{
ID
:
id
},
"BankAccount_post_RemovePlatform"
,
{
ID
:
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
innerVisible
=
false
;
...
...
@@ -1215,13 +1186,18 @@ export default {
goUrl
(
path
,
id
,
name
,
source
,
CurrencyId
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
name
:
name
,
source
:
source
,
CurrencyId
:
CurrencyId
}
query
:
{
id
:
id
,
name
:
name
,
source
:
source
,
CurrencyId
:
CurrencyId
}
});
},
InitTime
()
{
},
calcPageSize
(
itemHeight
)
{
calcPageSize
(
itemHeight
)
{
let
yuHeight
=
itemHeight
try
{
let
obj
=
null
...
...
@@ -1231,7 +1207,8 @@ export default {
}
})
let
dom
=
obj
.
offsetHeight
yuHeight
=
dom
-
(
obj
.
querySelector
(
'.v-table-header'
)
?
obj
.
querySelector
(
'.v-table-header'
).
offsetHeight
:
39
)
-
50
//减去面包屑,减去表格头部,减去分页,减去偏量
yuHeight
=
dom
-
(
obj
.
querySelector
(
'.v-table-header'
)
?
obj
.
querySelector
(
'.v-table-header'
).
offsetHeight
:
39
)
-
50
//减去面包屑,减去表格头部,减去分页,减去偏量
//减去其它同级元素
obj
.
childNodes
[
0
].
childNodes
.
forEach
(
x
=>
{
if
(
x
.
className
&&
x
.
className
.
indexOf
(
'v-table-views'
)
==
-
1
)
{
...
...
@@ -1263,58 +1240,70 @@ export default {
this
.
getfinanceinfoList
();
},
created
()
{
Vue
.
component
(
'table-operation'
,
{
template
:
`<div style='width:80px;height:40px;background:#fff;text-align:center;position: relative;left:-5px;padding-top: 6px;padding-top:6px;'><el-button type="primary" size='mini' icon="el-icon-edit" circle @click="update(rowData,index)"></el-button><el-button type="danger" size='mini' icon="el-icon-delete" circle @click="deleteRow(rowData,index)"></el-button></div>`
,
props
:
{
rowData
:{
type
:
Object
Vue
.
component
(
'table-operation'
,
{
template
:
`<div style='width:80px;height:40px;background:#fff;text-align:center;position: relative;left:-5px;padding-top: 6px;padding-top:6px;'><el-button type="primary" size='mini' icon="el-icon-edit" circle @click="update(rowData,index)"></el-button><el-button type="danger" size='mini' icon="el-icon-delete" circle @click="deleteRow(rowData,index)"></el-button></div>`
,
props
:
{
rowData
:
{
type
:
Object
},
field
:{
type
:
String
field
:
{
type
:
String
},
index
:{
type
:
Number
index
:
{
type
:
Number
}
},
methods
:{
update
(){
let
params
=
{
type
:
'edit'
,
id
:
this
.
rowData
.
ID
};
this
.
$emit
(
'on-custom-comp'
,
params
);
methods
:
{
update
()
{
let
params
=
{
type
:
'edit'
,
id
:
this
.
rowData
.
ID
};
this
.
$emit
(
'on-custom-comp'
,
params
);
},
deleteRow
(){
let
params
=
{
type
:
'delete'
,
id
:
this
.
rowData
.
ID
,
alias
:
this
.
rowData
.
Alias
};
this
.
$emit
(
'on-custom-comp'
,
params
);
deleteRow
()
{
let
params
=
{
type
:
'delete'
,
id
:
this
.
rowData
.
ID
,
alias
:
this
.
rowData
.
Alias
};
this
.
$emit
(
'on-custom-comp'
,
params
);
}
}
})
}
};
};
</
script
>
<
style
scoped
>
@import
"css/cssReset.css"
;
.page_PlatformAccount
.query-box
li
label
{
@import
"css/cssReset.css"
;
.page_PlatformAccount
.query-box
li
label
{
display
:
inline-block
;
min-width
:
80px
;
text-align
:
right
;
font-style
:
normal
;
margin
:
0
20px
0
0
;
}
._scrollbar
::-webkit-scrollbar
{
}
._scrollbar
::-webkit-scrollbar
{
width
:
4px
;
height
:
8px
;
}
._scrollbar
::-webkit-scrollbar-thumb
{
}
._scrollbar
::-webkit-scrollbar-thumb
{
border-radius
:
4px
;
box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
background
:
#c9c9c9
;
}
._scrollbar
::-webkit-scrollbar-track
{
}
._scrollbar
::-webkit-scrollbar-track
{
box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
border-radius
:
4px
;
background
:
#ededed
;
}
.page_PlatformAccount
._vMG_edit
{
}
.page_PlatformAccount
._vMG_edit
{
overflow
:
auto
;
display
:
none
;
position
:
fixed
;
...
...
@@ -1326,38 +1315,46 @@ export default {
padding
:
10px
;
/* width: 100%; */
margin-left
:
180px
;
}
.page_PlatformAccount
._vMG_edit
._tit
{
}
.page_PlatformAccount
._vMG_edit
._tit
{
padding-left
:
10px
;
border-left
:
3px
solid
#e95252
;
font-size
:
16px
;
color
:
#000000
;
}
.page_PlatformAccount
._vMG_edit
._tit
span
{
}
.page_PlatformAccount
._vMG_edit
._tit
span
{
color
:
#666666
;
font-size
:
14px
;
}
.cm_content
{
}
.cm_content
{
margin
:
0
;
padding
:
0
;
overflow-x
:
auto
;
}
._edHeight
{
}
._edHeight
{
height
:
400px
;
}
.edHeight
{
}
.edHeight
{
display
:
block
!important
;
height
:
300px
;
}
.edHeight_t
{
}
.edHeight_t
{
display
:
block
!important
;
height
:
152px
;
}
.page_PlatformAccount
._info_box
ul
li
{
}
.page_PlatformAccount
._info_box
ul
li
{
float
:
left
;
margin-right
:
12px
;
}
.instMg_list_item
{
}
.instMg_list_item
{
width
:
296px
;
height
:
auto
;
border-radius
:
4px
;
...
...
@@ -1367,78 +1364,93 @@ export default {
overflow
:
hidden
;
margin-right
:
15px
;
margin-bottom
:
15px
;
}
.instMg_list_item
:hover
{
}
.instMg_list_item
:hover
{
box-shadow
:
0px
0px
20px
rgba
(
191
,
191
,
191
,
1
);
transition
:
all
linear
0.5s
;
}
._tips
{
}
._tips
{
font-size
:
12px
;
color
:
#666666
;
padding
:
15px
0
;
}
._top
{
}
._top
{
text-align
:
center
;
height
:
50px
;
border-bottom
:
1px
solid
#eeeeee
;
overflow
:
hidden
;
padding
:
10px
0
;
}
._top
img
{
}
._top
img
{
height
:
100%
;
}
._bt
{
}
._bt
{
padding
:
20px
;
font-size
:
14px
;
}
._bt_t
{
}
._bt_t
{
border-radius
:
4px
;
background-color
:
#47bf8c
;
color
:
#ffffff
;
}
._bt_t
>
p
{
}
._bt_t
>
p
{
padding
:
10px
0
;
text-align
:
center
;
}
._bt_t
>
p
>
span
{
}
._bt_t
>
p
>
span
{
display
:
inline-block
;
padding
:
3px
10px
;
background-color
:
#ffa200
;
border-radius
:
4px
;
}
._bt_t
._btt_b
{
}
._bt_t
._btt_b
{
padding
:
14px
;
background-color
:
#32b37c
;
}
._bt_t
._btt_b
>
div
:nth-child
(
1
)
{
}
._bt_t
._btt_b
>
div
:nth-child
(
1
)
{
display
:
flex
;
text-align
:
center
;
padding
:
0
0
9px
0
;
}
._bt_t
._btt_b
>
div
>
p
{
}
._bt_t
._btt_b
>
div
>
p
{
flex
:
1
;
}
._bt_t
._btt_b
>
div
:nth-child
(
1
)
>
p
:nth-child
(
2
)
{
}
._bt_t
._btt_b
>
div
:nth-child
(
1
)>
p
:nth-child
(
2
)
{
border-left
:
2px
solid
#4fc794
;
max-width
:
100%
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
padding
:
0
5px
;
}
.icon-img-ren
{
}
.icon-img-ren
{
color
:
#4fc794
;
}
._bt_t
._btt_b
.PingFangSC
{
}
._bt_t
._btt_b
.PingFangSC
{
font-weight
:
bold
;
text-align
:
center
;
padding
:
5px
0
;
border
:
1px
solid
rgba
(
79
,
199
,
148
,
1
);
border-radius
:
4px
;
width
:
162px
;
}
.icon-qiehuan
,
.icon-ico-renwuyaoqiu
{
}
.icon-qiehuan
,
.icon-ico-renwuyaoqiu
{
background-color
:
#e7e7e7
;
border-radius
:
50%
;
color
:
#999999
;
...
...
@@ -1449,33 +1461,40 @@ export default {
text-align
:
center
;
line-height
:
19px
;
cursor
:
pointer
;
}
.icon-ico-renwuyaoqiu
{
}
.icon-ico-renwuyaoqiu
{
font-size
:
10px
;
}
.icon-qiehuan
:hover
,
.icon-ico-renwuyaoqiu
:hover
{
}
.icon-qiehuan
:hover
,
.icon-ico-renwuyaoqiu
:hover
{
background-color
:
#e95252
;
color
:
white
;
}
._bt_b
{
}
._bt_b
{
padding
:
15px
0
0
0
;
border-bottom
:
1px
solid
#eeeeee
;
}
._bt_b
>
p
{
}
._bt_b
>
p
{
display
:
flex
;
justify-content
:
space-between
;
padding-bottom
:
10px
;
}
._bt_b
>
p
span
._name
{
}
._bt_b
>
p
span
._name
{
color
:
#333333
;
font-size
:
12px
;
}
._btn
{
}
._btn
{
padding
:
20px
30px
0
30px
;
text-align
:
center
;
}
._btn
span
{
}
._btn
span
{
display
:
inline-block
;
font-size
:
12px
;
background-color
:
#e7e7e7
;
...
...
@@ -1484,34 +1503,41 @@ export default {
border-radius
:
14px
;
cursor
:
pointer
;
margin-left
:
10px
;
}
._btn
span
:hover
{
}
._btn
span
:hover
{
background-color
:
#e95252
;
color
:
white
;
}
.fc_green
{
}
.fc_green
{
color
:
#47bf8c
!important
;
}
.fc_red
{
}
.fc_red
{
color
:
#e95252
!important
;
}
.page_PlatformAccount
.PingFangSC
,
._bold
,
.PingFangCom
{
}
.page_PlatformAccount
.PingFangSC
,
._bold
,
.PingFangCom
{
font-weight
:
bold
;
}
._no_bold
{
}
._no_bold
{
font-weight
:
normal
;
}
._max_wd
{
}
._max_wd
{
max-width
:
80px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
vertical-align
:
top
;
display
:
inline-block
;
}
._bt_t
.PingFangCom
{
}
._bt_t
.PingFangCom
{
font-family
:
"PingFangSC-fine"
!important
;
text-align
:
center
;
padding
:
6px
2px
;
...
...
@@ -1523,15 +1549,18 @@ export default {
white-space
:
nowrap
;
display
:
inline-block
;
overflow
:
hidden
;
}
._btt_b
>
div
:nth-child
(
1
)
.over_ellipsis
{
}
._btt_b
>
div
:nth-child
(
1
)
.over_ellipsis
{
max-width
:
107px
;
}
._add_saveBtn
{
}
._add_saveBtn
{
text-align
:
right
;
margin-bottom
:
10px
;
}
._cp_name
{
}
._cp_name
{
width
:
185px
;
display
:
inline-block
;
text-overflow
:
ellipsis
;
...
...
@@ -1539,34 +1568,43 @@ export default {
display
:
inline-block
;
overflow
:
hidden
;
text-align
:
right
;
}
._underline
{
}
._underline
{
text-decoration
:
underline
;
cursor
:
pointer
;
}
.page_PlatformAccount
.el-button-group
.el-button
{
}
.page_PlatformAccount
.el-button-group
.el-button
{
padding
:
4px
;
}
._yingkui
{
}
._yingkui
{
height
:
40px
;
line-height
:
40px
;
font-size
:
12px
;
color
:
#666666
;
padding-left
:
20px
;
}
.page_PlatformAccount
.query-box
{
}
.page_PlatformAccount
.query-box
{
padding
:
20px
0
0
;
}
.page_PlatformAccount
._wAuto
{
}
.page_PlatformAccount
._wAuto
{
width
:
auto
;
}
.el-date-editor.el-input
{
}
.el-date-editor.el-input
{
width
:
100%
!important
;
}
.page_PlatformAccount
.el-input-group__append
,
.page_PlatformAccount
.el-input-group__prepend
{
}
.page_PlatformAccount
.el-input-group__append
,
.page_PlatformAccount
.el-input-group__prepend
{
border-radius
:
0px
;
}
.right-tag
{
}
.right-tag
{
float
:
right
;
color
:
rgb
(
255
,
255
,
255
);
font-size
:
12px
;
...
...
@@ -1576,12 +1614,14 @@ export default {
height
:
22px
;
line-height
:
18px
;
margin-top
:
7px
;
}
.el-select-dropdown__item.selected
{
}
.el-select-dropdown__item.selected
{
font-weight
:
unset
;
}
.minmargin-box
.el-select-dropdown__item
{
}
.minmargin-box
.el-select-dropdown__item
{
padding
:
0
5px
;
}
</
style
>
}
</
style
>
src/pages/financial/accDetail/CashReport.vue
View file @
8cc1a0e8
<
style
scoped
>
@import
"../css/cssReset.css"
;
.page_fnDm
{
background-color
:
white
}
.query-box
{
overflow
:
inherit
}
.query-box
{
border
:
none
}
.query-box
ul
{
overflow
:
initial
;}
.query-box
li
:last-child
{
float
:
left
}
.query-box
>
ul
>
li
:last-child
{
float
:
right
;}
.query-box
.hight_query
ul
.el-input
{
width
:
inherit
}
.page_CashReport
.query-box
li
:last-child
{
.page_fnDm
{
background-color
:
white
}
.query-box
{
overflow
:
inherit
}
.query-box
{
border
:
none
}
.query-box
ul
{
overflow
:
initial
;
}
.query-box
li
:last-child
{
float
:
left
}
.query-box
>
ul
>
li
:last-child
{
float
:
right
;
}
.query-box
.hight_query
ul
.el-input
{
width
:
inherit
}
.page_CashReport
.query-box
li
:last-child
{
top
:
35px
;
}
.page_CashReport
._fnDm_content
{
.page_CashReport
._fnDm_content
{
width
:
100%
;
}
.page_CashReport
.singeRowTable
tr
th
{
.page_CashReport
.singeRowTable
tr
th
{
border
:
1px
solid
#d2d2d2
;
}
</
style
>
<
template
>
<
template
>
<div
class=
"page_fnDm page_CashReport"
@
keyup
.
enter=
"getList()"
>
<div
class=
"query-box"
>
<el-form
class=
"_info_box clearfix"
label-width=
"110px"
>
<el-row
style=
"padding:15px 20px 0 0;"
>
<!--
<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=
"-1"
label=
"不限"
></el-option>
<el-option
v-for=
'item in BranchAccountList'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"银行账户:"
>
<el-select
filterable
v-model=
'msg.BankID'
>
<el-option
:value=
"-1"
label=
"不限"
></el-option>
<el-option
v-for=
'item in accountList'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
</el-form-item>
</el-col>
-->
<el-col
:span=
"6"
>
<el-form-item
label=
"交易日期:"
>
<el-date-picker
class=
"h34"
v-model=
"transactionDate"
@
change=
"timeAdd(3)"
type=
"daterange"
value-format=
"yyyy-MM-dd"
>
<el-date-picker
class=
"h34"
v-model=
"transactionDate"
@
change=
"timeAdd(3)"
type=
"daterange"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</el-form-item>
</el-col>
...
...
@@ -68,7 +69,6 @@
<table
class=
"singeRowTable"
cellspacing=
"0"
cellpadding=
"0"
style=
"border: 1px solid rgb(230, 230, 230);"
>
<tr>
<th
colspan=
"16"
>
{{
branchName
}}
资金日报表
</th>
</tr>
<tr>
<th>
校区
</th>
...
...
@@ -106,8 +106,10 @@
<td
@
click=
"goUrl(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
Income
}}
</td>
<td
@
click=
"goUrl(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
AgoOutCome
}}
</td>
<td
@
click=
"goUrl(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
OutCome
}}
</td>
<td
@
click=
"goUrlNew(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
ReceiptWBMoney
}}
</td>
<td
@
click=
"goUrlNew(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
ReceiptMoney
}}
</td>
<td>
{{
subItem
.
ReceiptWBMoney
}}
</td>
<td>
{{
subItem
.
ReceiptMoney
}}
</td>
<!--
<td
@
click=
"goUrlNew(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
ReceiptWBMoney
}}
</td>
<td
@
click=
"goUrlNew(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
ReceiptMoney
}}
</td>
-->
<td
@
click=
"goUrl(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
AgoIncom
}}
</td>
<td
@
click=
"goUrl(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
NowIncome
}}
</td>
<!--
<a
style=
"cursor:pointer;"
@
click=
"goUrl('CashAccDetail',subItem.BankID,subItem.TradeWay)"
>
-->
...
...
@@ -167,47 +169,49 @@
<
script
>
// 自定义列组件
export
default
{
data
(){
return
{
showID
:
false
,
active
:
1
,
userId
:
0
,
msg
:{
BankID
:
-
1
,
TradeWay
:
-
1
,
sTradeDate
:
new
Date
().
Format
(
'yyyy-MM-dd'
),
eTradeDate
:
new
Date
().
Format
(
'yyyy-MM-dd'
),
EmployeeId
:
0
,
data
()
{
return
{
showID
:
false
,
active
:
1
,
userId
:
0
,
msg
:
{
BankID
:
-
1
,
TradeWay
:
-
1
,
sTradeDate
:
new
Date
().
Format
(
'yyyy-MM-dd'
),
eTradeDate
:
new
Date
().
Format
(
'yyyy-MM-dd'
),
EmployeeId
:
0
,
//1-银行,2-现金
IsBank
:
2
,
},
accountList
:[],
BranchAccountList
:[],
transactionDate
:
[
new
Date
().
Format
(
'yyyy-MM-dd'
),
new
Date
().
Format
(
'yyyy-MM-dd'
)],
AccList
:[],
loading
:
false
,
currentPage
:
1
,
total
:
0
,
dataList
:[],
accountList
:
[],
BranchAccountList
:
[],
transactionDate
:
[
new
Date
().
Format
(
'yyyy-MM-dd'
),
new
Date
().
Format
(
'yyyy-MM-dd'
)],
AccList
:
[],
loading
:
false
,
currentPage
:
1
,
total
:
0
,
dataList
:
[],
dataObj
:
{},
branchName
:
''
}
},
created
(){
},
created
()
{
},
components
:
{
},
mounted
(){
let
userInfo
=
this
.
getLocalStorage
();
},
components
:
{},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
getList
();
this
.
branchName
=
userInfo
.
GroupName
this
.
msg
.
EmployeeId
=
userInfo
.
EmployeeId
;
this
.
msg
.
EmployeeId
=
userInfo
.
EmployeeId
;
},
methods
:{
goUrlNew
(
obj
){
methods
:
{
goUrlNew
(
obj
)
{
this
.
$router
.
push
({
name
:
"DocumentStatistics"
,
query
:{
path
:
"DocumentStatistics"
,
query
:
{
"AccountId"
:
obj
.
BankID
,
"StartTime"
:
this
.
msg
.
sTradeDate
,
"EndTime"
:
this
.
msg
.
eTradeDate
,
...
...
@@ -218,42 +222,42 @@
},
goUrl
(
obj
)
{
this
.
$router
.
push
({
name
:
"CashAccDetail"
,
query
:{
"Is_Cashier"
:
1
,
path
:
"CashAccDetail"
,
query
:
{
"Is_Cashier"
:
1
,
"TypeId"
:
obj
.
TypeId
,
"BankID"
:
obj
.
BankID
,
"sTradeDate"
:
this
.
msg
.
sTradeDate
,
"eTradeDate"
:
this
.
msg
.
eTradeDate
,
"DayReport"
:
1
,
"DayReport"
:
1
,
"blank"
:
'y'
,
"tab"
:
'现金账户明细'
}
})
},
getList
:
function
()
{
this
.
loading
=
true
;
this
.
dataObj
=
{};
this
.
apipost
(
'Financial_post_GetReportList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
loading
=
true
;
this
.
dataObj
=
{};
this
.
apipost
(
'Financial_post_GetReportList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataObj
=
res
.
data
.
data
;
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
this
.
loading
=
false
;
},
err
=>
{})
},
err
=>
{})
},
AccountType_post_GetList
()
{
//获取账户类型下拉
this
.
apipost
(
'AccountType_post_GetList'
,
this
.
queryAccMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
AccountType_post_GetList
()
{
//获取账户类型下拉
this
.
apipost
(
'AccountType_post_GetList'
,
this
.
queryAccMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
AccList
=
res
.
data
.
data
;
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
err
=>
{})
},
timeAdd
(
t
)
{
// 日期格式
if
(
!
this
.
transactionDate
)
{
timeAdd
(
t
)
{
// 日期格式
if
(
!
this
.
transactionDate
)
{
this
.
msg
.
sTradeDate
=
''
;
this
.
msg
.
eTradeDate
=
''
;
return
...
...
@@ -261,15 +265,15 @@
this
.
msg
.
sTradeDate
=
this
.
transactionDate
[
0
];
this
.
msg
.
eTradeDate
=
this
.
transactionDate
[
1
];
},
queryInfoInit
()
{
// 初始化msg
queryInfoInit
()
{
// 初始化msg
},
resetPageIndex
()
{
// 重置页码
this
.
msg
.
pageIndex
=
1
;
resetPageIndex
()
{
// 重置页码
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
},
method5
:
function
()
{
this
.
GetLocalFile
(
"Financial_post_CashOutToGetReportList"
,
this
.
msg
,
"现金日报表.xls"
);
method5
:
function
()
{
this
.
GetLocalFile
(
"Financial_post_CashOutToGetReportList"
,
this
.
msg
,
"现金日报表.xls"
);
},
// goUrl(path,id,type,typeid){
// this.$router.push({
...
...
@@ -279,4 +283,5 @@
// },
}
}
</
script
>
src/pages/financial/accDetail/TransferReport.vue
View file @
8cc1a0e8
...
...
@@ -90,8 +90,10 @@
<td
@
click=
"goUrl(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
AgoMoney
}}
</td>
<td
@
click=
"goUrl(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
Income
}}
</td>
<td
@
click=
"goUrl(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
OutCome
}}
</td>
<td
@
click=
"goUrlNew('Manfunds',subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
ReceiptMoney
}}
</td>
<td
@
click=
"goUrlNew('OutstandingAccounts',subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
NONPaymentMoney
}}
</td>
<td>
{{
subItem
.
ReceiptMoney
}}
</td>
<td>
{{
subItem
.
NONPaymentMoney
}}
</td>
<!--
<td
@
click=
"goUrlNew('Manfunds',subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
ReceiptMoney
}}
</td>
<td
@
click=
"goUrlNew('OutstandingAccounts',subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
NONPaymentMoney
}}
</td>
-->
<td
@
click=
"goUrl(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
NowIncome
}}
</td>
<td
@
click=
"goUrl(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
IncomeCount
}}
</td>
<td
@
click=
"goUrl(subItem)"
style=
"cursor: pointer"
>
{{
subItem
.
OutComeCount
}}
</td>
...
...
@@ -186,7 +188,7 @@
goUrlNew
(
path
,
obj
){
let
name
=
path
;
this
.
$router
.
push
({
name
:
name
,
path
:
name
,
query
:{
"BankType"
:
obj
.
TradeWay
,
"BankID"
:
obj
.
BankID
,
...
...
@@ -210,7 +212,7 @@
name
=
'PoolAccDetail'
}
this
.
$router
.
push
({
name
:
name
,
path
:
name
,
query
:{
"Is_Cashier"
:
1
,
"TypeId"
:
obj
.
TypeId
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment