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
a7fab1af
Commit
a7fab1af
authored
Sep 07, 2022
by
Chao Sun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://139.224.139.2:9091/Sweet/sfp-program
into master
parents
6db8ed24
1e728dfd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
12 deletions
+15
-12
pages/dataImport/data-import.vue
+10
-4
pages/index/index.vue
+4
-7
unpackage/dist/build/h5/index.html
+1
-1
No files found.
pages/dataImport/data-import.vue
View file @
a7fab1af
...
...
@@ -170,7 +170,6 @@
console
.
log
(
'用户点击确定'
);
if
(
this
.
irrAndSimpleInfos
.
length
>
0
){
const
minLength
=
Math
.
min
(
pasteDataLists
.
length
,
this
.
irrAndSimpleInfos
.
length
)
;
console
.
log
(
minLength
)
for
(
let
i
=
0
;
i
<
minLength
;
i
++
){
this
.
irrAndSimpleInfos
[
i
][
'cashValue'
]
=
pasteDataLists
[
i
];
}
...
...
@@ -180,6 +179,13 @@
}
}
});
}
else
{
if
(
this
.
irrAndSimpleInfos
.
length
>
0
){
const
minLength
=
Math
.
min
(
pasteDataLists
.
length
,
this
.
irrAndSimpleInfos
.
length
)
;
for
(
let
i
=
0
;
i
<
minLength
;
i
++
){
this
.
irrAndSimpleInfos
[
i
][
'cashValue'
]
=
pasteDataLists
[
i
];
}
}
}
},
// 全部清空
...
...
@@ -227,9 +233,9 @@
});
}
else
{
uni
.
showToast
({
title
:
res
[
'message'
],
duration
:
2000
,
icon
:
'none'
title
:
res
[
'message'
],
duration
:
2000
,
icon
:
'none'
})
}
})
...
...
pages/index/index.vue
View file @
a7fab1af
...
...
@@ -143,7 +143,7 @@
</view>
</view>
<!-- 现金价值单利复利结果展示 -->
<view
class=
"resultContent"
>
<view
class=
"resultContent"
id=
"resultContent"
>
<!-- 单次计算显示结果 -->
<view
id=
"simpleDataResult"
class=
"simpleDataResult"
v-if=
"resultShowFlag && calcuteMethod == '1'"
>
<view
class=
"inputItem"
>
...
...
@@ -206,6 +206,7 @@
export
default
{
data
()
{
return
{
scrollTop
:
0
,
isNeedOfficialAccountQrcode
:
true
,
calcuteType
:
'1'
,
//计算类型(1:增额; 2:年金)
withdrawalType
:
'1'
,
//提领方式(1:正常提领; 2:减保取现)
...
...
@@ -513,7 +514,7 @@
}
}
//提领信息判断
if
(
this
.
yearWithdrawalInfos
.
length
>
0
){
if
(
this
.
yearWithdrawalInfos
&&
this
.
yearWithdrawalInfos
.
length
>
0
){
for
(
let
i
=
0
;
i
<
this
.
yearWithdrawalInfos
.
length
;
i
++
)
{
//增额提领信息校验
if
(
this
.
calcuteType
==
1
){
...
...
@@ -614,11 +615,7 @@
withdrawalType
:
this
.
withdrawalType
?
'1'
:
'2'
,
decimal
:
5
};
// document.getElementById(simpleDataResult).scrollIntoView({
// behavior: "smooth",
// block: "end",
// inline: "end"
// });
api
.
irrAndSimpleCalcute
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
success
===
true
){
...
...
unpackage/dist/build/h5/index.html
View file @
a7fab1af
...
...
@@ -14,7 +14,7 @@
<title>
sfp
</title>
<!--preload-links-->
<!--app-context-->
<script
type=
"module"
crossorigin
src=
"/sfp/assets/index.
33444e48
.js"
></script>
<script
type=
"module"
crossorigin
src=
"/sfp/assets/index.
ac2778ca
.js"
></script>
<link
rel=
"stylesheet"
href=
"/sfp/assets/index.13d2da89.css"
>
</head>
<body>
...
...
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