Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
28e09ecb
Commit
28e09ecb
authored
Dec 05, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改立即支付
parent
07abb8b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
14 deletions
+10
-14
pay-entry.vue
src/pages/pay/firstPay/pay-entry.vue
+10
-14
No files found.
src/pages/pay/firstPay/pay-entry.vue
View file @
28e09ecb
...
...
@@ -81,7 +81,7 @@
</div>
</div>
</transition>
<transition
name=
"trans"
>
<transition
name=
"trans"
>
<div
v-show=
"showOutside"
class=
"modal-show-bank"
>
<div
class=
"down"
>
<div
class=
"top"
>
...
...
@@ -94,7 +94,7 @@
v-for=
"(item,index) in nongBank"
:proportion=
"[7,1,1]"
:key=
"item.bank_account_num"
@
click
.
native=
"isSelect(`nong$
{index}`);ischeck(item)"
@
click
.
native=
"isSelect(`nong$
{index}`);ischeck(item)
;confirmToPay(item)
"
>
<div
slot=
"name"
style=
"flex=3"
>
<img
:src=
"selectImg(item)"
alt
class=
"icon"
>
...
...
@@ -114,7 +114,7 @@
v-for=
"(item,index) in newList"
:proportion=
"[7,1,1]"
:key=
"index"
@
click
.
native=
"isSelect(`three$
{index}`);ischeck(item)"
@
click
.
native=
"isSelect(`three$
{index}`);ischeck(item)
;confirmToPay(item)
"
>
<div
slot=
"name"
style=
"flex=3"
>
<img
:src=
"selectImg(item)"
alt
class=
"icon"
>
...
...
@@ -165,7 +165,7 @@
</div>
</div>
<bottom-tab>
<tab-button
:disable=
"isReturn"
class=
"foot"
@
click
.
native=
"checkPay"
>
立即支付
</tab-button>
<tab-button
class=
"foot"
@
click
.
native=
"checkPay"
>
立即支付
</tab-button>
</bottom-tab>
</div>
</div>
...
...
@@ -205,7 +205,7 @@
</div>
</h-content>
<bottom-tab>
<tab-button
class=
"foot"
@
click
.
native=
"affirm"
>
确认支付
</tab-button>
<tab-button
class=
"foot"
@
click
.
native=
"affirm
();pay()
"
>
确认支付
</tab-button>
</bottom-tab>
</h-view>
</
template
>
...
...
@@ -239,7 +239,6 @@ export default {
select
:
'three0'
,
name
:
''
,
sectctNong
:
false
,
isReturn
:
true
,
pay_type
:
''
,
bank_account_id
:
''
,
checkType
:
{
...
...
@@ -249,7 +248,7 @@ export default {
},
confirm
:
false
,
show
:
false
,
showOutside
:
false
,
showOutside
:
false
,
downNum
:
false
,
recommand
:
false
,
userName
:
window
.
localStorage
.
getItem
(
'bp_name'
),
...
...
@@ -290,7 +289,6 @@ export default {
vm
.
show
=
false
vm
.
showOutside
=
false
vm
.
downNum
=
false
vm
.
isReturn
=
true
vm
.
name
=
from
.
name
vm
.
getType
()
vm
.
nongBank
=
[]
...
...
@@ -377,8 +375,8 @@ export default {
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
pay
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
...
...
@@ -388,9 +386,10 @@ export default {
let
vm
=
this
if
(
parseFloat
(
vm
.
sumMoney
)
===
0
)
{
hlsPopup
.
showLongCenter
(
'您支付的金额为0元'
)
console
.
log
(
'您支付的金额为0元'
)
}
else
if
(
parseFloat
(
vm
.
sumMoney
)
>
0
)
{
}
else
if
(
parseFloat
(
vm
.
sumMoney
)
>
0
&&
vm
.
pay_type
===
'ABC'
)
{
window
.
open
(
vm
.
url
)
}
else
{
vm
.
pay
()
}
},
pay
()
{
...
...
@@ -405,7 +404,6 @@ export default {
if
(
res
.
result
===
'S'
)
{
if
(
res
.
return_code
!==
'0000'
)
{
hlsPopup
.
showLongCenter
(
res
.
error_message
)
vm
.
isReturn
=
true
}
else
{
// vm.$router.push({
// name: 'PayPage',
...
...
@@ -414,8 +412,6 @@ export default {
// },
// })
vm
.
url
=
res
.
paymentURL
vm
.
isReturn
=
false
}
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
...
...
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