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
325a13dd
Commit
325a13dd
authored
Sep 14, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
f68914d3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
16 deletions
+4
-16
payMall.vue
src/components/commonPage/payMall.vue
+4
-16
No files found.
src/components/commonPage/payMall.vue
View file @
325a13dd
<
template
>
<
template
>
<div
class=
"templatePayURL"
style=
"margin-right: 10px;"
>
<div
class=
"templatePayURL"
style=
"margin-right: 10px;"
>
<div>
<div>
<template
v-if=
"!isShowPic"
>
<template
v-if=
"!isShowPic"
>
<div
style=
"margin: 15px 0;"
>
<div
style=
"margin: 15px 0;"
>
<!--
<el-input
:disabled=
"true"
v-model=
"item.TotalPrice"
>
</el-input>
-->
<div>
<div>
总金额:
<span
style=
"color:red;"
>
{{
item
.
TotalPrice
}}
</span>
总金额:
<span
style=
"color:red;"
>
{{
item
.
TotalPrice
}}
</span>
</div>
</div>
...
@@ -91,19 +88,19 @@
...
@@ -91,19 +88,19 @@
//获取付款状态
//获取付款状态
getPayStatus
()
{
getPayStatus
()
{
console
.
log
(
this
.
item
,
'item'
);
let
msg
=
{
let
msg
=
{
OrderId
:
40010
OrderId
:
this
.
item
.
orderId
}
}
var
myPay
=
this
.
payWay
;
var
myPay
=
this
.
payWay
;
if
(
myPay
==
3
){
if
(
myPay
==
3
){
myPay
=
2
myPay
=
2
}
}
console
.
log
(
"CheckOrderPay"
,
msg
);
this
.
apipost
(
'OnlinePay_post_CheckOrderPay'
,
msg
,
res
=>
{
this
.
apipost
(
'OnlinePay_post_CheckOrderPay'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
data
=
res
.
data
.
data
;
var
data
=
res
.
data
.
data
;
let
mallMsg
=
{
let
mallMsg
=
{
OrderId
:
data
.
O
rderId
,
OrderId
:
this
.
item
.
o
rderId
,
MerchantsNo
:
data
.
Pay_Order
,
MerchantsNo
:
data
.
Pay_Order
,
User_Id
:
this
.
item
.
User_Id
,
User_Id
:
this
.
item
.
User_Id
,
Out_Trade_No
:
data
.
Trade_Order
,
Out_Trade_No
:
data
.
Trade_Order
,
...
@@ -121,13 +118,9 @@
...
@@ -121,13 +118,9 @@
})
})
this
.
$emit
(
'closeDia'
)
this
.
$emit
(
'closeDia'
)
clearInterval
(
this
.
timer2
);
clearInterval
(
this
.
timer2
);
}
else
{
// this.Error(res.data.message)
}
}
},
err
=>
{})
},
err
=>
{})
},
},
descTime
()
{
descTime
()
{
let
day
=
parseInt
(
this
.
chaTime
/
1000
/
60
/
60
/
24
)
let
day
=
parseInt
(
this
.
chaTime
/
1000
/
60
/
60
/
24
)
let
hr
=
parseInt
(
this
.
chaTime
/
1000
/
60
/
60
%
24
)
let
hr
=
parseInt
(
this
.
chaTime
/
1000
/
60
/
60
%
24
)
...
@@ -153,15 +146,10 @@
...
@@ -153,15 +146,10 @@
}
}
this
.
chaTime
-=
1000
this
.
chaTime
-=
1000
// 一秒后递归
// 一秒后递归
},
parentHandleclick
()
{
this
.
isShowPic
=
false
;
}
}
},
},
};
};
</
script
>
</
script
>
<
style
>
<
style
>
.templatePayURL
.el-input--suffix
.el-input__inner
{
.templatePayURL
.el-input--suffix
.el-input__inner
{
padding
:
0
10px
0
8px
!important
;
padding
:
0
10px
0
8px
!important
;
...
...
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