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
27b18981
Commit
27b18981
authored
Sep 08, 2022
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
金额控制&批量数据测算后提领信息不显示
parent
9f94847a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
pages/index/index.vue
+13
-5
No files found.
pages/index/index.vue
View file @
27b18981
...
@@ -242,9 +242,8 @@
...
@@ -242,9 +242,8 @@
this
.
businessType
=
calcuteData
.
businessType
;
this
.
businessType
=
calcuteData
.
businessType
;
this
.
calcuteType
=
calcuteData
.
calcuteType
;
this
.
calcuteType
=
calcuteData
.
calcuteType
;
this
.
yearWithdrawalInfos
=
calcuteData
.
yearWithdrawalInfos
;
this
.
yearWithdrawalInfos
=
calcuteData
.
yearWithdrawalInfos
;
this
.
withdrawalType
=
calcuteData
.
withdrawalType
;
}
}
console
.
log
(
'111'
,
typeof
this
.
yearWithdrawalInfos
)
}
else
{
}
else
{
//初始化删除上次批量计算结果
//初始化删除上次批量计算结果
uni
.
removeStorageSync
(
'resIrrAndSimpleResInfos'
);
uni
.
removeStorageSync
(
'resIrrAndSimpleResInfos'
);
...
@@ -354,6 +353,9 @@
...
@@ -354,6 +353,9 @@
if
(
this
.
yearWithdrawalInfos
[
i
][
'yearWithdrawalAmount'
]
&&
this
.
yearWithdrawalInfos
[
i
][
'yearWithdrawalAmount'
]
<=
0
){
if
(
this
.
yearWithdrawalInfos
[
i
][
'yearWithdrawalAmount'
]
&&
this
.
yearWithdrawalInfos
[
i
][
'yearWithdrawalAmount'
]
<=
0
){
this
.
errorDialog
(
2
,
`第
${
i
+
1
}
行,提领金额必须大于0`
);
this
.
errorDialog
(
2
,
`第
${
i
+
1
}
行,提领金额必须大于0`
);
return
false
;
return
false
;
}
else
if
(
this
.
yearWithdrawalInfos
[
i
][
'yearWithdrawalAmount'
]
>
999999999999999
){
this
.
errorDialog
(
2
,
`第
${
i
+
1
}
行,提领金额必须小于999,999,999,999,999`
);
return
false
;
}
else
{
}
else
{
if
(
!
this
.
yearWithdrawalInfos
[
i
][
'yearWithdrawalAmount'
]){
if
(
!
this
.
yearWithdrawalInfos
[
i
][
'yearWithdrawalAmount'
]){
this
.
errorDialog
(
1
,
`请输入第
${
i
+
1
}
行,提领金额`
);
this
.
errorDialog
(
1
,
`请输入第
${
i
+
1
}
行,提领金额`
);
...
@@ -378,7 +380,8 @@
...
@@ -378,7 +380,8 @@
yearWithdrawalInfos
:
this
.
yearWithdrawalInfos
,
yearWithdrawalInfos
:
this
.
yearWithdrawalInfos
,
calcuteType
:
this
.
calcuteType
,
calcuteType
:
this
.
calcuteType
,
businessNo
:
this
.
businessNo
,
businessNo
:
this
.
businessNo
,
businessType
:
this
.
businessType
businessType
:
this
.
businessType
,
withdrawalType
:
this
.
withdrawalType
}
}
uni
.
setStorageSync
(
'calcuteData'
,
JSON
.
stringify
(
calcuteData
))
uni
.
setStorageSync
(
'calcuteData'
,
JSON
.
stringify
(
calcuteData
))
uni
.
navigateTo
({
uni
.
navigateTo
({
...
@@ -454,7 +457,11 @@
...
@@ -454,7 +457,11 @@
}
}
}
}
if
(
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
&&
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
<
0
){
if
(
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
&&
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
<
0
){
this
.
errorDialog
(
2
,
`万能账户首年交费信息须大于或等于0!`
);
this
.
errorDialog
(
2
,
`万能账户首年交费须大于或等于0!`
);
return
false
;
}
if
(
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
&&
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
>
999999999999999
){
this
.
errorDialog
(
2
,
`万能账户首年交费必须小于999,999,999,999,999!`
);
return
false
;
return
false
;
}
}
if
(
this
.
businessType
==
2
){
if
(
this
.
businessType
==
2
){
...
@@ -562,7 +569,8 @@
...
@@ -562,7 +569,8 @@
withdrawalEnd
:
undefined
,
withdrawalEnd
:
undefined
,
yearWithdrawalAmount
:
undefined
}];
yearWithdrawalAmount
:
undefined
}];
this
.
withdrawalType
=
'1'
;
this
.
withdrawalType
=
'1'
;
this
.
irrAndSimple
=
{
nyear
:
undefined
,
cashValue
:
undefined
}
this
.
irrAndSimple
=
{
nyear
:
undefined
,
cashValue
:
undefined
};
this
.
resultShowFlag
=
false
;
}
}
},
},
onShow
()
{
onShow
()
{
...
...
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