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 {
...
@@ -183,6 +183,8 @@ export default {
select
:
'three0'
,
select
:
'three0'
,
name
:
''
,
name
:
''
,
sectctNong
:
false
,
sectctNong
:
false
,
pay_type
:
''
,
bank_account_id
:
''
,
checkType
:
{
checkType
:
{
img
:
''
,
img
:
''
,
bank_full_name
:
''
,
bank_full_name
:
''
,
...
@@ -300,12 +302,16 @@ export default {
...
@@ -300,12 +302,16 @@ export default {
confirmToPay
(
e
)
{
confirmToPay
(
e
)
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'update_order_info'
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
=
{
let
param
=
{
info
:
{
info
:
{
order_id
:
vm
.
$route
.
params
.
order_id
,
order_id
:
vm
.
$route
.
params
.
order_id
,
fee
:
vm
.
s
umMoney
,
fee
:
vm
.
s
erviceCharge
,
bank_account_id
:
e
.
bank_account_id
,
bank_account_id
:
vm
.
bank_account_id
,
pay_type
:
e
.
pay_type
,
pay_type
:
vm
.
pay_type
,
},
},
}
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
...
@@ -353,6 +359,7 @@ export default {
...
@@ -353,6 +359,7 @@ export default {
},
},
affirm
()
{
affirm
()
{
this
.
confirm
=
true
this
.
confirm
=
true
this
.
confirmToPay
()
},
},
changePage
()
{
changePage
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -388,14 +395,18 @@ export default {
...
@@ -388,14 +395,18 @@ export default {
vm
.
checkType
.
img
=
ny
vm
.
checkType
.
img
=
ny
vm
.
checkType
.
bank_account_num
=
vm
.
nongBank
[
0
].
bank_account_num
vm
.
checkType
.
bank_account_num
=
vm
.
nongBank
[
0
].
bank_account_num
vm
.
sectctNong
=
true
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
)
{
}
else
if
(
!
vm
.
flag
&&
vm
.
lists
.
length
!==
0
)
{
vm
.
select
=
'three0'
vm
.
select
=
'three0'
vm
.
checkType
.
bank_full_name
=
vm
.
newList
[
0
].
bank_full_name
vm
.
checkType
.
bank_full_name
=
vm
.
newList
[
0
].
bank_full_name
vm
.
checkType
.
img
=
vm
.
selectImg
(
vm
.
newList
[
0
])
vm
.
checkType
.
img
=
vm
.
selectImg
(
vm
.
newList
[
0
])
vm
.
checkType
.
bank_account_num
=
vm
.
newList
[
0
].
bank_account_num
vm
.
checkType
.
bank_account_num
=
vm
.
newList
[
0
].
bank_account_num
vm
.
sectctNong
=
true
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
)
{
}
else
if
(
!
vm
.
flag
&&
vm
.
lists
===
0
)
{
vm
.
sectctNong
=
false
vm
.
sectctNong
=
false
hlsPopup
.
showLongCenter
(
'请先绑定银行卡'
)
hlsPopup
.
showLongCenter
(
'请先绑定银行卡'
)
...
...
src/pages/pay/payment/pay-entry.vue
View file @
f2031c45
...
@@ -181,6 +181,8 @@ export default {
...
@@ -181,6 +181,8 @@ export default {
money
:
''
,
money
:
''
,
select
:
'one'
,
select
:
'one'
,
name
:
''
,
name
:
''
,
pay_type
:
''
,
bank_account_id
:
''
,
sectctNong
:
false
,
sectctNong
:
false
,
checkType
:
{
checkType
:
{
img
:
''
,
img
:
''
,
...
@@ -236,16 +238,21 @@ export default {
...
@@ -236,16 +238,21 @@ export default {
methods
:
{
methods
:
{
affirm
()
{
affirm
()
{
this
.
confirm
=
true
this
.
confirm
=
true
this
.
confirmToPay
()
},
},
confirmToPay
(
e
)
{
confirmToPay
(
e
)
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'update_order_info'
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
=
{
let
param
=
{
info
:
{
info
:
{
order_id
:
vm
.
$route
.
params
.
order_id
,
order_id
:
vm
.
$route
.
params
.
order_id
,
fee
:
vm
.
s
umMoney
,
fee
:
vm
.
s
erviceCharge
,
bank_account_id
:
e
.
bank_account_id
,
bank_account_id
:
vm
.
bank_account_id
,
pay_type
:
e
.
pay_type
,
pay_type
:
vm
.
pay_type
,
},
},
}
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
...
@@ -380,14 +387,18 @@ export default {
...
@@ -380,14 +387,18 @@ export default {
vm
.
checkType
.
img
=
ny
vm
.
checkType
.
img
=
ny
vm
.
checkType
.
bank_account_num
=
vm
.
nongBank
[
0
].
bank_account_num
vm
.
checkType
.
bank_account_num
=
vm
.
nongBank
[
0
].
bank_account_num
vm
.
sectctNong
=
true
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
)
{
}
else
if
(
!
vm
.
flag
&&
vm
.
lists
.
length
!==
0
)
{
vm
.
select
=
'three0'
vm
.
select
=
'three0'
vm
.
checkType
.
bank_full_name
=
vm
.
newList
[
0
].
bank_full_name
vm
.
checkType
.
bank_full_name
=
vm
.
newList
[
0
].
bank_full_name
vm
.
checkType
.
img
=
vm
.
selectImg
(
vm
.
newList
[
0
])
vm
.
checkType
.
img
=
vm
.
selectImg
(
vm
.
newList
[
0
])
vm
.
checkType
.
bank_account_num
=
vm
.
newList
[
0
].
bank_account_num
vm
.
checkType
.
bank_account_num
=
vm
.
newList
[
0
].
bank_account_num
vm
.
sectctNong
=
true
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
)
{
}
else
if
(
!
vm
.
flag
&&
vm
.
lists
===
0
)
{
vm
.
sectctNong
=
false
vm
.
sectctNong
=
false
hlsPopup
.
showLongCenter
(
'请先绑定银行卡'
)
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