Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
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
李智书
xzf_uniapp-wechat-web
Commits
7d68e1cf
Commit
7d68e1cf
authored
Nov 09, 2022
by
aifen@azjy1.onexmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新1
parent
12242611
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/pages/SchoolReport/SchoolReport.vue
src/pages/SchoolReport/SchoolReport.vue
+6
-6
No files found.
src/pages/SchoolReport/SchoolReport.vue
View file @
7d68e1cf
...
...
@@ -447,7 +447,7 @@
class=
"consume-total"
>
{{
livingExpensesAllowance
.
userConsumeAmount
}}
</text>
元
<text
v-if=
"livingExpensesAllowance.gradeAverageAmount>0"
>
,同比上
{{
[
'
月
'
,
'
周
'
][
reportTypeIndex
]
}}
<text
class=
"consume-total"
>
{{
livingExpensesAllowance
.
lastMonthRateStr
}}
<van-icon
:class=
"livingExpensesAllowance.lastMonthRate>0?'
':'livingCostUp
'"
<van-icon
:class=
"livingExpensesAllowance.lastMonthRate>0?'
livingCostUp':'
'"
name=
"down"
/>
</text>
</text>
...
...
@@ -2921,15 +2921,15 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
if
(
this
.
consumerAmountObj
[
0
])
{
this
.
livingExpensesAllowance
.
userConsumeAmount
=
this
.
consumerAmountObj
[
0
]
.
livingCostAmount
;
//本月
this
.
livingExpensesAllowance
.
lastMonthRate
=
this
.
consumerAmountObj
[
0
].
rate
;
this
.
livingExpensesAllowance
.
lastMonthRateStr
=
this
.
consumerAmountObj
[
0
].
rate
>
0
?
this
.
consumerAmountObj
[
0
].
rate
+
'
%
'
:
(
this
.
consumerAmountObj
[
0
].
rate
<
0
?
this
.
consumerAmountObj
[
0
].
rate
.
toString
()
.
slice
(
1
)
+
'
%
'
:
0
+
'
%
'
);
}
if
(
this
.
consumerAmountObj
[
1
])
{
this
.
livingExpensesAllowance
.
gradeAverageAmount
=
this
.
consumerAmountObj
[
1
]
.
livingCostAmount
;
//上月
this
.
livingExpensesAllowance
.
lastMonthRate
=
this
.
consumerAmountObj
[
1
].
rate
;
this
.
livingExpensesAllowance
.
lastMonthRateStr
=
this
.
consumerAmountObj
[
1
].
rate
>
0
?
this
.
consumerAmountObj
[
1
].
rate
+
'
%
'
:
(
this
.
consumerAmountObj
[
1
].
rate
<
0
?
this
.
consumerAmountObj
[
1
].
rate
.
toString
()
.
slice
(
1
)
+
'
%
'
:
0
+
'
%
'
);
}
if
(
this
.
consumerAmountObj
[
2
])
{
this
.
livingExpensesAllowance
.
schoolAverageAmount
=
this
.
consumerAmountObj
[
2
]
...
...
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