Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
罗超
SuperMan
Commits
15f2a666
Commit
15f2a666
authored
Apr 30, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改判断
parent
a5323a82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
14 deletions
+25
-14
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+25
-14
No files found.
src/components/FinancialModule/BasicDocuments.vue
View file @
15f2a666
...
...
@@ -1232,6 +1232,7 @@ export default {
tuiDataList
:[],
currentMoney
:
0
,
benMoney
:
0
,
Ststus
:
0
,
}
},
components
:{
"my-FlowChartModule"
:
myFlowChartModule
,
...
...
@@ -1696,28 +1697,31 @@ export default {
AuditOrRefund
(){
// 保存
// console.log("保存")
let
that
=
this
;
if
(
this
.
AuditOrRefundMsg
.
Status
==
'5'
){
if
(
that
.
GetDetail
.
AccountNumber
.
indexOf
(
"东航平台"
)
!=-
1
){
if
(
this
.
allMoney
==
0
){
this
.
Error
(
"请将信息填写完整!"
)
return
;
if
(
that
.
Ststus
==
1
){
if
(
this
.
AuditOrRefundMsg
.
Status
==
'5'
){
if
(
that
.
GetDetail
.
AccountNumber
.
indexOf
(
"东航平台"
)
!=-
1
){
if
(
this
.
allMoney
==
0
){
this
.
Error
(
"请将信息填写完整!"
)
return
;
}
else
{
if
(
this
.
allMoney
>
parseFloat
(
that
.
benMoney
)
+
5
||
this
.
allMoney
<
parseFloat
(
that
.
benMoney
)
-
5
){
this
.
Error
(
"请检查实付金额!"
)
return
;
}
}
// console.log("benMoney",this.benMoney)
// console.log(parseFloat(that.benMoney) - 5)
// console.log(parseFloat(that.benMoney) + 5)
}
else
{
if
(
this
.
allMoney
>
parseFloat
(
that
.
benMoney
)
+
5
||
this
.
allMoney
<
parseFloat
(
that
.
benMoney
)
-
5
){
if
(
this
.
allMoney
!=
parseFloat
(
that
.
benMoney
)
){
this
.
Error
(
"请检查实付金额!"
)
return
;
}
}
// console.log("benMoney",this.benMoney)
// console.log(parseFloat(that.benMoney) - 5)
// console.log(parseFloat(that.benMoney) + 5)
}
else
{
if
(
this
.
allMoney
!=
parseFloat
(
that
.
benMoney
)){
this
.
Error
(
"请检查实付金额!"
)
return
;
}
}
}
let
imgArr
=
[];
this
.
uploadImgList
.
forEach
(
x
=>
{
imgArr
.
push
(
x
.
src
);
...
...
@@ -1834,6 +1838,13 @@ export default {
})
}
this
.
GetDetail
=
data
;
console
.
log
(
" this.GetDetail"
,
this
.
GetDetail
)
let
AuditSteps
=
this
.
GetDetail
.
AuditSteps
;
AuditSteps
.
forEach
(
item
=>
{
if
(
item
.
NextStep
==
1
&&
item
.
SpecialNode
==
2
&&
item
.
Status
==
1
){
this
.
Ststus
=
1
;
}
})
this
.
OrderID
=
this
.
GetDetail
.
OrderID
;
this
.
OrderSource
=
this
.
GetDetail
.
OrderSource
;
this
.
SourceID
=
this
.
GetDetail
.
SourceID
;
...
...
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