Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
许珑标
薪瑞通-前端
Commits
8e908fee
Commit
8e908fee
authored
Mar 11, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
充值记录查询
parent
97e81ad9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
15 deletions
+10
-15
src/views/business/salaryAccount/index.vue
src/views/business/salaryAccount/index.vue
+10
-15
No files found.
src/views/business/salaryAccount/index.vue
View file @
8e908fee
...
...
@@ -340,11 +340,11 @@
</el-dialog>
<el-dialog
title=
"充值记录"
:visible.sync=
"billPanel"
width=
"80%"
>
<el-form
:model=
"billQuery"
size=
"small"
:inline=
"true"
label-width=
"100px"
>
<el-form-item
label=
"
收支
类型"
prop=
"tranType"
>
<el-select
v-model=
"billQuery.
tranTyp
e"
clearable
placeholder=
"请选择"
>
<el-form-item
label=
"
账单
类型"
prop=
"tranType"
>
<el-select
v-model=
"billQuery.
capitalPurpos
e"
clearable
placeholder=
"请选择"
>
<el-option
label=
"全部"
:value=
"''"
/>
<el-option
label=
"
收入
"
:value=
"1"
/>
<el-option
label=
"
支出
"
:value=
"2"
/>
<el-option
label=
"
服务费
"
:value=
"1"
/>
<el-option
label=
"
余额
"
:value=
"2"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"时间"
>
...
...
@@ -356,31 +356,26 @@
</el-form-item>
</el-form>
<el-tabs
value=
"first"
@
tab-click=
"billTypeTabClick"
>
<el-tab-pane
label=
"服务费账单"
name=
"first"
></el-tab-pane>
<el-tab-pane
label=
"余额账单"
name=
"second"
></el-tab-pane>
<el-tab-pane
label=
"账单列表"
name=
"first"
></el-tab-pane>
</el-tabs>
<el-table
v-loading=
"loading"
:data=
"billDataList"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"账单类型"
align=
"center"
prop=
"capitalPurpose"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.capitalPurpose == 1"
>
服务费
账单
</span>
<span
v-if=
"scope.row.capitalPurpose == 1"
>
服务费
</span>
<span
v-if=
"scope.row.capitalPurpose == 2"
>
余额
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"收支类型"
align=
"center"
prop=
"tranType"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"success"
size=
"mini"
v-if=
"scope.row.tranType == 1"
>
收入
</el-button>
<el-button
size=
"mini"
v-if=
"scope.row.tranType == 2"
>
支出
</el-button>
<el-button
type=
"success"
size=
"mini"
v-if=
"scope.row.tranType == 2"
>
收入
</el-button>
</
template
>
</el-table-column>
<el-table-column
label=
"金额"
align=
"center"
prop=
"tranAmount"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.tranType ==
1
"
style=
"color: rgb(255, 208, 75)"
>
<span
v-if=
"scope.row.tranType ==
2
"
style=
"color: rgb(255, 208, 75)"
>
+
{{
scope
.
row
.
tranAmount
}}
</span>
<span
v-if=
"scope.row.tranType == 2"
>
-
{{
scope
.
row
.
tranAmount
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"时间"
align=
"center"
prop=
"createTime"
width=
"180"
/>
...
...
@@ -501,8 +496,8 @@ export default {
},
methods
:
{
billTypeTabClick
(
tab
)
{
this
.
billQuery
.
capitalPurpose
=
tab
.
name
===
"
second
"
?
2
:
1
//1:服务费 2:余额
this
.
getBillList
();
//
this.billQuery.capitalPurpose = tab.name === "second" ? 2 : 1 //1:服务费 2:余额
//
this.getBillList();
},
showBill
(
cardNo
)
{
this
.
billQuery
.
cardNo
=
cardNo
;
...
...
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