Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sfp-program
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
sfp-program
Commits
21e2d83b
Commit
21e2d83b
authored
Sep 06, 2022
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
点击tab切换时,计算结果清空
parent
98f4679c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
pages/dataImport/data-import.vue
+1
-1
pages/index/index.vue
+10
-6
No files found.
pages/dataImport/data-import.vue
View file @
21e2d83b
...
...
@@ -43,7 +43,7 @@
<!-- 操作 -->
<view
class=
"optionContent"
>
<button
type=
"default"
plain=
"true"
form-type=
"reset"
@
click=
"clearData"
>
全部清空
</button>
<button
type=
"default"
plain=
"true"
@
click=
"calcute()"
>
{{
calcuteMethod
==
'2'
?
'输入批量数据'
:
'开始计算'
}}
</button>
<button
type=
"default"
plain=
"true"
@
click=
"calcute
Irr
()"
>
{{
calcuteMethod
==
'2'
?
'输入批量数据'
:
'开始计算'
}}
</button>
</view>
<!-- 保单年度选择弹窗 -->
<view
class=
"policySelectContainer"
v-if=
"policyYearModalFlag"
>
...
...
pages/index/index.vue
View file @
21e2d83b
...
...
@@ -259,13 +259,17 @@
},
methods
:
{
switchTab
(
e
){
this
.
calcuteType
=
e
;
//点年金时初始化1条提领信息
if
(
e
==
'2'
){
this
.
yearWithdrawalInfos
=
[].
concat
([{
withdrawalType
:
'1'
,
withdrawalStart
:
null
,
yearWithdrawalAmount
:
null
}]);
if
(
this
.
calcuteType
!=
e
){
this
.
calcuteType
=
e
;
//点年金时初始化1条提领信息
if
(
e
==
'2'
){
this
.
yearWithdrawalInfos
=
[].
concat
([{
withdrawalType
:
'1'
,
withdrawalStart
:
null
,
yearWithdrawalAmount
:
null
}]);
}
this
.
resultShowFlag
=
false
;
}
},
// calcuteMethod判断单次还是批量;businessType判断保存还是计算
calcute
(
businessType
){
...
...
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