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
f2031c45
Commit
f2031c45
authored
Nov 28, 2019
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liuxin' into develop
parents
cf0fccd5
e943f48b
Pipeline
#3947
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
10 deletions
+32
-10
pay-entry.vue
src/pages/pay/firstPay/pay-entry.vue
+16
-5
pay-entry.vue
src/pages/pay/payment/pay-entry.vue
+16
-5
No files found.
src/pages/pay/firstPay/pay-entry.vue
View file @
f2031c45
...
...
@@ -183,6 +183,8 @@ export default {
select
:
'three0'
,
name
:
''
,
sectctNong
:
false
,
pay_type
:
''
,
bank_account_id
:
''
,
checkType
:
{
img
:
''
,
bank_full_name
:
''
,
...
...
@@ -300,12 +302,16 @@ export default {
confirmToPay
(
e
)
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'update_order_info'
if
(
e
)
{
vm
.
pay_type
=
e
.
pay_type
vm
.
bank_account_id
=
e
.
bank_account_id
}
let
param
=
{
info
:
{
order_id
:
vm
.
$route
.
params
.
order_id
,
fee
:
vm
.
s
umMoney
,
bank_account_id
:
e
.
bank_account_id
,
pay_type
:
e
.
pay_type
,
fee
:
vm
.
s
erviceCharge
,
bank_account_id
:
vm
.
bank_account_id
,
pay_type
:
vm
.
pay_type
,
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
...
...
@@ -353,6 +359,7 @@ export default {
},
affirm
()
{
this
.
confirm
=
true
this
.
confirmToPay
()
},
changePage
()
{
this
.
$router
.
push
({
...
...
@@ -388,14 +395,18 @@ export default {
vm
.
checkType
.
img
=
ny
vm
.
checkType
.
bank_account_num
=
vm
.
nongBank
[
0
].
bank_account_num
vm
.
sectctNong
=
true
vm
.
confirmToPay
(
vm
.
nongBank
[
0
])
// vm.confirmToPay(vm.nongBank[0])
vm
.
pay_type
=
vm
.
nongBank
[
0
].
pay_type
vm
.
bank_account_id
=
vm
.
nongBank
[
0
].
bank_account_id
}
else
if
(
!
vm
.
flag
&&
vm
.
lists
.
length
!==
0
)
{
vm
.
select
=
'three0'
vm
.
checkType
.
bank_full_name
=
vm
.
newList
[
0
].
bank_full_name
vm
.
checkType
.
img
=
vm
.
selectImg
(
vm
.
newList
[
0
])
vm
.
checkType
.
bank_account_num
=
vm
.
newList
[
0
].
bank_account_num
vm
.
sectctNong
=
true
vm
.
confirmToPay
(
vm
.
lists
[
0
])
vm
.
pay_type
=
vm
.
lists
[
0
].
pay_type
vm
.
bank_account_id
=
vm
.
lists
[
0
].
bank_account_id
// vm.confirmToPay(vm.lists[0])
}
else
if
(
!
vm
.
flag
&&
vm
.
lists
===
0
)
{
vm
.
sectctNong
=
false
hlsPopup
.
showLongCenter
(
'请先绑定银行卡'
)
...
...
src/pages/pay/payment/pay-entry.vue
View file @
f2031c45
...
...
@@ -181,6 +181,8 @@ export default {
money
:
''
,
select
:
'one'
,
name
:
''
,
pay_type
:
''
,
bank_account_id
:
''
,
sectctNong
:
false
,
checkType
:
{
img
:
''
,
...
...
@@ -236,16 +238,21 @@ export default {
methods
:
{
affirm
()
{
this
.
confirm
=
true
this
.
confirmToPay
()
},
confirmToPay
(
e
)
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'update_order_info'
if
(
e
)
{
vm
.
pay_type
=
e
.
pay_type
vm
.
bank_account_id
=
e
.
bank_account_id
}
let
param
=
{
info
:
{
order_id
:
vm
.
$route
.
params
.
order_id
,
fee
:
vm
.
s
umMoney
,
bank_account_id
:
e
.
bank_account_id
,
pay_type
:
e
.
pay_type
,
fee
:
vm
.
s
erviceCharge
,
bank_account_id
:
vm
.
bank_account_id
,
pay_type
:
vm
.
pay_type
,
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
...
...
@@ -380,14 +387,18 @@ export default {
vm
.
checkType
.
img
=
ny
vm
.
checkType
.
bank_account_num
=
vm
.
nongBank
[
0
].
bank_account_num
vm
.
sectctNong
=
true
vm
.
confirmToPay
(
vm
.
nongBank
[
0
])
// vm.confirmToPay(vm.nongBank[0])
vm
.
pay_type
=
vm
.
nongBank
[
0
].
pay_type
vm
.
bank_account_id
=
vm
.
nongBank
[
0
].
bank_account_id
}
else
if
(
!
vm
.
flag
&&
vm
.
lists
.
length
!==
0
)
{
vm
.
select
=
'three0'
vm
.
checkType
.
bank_full_name
=
vm
.
newList
[
0
].
bank_full_name
vm
.
checkType
.
img
=
vm
.
selectImg
(
vm
.
newList
[
0
])
vm
.
checkType
.
bank_account_num
=
vm
.
newList
[
0
].
bank_account_num
vm
.
sectctNong
=
true
vm
.
confirmToPay
(
vm
.
lists
[
0
])
vm
.
pay_type
=
vm
.
lists
[
0
].
pay_type
vm
.
bank_account_id
=
vm
.
lists
[
0
].
bank_account_id
// vm.confirmToPay(vm.lists[0])
}
else
if
(
!
vm
.
flag
&&
vm
.
lists
===
0
)
{
vm
.
sectctNong
=
false
hlsPopup
.
showLongCenter
(
'请先绑定银行卡'
)
...
...
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