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
134df0b6
Commit
134df0b6
authored
Dec 27, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://hel.hand-china.com/xugong/hls-xcmg-vue-app
into develop
parents
00d53d40
e779af2a
Pipeline
#4349
canceled with stages
Changes
14
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
189 additions
and
286 deletions
+189
-286
contract-create-list.vue
src/pages/contractCreate/contract-create-list.vue
+9
-6
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+19
-3
create-enclosure-info.vue
src/pages/contractCreate/create-enclosure-info.vue
+3
-3
repay-plans.vue
src/pages/contractInquire/repay-plans.vue
+5
-5
contract-repay-plan.vue
src/pages/contractSigning/contract-repay-plan.vue
+5
-5
contract-list.vue
src/pages/distributorSign/contract-list.vue
+1
-1
financ-details.vue
src/pages/distributorSign/financ-details.vue
+5
-5
trial-repay-plan.vue
src/pages/financingTrial/trial-repay-plan.vue
+5
-5
message-list.vue
src/pages/messageCenter/message-list.vue
+6
-5
my-product-list.Vue
src/pages/myProductCollection/my-product-list.Vue
+14
-1
pay-entry.vue
src/pages/pay/firstPay/pay-entry.vue
+29
-103
pay-page.vue
src/pages/pay/pay-page.vue
+11
-5
pay-entry.vue
src/pages/pay/payment/pay-entry.vue
+62
-138
product-list.vue
src/pages/productQuery/product-list.vue
+15
-1
No files found.
src/pages/contractCreate/contract-create-list.vue
View file @
134df0b6
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime : 2019-12-26 1
3:30:22
* @LastEditTime : 2019-12-26 1
7:27:43
* @LastEditors : Please set LastEditors
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
>
>
<div
class=
"wrap"
>
<div
class=
"wrap"
>
<div
v-for=
"(item,index) in showLists"
:key=
"index"
class=
"contract-lists"
>
<div
v-for=
"(item,index) in showLists"
:key=
"index"
class=
"contract-lists"
>
<div
class=
"pro-code"
@
click=
"changeBase"
>
<div
class=
"pro-code"
@
click=
"changeBase
(item)
"
>
<img
src=
"@/assets/distributorSign/fileIcon.png"
alt=
""
class=
"file-icon"
>
<img
src=
"@/assets/distributorSign/fileIcon.png"
alt=
""
class=
"file-icon"
>
<p>
<p>
<span>
合同号
</span>
<span>
合同号
</span>
...
@@ -85,16 +85,17 @@ export default {
...
@@ -85,16 +85,17 @@ export default {
watch
:
{
watch
:
{
'num'
:
{
'num'
:
{
handler
(
newVal
,
oldVal
)
{
handler
(
newVal
,
oldVal
)
{
this
.
$refs
.
scroll
.
scrollToTop
()
this
.
$refs
.
scroll
.
update
(
false
)
this
.
$refs
.
scroll
.
update
(
false
)
if
(
newVal
===
2
)
{
if
(
newVal
===
2
)
{
if
(
!
this
.
approvedFlag
)
{
if
(
!
this
.
approvedFlag
)
{
this
.
contractList
()
this
.
contractList
()
}
}
this
.
$refs
.
scroll
.
scrollToTop
()
//
this.$refs.scroll.scrollToTop()
this
.
showLists
=
this
.
approvedLists
this
.
showLists
=
this
.
approvedLists
}
else
if
(
newVal
===
1
)
{
}
else
if
(
newVal
===
1
)
{
this
.
showLists
=
this
.
submitLists
this
.
showLists
=
this
.
submitLists
this
.
$refs
.
scroll
.
scrollToTop
()
//
this.$refs.scroll.scrollToTop()
}
}
},
},
},
},
...
@@ -339,13 +340,12 @@ export default {
...
@@ -339,13 +340,12 @@ export default {
}
}
},
},
changePage
()
{
changePage
()
{
window
.
localStorage
.
setItem
(
'contractReadonly'
,
false
)
window
.
localStorage
.
setItem
(
'formPage'
,
'sale'
)
window
.
localStorage
.
setItem
(
'formPage'
,
'sale'
)
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'SalesInfo'
,
name
:
'SalesInfo'
,
})
})
},
},
changeBase
()
{
changeBase
(
item
)
{
if
(
this
.
num
===
1
)
{
if
(
this
.
num
===
1
)
{
window
.
localStorage
.
setItem
(
'contractReadonly'
,
false
)
window
.
localStorage
.
setItem
(
'contractReadonly'
,
false
)
window
.
localStorage
.
setItem
(
'formPage'
,
'list'
)
window
.
localStorage
.
setItem
(
'formPage'
,
'list'
)
...
@@ -355,6 +355,9 @@ export default {
...
@@ -355,6 +355,9 @@ export default {
}
}
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'CreateBaseInfo'
,
name
:
'CreateBaseInfo'
,
params
:
{
bp_id
:
item
.
bp_id
,
},
})
})
},
},
goDetails
()
{
goDetails
()
{
...
...
src/pages/contractCreate/creat-rent-info.vue
View file @
134df0b6
...
@@ -25,14 +25,22 @@
...
@@ -25,14 +25,22 @@
</div>
</div>
<div
class=
"userInfo"
>
租赁产品
</div>
<div
class=
"userInfo"
>
租赁产品
</div>
<list-item
:item-height=
"44"
>
<list-item
:item-height=
"44"
>
<item
:showArrow=
"true"
@
click
.
native=
"selectProductLine"
>
<item
v-if=
"!isReadOnly"
:showArrow=
"true"
@
click
.
native=
"selectProductLine"
>
<div
slot=
"name"
>
产品线
</div>
<div
slot=
"name"
>
产品线
</div>
<input
slot=
"content"
v-model=
"saveInfo.division_n"
readonly
placeholder=
"请选择"
>
<input
slot=
"content"
v-model=
"saveInfo.division_n"
readonly
placeholder=
"请选择"
>
</item>
</item>
<item
:showArrow=
"true"
@
click
.
native=
"getProduct"
>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
>
产品线
</div>
<input
slot=
"content"
v-model=
"saveInfo.division_n"
readonly
>
</item>
<item
v-if=
"!isReadOnly"
:showArrow=
"true"
@
click
.
native=
"getProduct"
>
<div
slot=
"name"
>
产品型号
</div>
<div
slot=
"name"
>
产品型号
</div>
<input
slot=
"content"
v-model=
"productInfo.product_id_n"
readonly
placeholder=
"请选择"
>
<input
slot=
"content"
v-model=
"productInfo.product_id_n"
readonly
placeholder=
"请选择"
>
</item>
</item>
<item
v-if=
"isReadOnly"
:showArrow=
"true"
>
<div
slot=
"name"
>
产品型号
</div>
<input
slot=
"content"
v-model=
"productInfo.product_id_n"
readonly
>
</item>
<item>
<item>
<div
slot=
"name"
>
产品数量
</div>
<div
slot=
"name"
>
产品数量
</div>
<input
slot=
"content"
v-model=
"productInfo.product_num"
placeholder=
"请填写产品数量"
>
<input
slot=
"content"
v-model=
"productInfo.product_num"
placeholder=
"请填写产品数量"
>
...
@@ -277,6 +285,13 @@ export default {
...
@@ -277,6 +285,13 @@ export default {
'finance_amount'
()
{
// 融资金额
'finance_amount'
()
{
// 融资金额
return
parseFloat
(
this
.
saveInfo
.
equip_price
-
this
.
saveInfo
.
equip_price
*
this
.
saveInfo
.
down_payment_ratio_n
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
return
parseFloat
(
this
.
saveInfo
.
equip_price
-
this
.
saveInfo
.
equip_price
*
this
.
saveInfo
.
down_payment_ratio_n
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
},
},
isReadOnly
()
{
if
(
window
.
localStorage
.
contractReadonly
===
'true'
&&
this
.
fromPage
===
'list'
)
{
return
true
}
else
{
return
false
}
},
},
},
watch
:
{
watch
:
{
policyKeyWord
(
newVal
,
oldVal
)
{
policyKeyWord
(
newVal
,
oldVal
)
{
...
@@ -314,7 +329,8 @@ export default {
...
@@ -314,7 +329,8 @@ export default {
vm
.
pagenumPolicy
=
1
vm
.
pagenumPolicy
=
1
if
(
vm
.
fromPage
===
'sale'
)
{
if
(
vm
.
fromPage
===
'sale'
)
{
vm
.
fromList
=
false
vm
.
fromList
=
false
}
else
if
(
vm
.
status
===
'list'
)
{
}
else
if
(
vm
.
fromPage
===
'list'
)
{
debugger
vm
.
fromList
=
true
vm
.
fromList
=
true
vm
.
rentInfoQuery
()
vm
.
rentInfoQuery
()
}
}
...
...
src/pages/contractCreate/create-enclosure-info.vue
View file @
134df0b6
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
<!--待上传图片列表-->
<!--待上传图片列表-->
<div
<div
v-for=
"(item, index) in upload_list"
v-for=
"(item, index) in upload_list"
v-if=
"item.check_id
==list.check_i
d"
v-if=
"item.check_id
=== checkI
d"
:key=
"index"
:key=
"index"
class=
"card-upload"
class=
"card-upload"
>
>
...
@@ -87,14 +87,14 @@
...
@@ -87,14 +87,14 @@
</div>
</div>
<!--从服务器上下载的图片-->
<!--从服务器上下载的图片-->
<div
v-for=
"(pic, index) in dowload_list"
:key=
"index"
>
<div
v-for=
"(pic, index) in dowload_list"
:key=
"index"
>
<div
v-if=
"pic.check_id==
list.check_i
d"
:key=
"index"
class=
"card-upload"
>
<div
v-if=
"pic.check_id==
checkI
d"
:key=
"index"
class=
"card-upload"
>
<img
:src=
"pic.url"
@
click=
"showBigPicture(pic.url)"
>
<img
:src=
"pic.url"
@
click=
"showBigPicture(pic.url)"
>
<div
class=
"close"
@
click=
"delete_pic(pic.attachment_id)"
>
<div
class=
"close"
@
click=
"delete_pic(pic.attachment_id)"
>
<img
src=
"@/assets/userBind/deleteIcon.png"
>
<img
src=
"@/assets/userBind/deleteIcon.png"
>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"card-upload plus"
@
click=
"ocrShow(
list.description,list.check_id
)"
>
<div
class=
"card-upload plus"
@
click=
"ocrShow(
'',''
)"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
</div>
</div>
</div>
...
...
src/pages/contractInquire/repay-plans.vue
View file @
134df0b6
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-10-31 09:49:57
* @Date: 2019-10-31 09:49:57
* @LastEditTime : 2019-12-2
4 18:34:37
* @LastEditTime : 2019-12-2
6 16:47:18
* @LastEditors : Please set LastEditors
* @LastEditors : Please set LastEditors
* @Description: 还款
* @Description: 还款
* @FilePath:
* @FilePath:
...
@@ -368,13 +368,13 @@ export default {
...
@@ -368,13 +368,13 @@ export default {
// flex: 9;
// flex: 9;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 13px;
font-size: 13px;
color: #4B4A4B;
color: #4B4A4B;
//padding-top: 20px;
margin-left: 20px;
margin-left: 40px;
div:nth-of-type(2) {
margin-top: -16px;
margin-top: 12px;
}
span:nth-of-type(2) {
span:nth-of-type(2) {
margin-left: 8px;
margin-left: 8px;
}
}
...
...
src/pages/contractSigning/contract-repay-plan.vue
View file @
134df0b6
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @Date: 2019-10-30 19:29:24
* @LastEditTime : 2019-12-2
4 18:38:21
* @LastEditTime : 2019-12-2
6 16:47:28
* @LastEditors : Please set LastEditors
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -404,13 +404,13 @@ export default {
...
@@ -404,13 +404,13 @@ export default {
// flex: 9;
// flex: 9;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 13px;
font-size: 13px;
color: #4B4A4B;
color: #4B4A4B;
//padding-top: 20px;
margin-left: 20px;
margin-left: 40px;
div:nth-of-type(2) {
margin-top: -16px;
margin-top: 12px;
}
span:nth-of-type(2) {
span:nth-of-type(2) {
margin-left: 8px;
margin-left: 8px;
}
}
...
...
src/pages/distributorSign/contract-list.vue
View file @
134df0b6
...
@@ -76,7 +76,7 @@ export default {
...
@@ -76,7 +76,7 @@ export default {
watch
:
{
watch
:
{
'num'
:
{
'num'
:
{
handler
(
newVal
,
oldVal
)
{
handler
(
newVal
,
oldVal
)
{
this
.
$refs
.
scroll
.
update
(
false
)
//
this.$refs.scroll.update(false)
this
.
$refs
.
scroll
.
scrollToTop
()
this
.
$refs
.
scroll
.
scrollToTop
()
if
(
newVal
===
2
)
{
if
(
newVal
===
2
)
{
if
(
!
this
.
approvedFlag
)
{
if
(
!
this
.
approvedFlag
)
{
...
...
src/pages/distributorSign/financ-details.vue
View file @
134df0b6
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @Date: 2019-10-30 19:29:24
* @LastEditTime : 2019-12-2
4 18:39:52
* @LastEditTime : 2019-12-2
6 16:47:36
* @LastEditors : Please set LastEditors
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -368,13 +368,13 @@ export default {
...
@@ -368,13 +368,13 @@ export default {
// flex: 9;
// flex: 9;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 13px;
font-size: 13px;
color: #4B4A4B;
color: #4B4A4B;
//padding-top: 20px;
margin-left: 20px;
margin-left: 40px;
div:nth-of-type(2) {
margin-top: -16px;
margin-top: 12px;
}
span:nth-of-type(2) {
span:nth-of-type(2) {
margin-left: 8px;
margin-left: 8px;
}
}
...
...
src/pages/financingTrial/trial-repay-plan.vue
View file @
134df0b6
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @Date: 2019-10-30 19:29:24
* @LastEditTime : 2019-12-2
4 18:41:3
7
* @LastEditTime : 2019-12-2
6 16:47:0
7
* @LastEditors : Please set LastEditors
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -386,13 +386,13 @@ export default {
...
@@ -386,13 +386,13 @@ export default {
// flex: 9;
// flex: 9;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 13px;
font-size: 13px;
color: #4B4A4B;
color: #4B4A4B;
//padding-top: 20px;
margin-left: 20px;
margin-left: 40px;
div:nth-of-type(2) {
margin-top: -16px;
margin-top: 12px;
}
span:nth-of-type(2) {
span:nth-of-type(2) {
margin-left: 8px;
margin-left: 8px;
}
}
...
...
src/pages/messageCenter/message-list.vue
View file @
134df0b6
...
@@ -4,11 +4,7 @@
...
@@ -4,11 +4,7 @@
<div
slot=
"center"
class=
"top-word"
>
消息通知
</div>
<div
slot=
"center"
class=
"top-word"
>
消息通知
</div>
</h-header>
</h-header>
<!--
<h-content
class=
"content"
>
-->
<!--
<h-content
class=
"content"
>
-->
<div
v-if=
"list.length===0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
<scroll
<scroll
v-if=
"list.length !== 0"
v-if=
"list.length !== 0"
ref=
"scroll"
:updateData=
"[list]"
:pullUp=
"true"
class=
"has-footer"
ref=
"scroll"
:updateData=
"[list]"
:pullUp=
"true"
class=
"has-footer"
...
@@ -59,6 +55,11 @@
...
@@ -59,6 +55,11 @@
</section>
</section>
<!--
</h-content>
-->
<!--
</h-content>
-->
</scroll>
</scroll>
<div
v-if=
"list.length===0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
</h-view>
</h-view>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
src/pages/myProductCollection/my-product-list.Vue
View file @
134df0b6
...
@@ -47,7 +47,11 @@
...
@@ -47,7 +47,11 @@
</list-item>
</list-item>
</div>
</div>
</scroll>
</scroll>
<div
v-if=
"productList.length===0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
</h-view>
</h-view>
</
template
>
</
template
>
...
@@ -208,6 +212,15 @@ export default {
...
@@ -208,6 +212,15 @@ export default {
<
style
lang=
"less"
rel=
"stylesheet"
>
<
style
lang=
"less"
rel=
"stylesheet"
>
#my-collect {
#my-collect {
.display {
position: fixed;
top: 0;
img {
width: 100%;
height: 100%;
// margin-top: -70px;
}
}
.search {
.search {
background-color: #fff;
background-color: #fff;
padding: 8px 12px;
padding: 8px 12px;
...
...
src/pages/pay/firstPay/pay-entry.vue
View file @
134df0b6
...
@@ -19,52 +19,14 @@
...
@@ -19,52 +19,14 @@
<scroll>
<scroll>
<list-item
:item-height=
"56"
class=
"pay-way"
>
<list-item
:item-height=
"56"
class=
"pay-way"
>
<item
<item
v-for=
"(item,index) in nongBank"
v-for=
"(item,index) in payTypeList"
:proportion=
"[7,1,1]"
:key=
"item.bank_account_num"
@
click
.
native=
"isSelect(`nong$
{index}`);ischeck(item);confirmToPay(item)"
>
<div
slot=
"name"
style=
"flex=3"
>
<img
:src=
"selectImg(item)"
alt
class=
"icon"
>
{{
item
.
bank_full_name
}}
(
{{
selectLast
(
item
)
}}
)
<img
v-show=
"item.recommand"
class=
"push"
src=
"@/assets/payment/push.png"
>
</div>
<section
slot=
"content"
>
<img
v-show=
"select === `nong$
{index}`" src="@/assets/payment/select.png" alt >
<img
v-show=
"select !== `nong$
{index}`" src="@/assets/payment/unselect.png" alt >
</section>
</item>
<!--
<item
:proportion=
"[7,1,1]"
@
click
.
native=
"isSelect('one');ischeck('one')"
>
<div
slot=
"name"
>
<img
src=
"@/assets/payment/alipay.png"
alt
class=
"icon1"
>
支付宝
</div>
<section
slot=
"content"
>
<img
v-show=
"select === 'one'"
src=
"@/assets/payment/select.png"
alt
>
<img
v-show=
"select !== 'one'"
src=
"@/assets/payment/unselect.png"
alt
>
</section>
</item>
<item
:proportion=
"[7,1,1]"
@
click
.
native=
"isSelect('two');ischeck('two')"
>
<div
slot=
"name"
>
<img
src=
"@/assets/payment/wx.png"
alt
class=
"icon2"
>
微信
</div>
<section
slot=
"content"
>
<img
v-show=
"select === 'two'"
src=
"@/assets/payment/select.png"
alt
>
<img
v-show=
"select !== 'two'"
src=
"@/assets/payment/unselect.png"
alt
>
</section>
</item>
-->
<item
v-for=
"(item,index) in newList"
:proportion=
"[7,1,1]"
:proportion=
"[7,1,1]"
:key=
"index"
:key=
"index"
@
click
.
native=
"isSelect(`three$
{index}`);ischeck(item);confirmToPay(item)"
@
click
.
native=
"isSelect(`three$
{index}`);ischeck(item);confirmToPay(item)"
>
>
<div
slot=
"name"
style=
"flex=3"
>
<div
slot=
"name"
style=
"flex=3"
>
<img
:src=
"selectImg(item)"
alt
class=
"icon"
>
<img
:src=
"selectImg(item)"
alt
class=
"icon"
>
{{
item
.
bank_full_name
}}
(
{{
selectLast
(
item
)
}}
)
{{
item
.
code_name
}}
<img
<img
v-show=
"item.recommand"
v-show=
"item.recommand"
class=
"push"
class=
"push"
...
@@ -100,22 +62,21 @@
...
@@ -100,22 +62,21 @@
<span>
手续费
</span>
<span>
手续费
</span>
<span>
+¥
{{
serviceCharge
|
currency
}}
</span>
<span>
+¥
{{
serviceCharge
|
currency
}}
</span>
</div>
</div>
<
!--
<
div
class=
"info-item"
@
click=
"show=true"
>
<div
class=
"info-item"
@
click=
"show=true"
>
<span>
银行卡
</span>
<span>
支付渠道
</span>
<span>
<span>
<img
:src=
"checkType.img"
>
<img
:src=
"payTypeObj.img"
>
<span>
{{
checkType
.
bank_full_name
}}
</span>
<span>
{{
payTypeObj
.
payType_n
}}
</span>
<span
v-if=
"sectctNong"
>
(
{{
selectLast
(
checkType
)
}}
)
</span>
<img
class=
"arrow"
src=
"@/assets/payment/go.png"
>
<img
class=
"arrow"
src=
"@/assets/payment/go.png"
>
</span>
</span>
</div>
-->
</div>
<list-item
:item-height=
"44"
>
<
!--
<
list-item
:item-height=
"44"
>
<item
:showArrow=
"true"
@
click
.
native=
"selectPayType"
>
<item
:showArrow=
"true"
@
click
.
native=
"selectPayType"
>
<div
slot=
"name"
>
支付渠道
</div>
<div
slot=
"name"
>
支付渠道
</div>
<input
<input
slot=
"content"
v-model=
"payTypeObj.payType_n"
readonly
>
slot=
"content"
v-model=
"payTypeObj.payType_n"
readonly
>
</item>
</item>
</list-item>
</list-item>
-->
</div>
</div>
<bottom-tab>
<bottom-tab>
<tab-button
class=
"foot"
@
click
.
native=
"checkPay"
>
去支付
</tab-button>
<tab-button
class=
"foot"
@
click
.
native=
"checkPay"
>
去支付
</tab-button>
...
@@ -146,22 +107,21 @@
...
@@ -146,22 +107,21 @@
<span>
手续费
</span>
<span>
手续费
</span>
<span>
+¥
{{
serviceCharge
}}
</span>
<span>
+¥
{{
serviceCharge
}}
</span>
</div>
</div>
<list-item
:item-height=
"44"
>
<
!--
<
list-item
:item-height=
"44"
>
<item
:showArrow=
"true"
@
click
.
native=
"selectPayType"
>
<item
:showArrow=
"true"
@
click
.
native=
"selectPayType"
>
<div
slot=
"name"
>
支付渠道
</div>
<div
slot=
"name"
>
支付渠道
</div>
<input
<input
slot=
"content"
v-model=
"payTypeObj.payType_n"
readonly
>
slot=
"content"
v-model=
"payTypeObj.payType_n"
readonly
>
</item>
</item>
</list-item>
</list-item>
-->
<
!--
<
div
class=
"info-item"
@
click=
"show=true"
>
<div
class=
"info-item"
@
click=
"show=true"
>
<span>
银行卡
</span>
<span>
支付渠道
</span>
<span>
<span>
<img
:src=
"checkType.img"
>
<img
:src=
"payTypeObj.img"
>
<span>
{{
checkType
.
bank_full_name
}}
</span>
<span>
{{
payTypeObj
.
payType_n
}}
</span>
<span
v-if=
"sectctNong"
>
(
{{
selectLast
(
checkType
)
}}
)
</span>
<img
class=
"arrow"
src=
"@/assets/payment/go.png"
>
<img
class=
"arrow"
src=
"@/assets/payment/go.png"
>
</span>
</span>
</div>
-->
</div>
</div>
</div>
</h-content>
</h-content>
<bottom-tab>
<bottom-tab>
...
@@ -188,6 +148,7 @@ import zg from '@/assets/payment/zg.png'
...
@@ -188,6 +148,7 @@ import zg from '@/assets/payment/zg.png'
import
zs
from
'@/assets/payment/zs.png'
import
zs
from
'@/assets/payment/zs.png'
import
zx
from
'@/assets/payment/zx.png'
import
zx
from
'@/assets/payment/zx.png'
import
bank
from
'@/assets/payment/bank.png'
import
bank
from
'@/assets/payment/bank.png'
import
yinlian
from
'@/assets/payment/bind.png'
export
default
{
export
default
{
name
:
'PayEntry'
,
name
:
'PayEntry'
,
components
:
{},
components
:
{},
...
@@ -209,6 +170,7 @@ export default {
...
@@ -209,6 +170,7 @@ export default {
},
},
payTypeList
:
[],
payTypeList
:
[],
payTypeObj
:
{
payTypeObj
:
{
img
:
ny
,
payType
:
'ABC_PAY'
,
payType
:
'ABC_PAY'
,
payType_n
:
'农行支付'
,
payType_n
:
'农行支付'
,
},
},
...
@@ -317,37 +279,11 @@ export default {
...
@@ -317,37 +279,11 @@ export default {
})
})
},
},
selectImg
(
e
)
{
selectImg
(
e
)
{
if
(
e
.
bank_full_name
.
indexOf
(
'建设'
)
!==
-
1
)
{
if
(
e
.
code_name
.
indexOf
(
'农行'
)
!==
-
1
)
{
return
js
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'农业'
)
!==
-
1
)
{
e
.
recommand
=
true
e
.
recommand
=
true
return
ny
return
ny
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'光大'
)
!==
-
1
)
{
}
else
if
(
e
.
code_name
.
indexOf
(
'银联'
)
!==
-
1
)
{
return
gd
return
yinlian
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'广发'
)
!==
-
1
)
{
return
gf
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'浦'
)
!==
-
1
)
{
return
pf
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'工商'
)
!==
-
1
)
{
return
gs
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'交通'
)
!==
-
1
)
{
return
jt
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'民生'
)
!==
-
1
)
{
return
ms
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'平安'
)
!==
-
1
)
{
return
pa
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'兴业'
)
!==
-
1
)
{
return
xy
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'邮'
)
!==
-
1
)
{
return
yzcx
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'中国'
)
!==
-
1
)
{
return
zg
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'招商'
)
!==
-
1
)
{
return
zs
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'中信'
)
!==
-
1
)
{
return
zx
}
else
{
return
bank
}
}
},
},
selectLast
(
item
)
{
selectLast
(
item
)
{
...
@@ -358,26 +294,16 @@ export default {
...
@@ -358,26 +294,16 @@ export default {
this
.
select
=
way
this
.
select
=
way
},
},
ischeck
(
way
)
{
ischeck
(
way
)
{
if
(
way
===
'one'
)
{
this
.
payTypeObj
.
payType
=
way
.
code
this
.
checkType
.
bank_full_name
=
'支付宝'
this
.
payTypeObj
.
payType_n
=
way
.
code_name
this
.
checkType
.
img
=
zfb
this
.
payTypeObj
.
img
=
this
.
selectImg
(
way
)
this
.
sectctNong
=
false
}
else
if
(
way
===
'two'
)
{
this
.
checkType
.
bank_full_name
=
'微信'
this
.
checkType
.
img
=
wx
this
.
sectctNong
=
false
}
else
{
this
.
checkType
.
bank_full_name
=
way
.
bank_full_name
this
.
checkType
.
bank_account_num
=
way
.
bank_account_num
this
.
checkType
.
img
=
this
.
selectImg
(
way
)
this
.
sectctNong
=
true
}
this
.
show
=
false
this
.
show
=
false
this
.
showOutside
=
false
},
},
confirmToPay
(
e
)
{
confirmToPay
(
e
)
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'update_order_info'
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
url
=
process
.
env
.
basePath
+
'update_order_info'
+
'&index'
+
`'
${
randomString
}
'`
if
(
e
)
{
if
(
e
)
{
vm
.
pay_type
=
e
.
pay_type
vm
.
pay_type
=
e
.
pay_type
vm
.
bank_account_id
=
e
.
bank_account_id
vm
.
bank_account_id
=
e
.
bank_account_id
...
@@ -386,14 +312,14 @@ export default {
...
@@ -386,14 +312,14 @@ export default {
info
:
{
info
:
{
order_id
:
vm
.
$route
.
params
.
order_id
,
order_id
:
vm
.
$route
.
params
.
order_id
,
fee
:
vm
.
serviceCharge
,
fee
:
vm
.
serviceCharge
,
bank_account_id
:
vm
.
bank_account_id
,
bank_account_id
:
'9099'
,
pay_type
:
vm
.
payTypeObj
.
payType
,
pay_type
:
vm
.
payTypeObj
.
payType
,
},
},
}
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
hideLoading
()
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
...
src/pages/pay/pay-page.vue
View file @
134df0b6
...
@@ -103,6 +103,7 @@
...
@@ -103,6 +103,7 @@
</h-content>
</h-content>
<bottom-tab>
<bottom-tab>
<tab-button
v-if=
"showpay"
class=
"foot"
@
click
.
native=
"pay"
>
立即支付
</tab-button>
<tab-button
v-if=
"showpay"
class=
"foot"
@
click
.
native=
"pay"
>
立即支付
</tab-button>
<tab-button
v-if=
"nextPay"
class=
"foot"
@
click
.
native=
"pay"
>
继续支付
</tab-button>
<tab-button
v-if=
"showSelect"
class=
"foot"
@
click
.
native=
"searchResult"
>
查询支付结果
</tab-button>
<tab-button
v-if=
"showSelect"
class=
"foot"
@
click
.
native=
"searchResult"
>
查询支付结果
</tab-button>
<tab-button
v-if=
"isGo"
class=
"foot"
@
click
.
native=
"goMyInfo"
>
返回个人中心
</tab-button>
<tab-button
v-if=
"isGo"
class=
"foot"
@
click
.
native=
"goMyInfo"
>
返回个人中心
</tab-button>
</bottom-tab>
</bottom-tab>
...
@@ -129,11 +130,13 @@ export default {
...
@@ -129,11 +130,13 @@ export default {
isSuccess
:
false
,
isSuccess
:
false
,
isFaild
:
false
,
isFaild
:
false
,
isGo
:
false
,
isGo
:
false
,
nextPay
:
false
,
}
}
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
showSelect
=
false
vm
.
showSelect
=
false
vm
.
nextPay
=
false
vm
.
showpay
=
true
vm
.
showpay
=
true
vm
.
isSuccess
=
false
vm
.
isSuccess
=
false
vm
.
isFaild
=
false
vm
.
isFaild
=
false
...
@@ -147,10 +150,8 @@ export default {
...
@@ -147,10 +150,8 @@ export default {
computed
:
{
computed
:
{
isShowpayInfo
()
{
isShowpayInfo
()
{
if
(
this
.
isSuccess
^
this
.
isFaild
==
0
)
{
if
(
this
.
isSuccess
^
this
.
isFaild
==
0
)
{
debugger
return
true
return
true
}
else
if
(
this
.
isSuccess
^
this
.
isFaild
==
1
)
{
}
else
if
(
this
.
isSuccess
^
this
.
isFaild
==
1
)
{
debugger
return
false
return
false
}
}
},
},
...
@@ -202,7 +203,6 @@ export default {
...
@@ -202,7 +203,6 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
Object
.
assign
(
vm
.
info
,
res
.
info
)
Object
.
assign
(
vm
.
info
,
res
.
info
)
vm
.
isGo
=
true
vm
.
showSelect
=
false
vm
.
showSelect
=
false
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
...
@@ -226,22 +226,28 @@ export default {
...
@@ -226,22 +226,28 @@ export default {
hlsPopup
.
showLongCenter
(
res
.
error_message
)
hlsPopup
.
showLongCenter
(
res
.
error_message
)
}
else
{
}
else
{
if
(
res
.
status
===
'01'
)
{
if
(
res
.
status
===
'01'
)
{
vm
.
nextPay
=
true
vm
.
isSuccess
=
false
vm
.
isSuccess
=
false
vm
.
isFaild
=
false
vm
.
isFaild
=
false
hlsPopup
.
showLongCenter
(
'
可再次提交
'
)
hlsPopup
.
showLongCenter
(
'
支付未完成
'
)
}
else
if
(
res
.
status
===
'02'
)
{
}
else
if
(
res
.
status
===
'02'
)
{
vm
.
nextPay
=
true
vm
.
isSuccess
=
false
vm
.
isSuccess
=
false
vm
.
isFaild
=
false
vm
.
isFaild
=
false
hlsPopup
.
showLongCenter
(
'
正在支付...
'
)
hlsPopup
.
showLongCenter
(
'
支付未完成
'
)
}
else
if
(
res
.
status
===
'03'
)
{
}
else
if
(
res
.
status
===
'03'
)
{
vm
.
isGo
=
true
vm
.
isSuccess
=
true
vm
.
isSuccess
=
true
vm
.
isFaild
=
false
vm
.
isFaild
=
false
hlsPopup
.
showLongCenter
(
'交易成功'
)
hlsPopup
.
showLongCenter
(
'交易成功'
)
}
else
if
(
res
.
status
===
'04'
)
{
}
else
if
(
res
.
status
===
'04'
)
{
vm
.
isGo
=
true
vm
.
isSuccess
=
true
vm
.
isSuccess
=
true
vm
.
isFaild
=
false
vm
.
isFaild
=
false
hlsPopup
.
showLongCenter
(
'交易完成'
)
hlsPopup
.
showLongCenter
(
'交易完成'
)
}
else
{
}
else
{
vm
.
isGo
=
true
vm
.
isSuccess
=
false
vm
.
isSuccess
=
false
vm
.
isFaild
=
true
vm
.
isFaild
=
true
hlsPopup
.
showLongCenter
(
'交易失败'
)
hlsPopup
.
showLongCenter
(
'交易失败'
)
...
...
src/pages/pay/payment/pay-entry.vue
View file @
134df0b6
...
@@ -9,62 +9,65 @@
...
@@ -9,62 +9,65 @@
</div>
</div>
</div>
</div>
</transition>
</transition>
<transition
name=
"trans"
>
<div
v-show=
"confirm"
class=
"modal-show-confirm"
>
<div
class=
"down"
>
<div
class=
"top"
>
<img
src=
"@/assets/payment/back.png"
@
click=
"confirm=false"
>
<span>
确认付款方式
</span>
</div>
<div
class=
"info"
>
<div
class=
"info-item"
>
<span>
还款金额
</span>
<span>
¥
{{
money
|
currency
}}
</span>
</div>
<div
class=
"interest"
>
<span>
本次交易收取
{{
rate
}}
%手续费
</span>
</div>
<div
class=
"info-item"
>
<span>
手续费
</span>
<span>
+¥
{{
serviceCharge
|
currency
}}
</span>
</div>
<div
class=
"info-item"
@
click=
"show=true"
>
<span>
支付渠道
</span>
<span>
<img
:src=
"payTypeObj.img"
>
<span>
{{
payTypeObj
.
payType_n
}}
</span>
<img
class=
"arrow"
src=
"@/assets/payment/go.png"
>
</span>
</div>
<!--
<list-item
:item-height=
"44"
>
<item
:showArrow=
"true"
@
click
.
native=
"selectPayType"
>
<div
slot=
"name"
>
支付渠道
</div>
<input
slot=
"content"
v-model=
"payTypeObj.payType_n"
readonly
>
</item>
</list-item>
-->
</div>
<bottom-tab>
<tab-button
class=
"footer"
@
click
.
native=
"checkPay"
>
去支付
</tab-button>
</bottom-tab>
</div>
</div>
</transition>
<transition
name=
"trans"
>
<transition
name=
"trans"
>
<div
v-show=
"show"
class=
"modal-show-bank"
>
<div
v-show=
"show"
class=
"modal-show-bank"
>
<div
class=
"down"
>
<div
class=
"down"
>
<div
class=
"top"
>
<div
class=
"top"
>
<img
src=
"@/assets/payment/back.png"
@
click=
"show=false"
>
<img
src=
"@/assets/payment/back.png"
@
click=
"show=false"
>
<span>
选择
银行卡
</span>
<span>
选择
支付渠道
</span>
</div>
</div>
<scroll>
<scroll>
<list-item
:item-height=
"56"
class=
"pay-way"
>
<list-item
:item-height=
"56"
class=
"pay-way"
>
<item
<item
v-for=
"(item,index) in nongBank"
v-for=
"(item,index) in payTypeList"
:proportion=
"[7,1,1]"
:key=
"item.bank_account_num"
@
click
.
native=
"isSelect(`nong$
{index}`);ischeck(item);confirmToPay(item)"
>
<div
slot=
"name"
style=
"flex=3"
>
<img
:src=
"selectImg(item)"
alt
class=
"icon"
>
{{
item
.
bank_full_name
}}
(
{{
selectLast
(
item
)
}}
)
<img
v-show=
"item.recommand"
class=
"push"
src=
"@/assets/payment/push.png"
>
</div>
<section
slot=
"content"
>
<img
v-show=
"select === `nong$
{index}`" src="@/assets/payment/select.png" alt >
<img
v-show=
"select !== `nong$
{index}`" src="@/assets/payment/unselect.png" alt >
</section>
</item>
<!--
<item
:proportion=
"[7,1,1]"
@
click
.
native=
"isSelect('one');ischeck('one')"
>
<div
slot=
"name"
>
<img
src=
"@/assets/payment/alipay.png"
alt
class=
"icon1"
>
支付宝
</div>
<section
slot=
"content"
>
<img
v-show=
"select === 'one'"
src=
"@/assets/payment/select.png"
alt
>
<img
v-show=
"select !== 'one'"
src=
"@/assets/payment/unselect.png"
alt
>
</section>
</item>
<item
:proportion=
"[7,1,1]"
@
click
.
native=
"isSelect('two');ischeck('two')"
>
<div
slot=
"name"
>
<img
src=
"@/assets/payment/wx.png"
alt
class=
"icon2"
>
微信
</div>
<section
slot=
"content"
>
<img
v-show=
"select === 'two'"
src=
"@/assets/payment/select.png"
alt
>
<img
v-show=
"select !== 'two'"
src=
"@/assets/payment/unselect.png"
alt
>
</section>
</item>
-->
<item
v-for=
"(item,index) in newList"
:proportion=
"[7,1,1]"
:proportion=
"[7,1,1]"
:key=
"index"
:key=
"index"
@
click
.
native=
"isSelect(`three$
{index}`);ischeck(item);confirmToPay(item)"
@
click
.
native=
"isSelect(`three$
{index}`);ischeck(item);confirmToPay(item)"
>
>
<div
slot=
"name"
style=
"flex=3"
>
<div
slot=
"name"
style=
"flex=3"
>
<img
:src=
"selectImg(item)"
alt
class=
"icon"
>
<img
:src=
"selectImg(item)"
alt
class=
"icon"
>
{{
item
.
bank_full_name
}}
(
{{
selectLast
(
item
)
}}
)
{{
item
.
code_name
}}
<img
<img
v-show=
"item.recommand"
v-show=
"item.recommand"
class=
"push"
class=
"push"
...
@@ -79,46 +82,6 @@
...
@@ -79,46 +82,6 @@
</list-item>
</list-item>
</scroll>
</scroll>
</div>
</div>
</div></transition>
<transition
name=
"trans"
>
<div
v-show=
"confirm"
class=
"modal-show-confirm"
>
<div
class=
"down"
>
<div
class=
"top"
>
<img
src=
"@/assets/payment/back.png"
@
click=
"confirm=false"
>
<span>
确认付款方式
</span>
</div>
<div
class=
"info"
>
<div
class=
"info-item"
>
<span>
还款金额
</span>
<span>
¥
{{
money
|
currency
}}
</span>
</div>
<div
class=
"interest"
>
<span>
本次交易收取
{{
rate
}}
%手续费
</span>
</div>
<div
class=
"info-item"
>
<span>
手续费
</span>
<span>
+¥
{{
serviceCharge
|
currency
}}
</span>
</div>
<list-item
:item-height=
"44"
>
<item
:showArrow=
"true"
@
click
.
native=
"selectPayType"
>
<div
slot=
"name"
>
支付渠道
</div>
<input
slot=
"content"
v-model=
"payTypeObj.payType_n"
readonly
>
</item>
<!--
<div
class=
"info-item"
@
click=
"show=true"
>
<span>
银行卡
</span>
<span>
<img
:src=
"checkType.img"
>
<span>
{{
checkType
.
bank_full_name
}}
</span>
<span
v-if=
"sectctNong"
>
(
{{
selectLast
(
checkType
)
}}
)
</span>
<img
class=
"arrow"
src=
"@/assets/payment/go.png"
>
</span>
</div>
-->
</list-item></div>
<bottom-tab>
<tab-button
class=
"footer"
@
click
.
native=
"checkPay"
>
立即支付
</tab-button>
</bottom-tab>
</div>
</div>
</div>
</transition>
</transition>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
...
@@ -145,22 +108,15 @@
...
@@ -145,22 +108,15 @@
<span>
手续费
</span>
<span>
手续费
</span>
<span>
+¥
{{
serviceCharge
}}
</span>
<span>
+¥
{{
serviceCharge
}}
</span>
</div>
</div>
<list-item
:item-height=
"44"
>
<div
class=
"info-item"
@
click=
"show=true"
>
<item
:showArrow=
"true"
@
click
.
native=
"selectPayType"
>
<span>
支付渠道
</span>
<div
slot=
"name"
>
支付渠道
</div>
<input
slot=
"content"
v-model=
"payTypeObj.payType_n"
readonly
>
</item>
<!--
<div
class=
"info-item"
@
click=
"show=true"
>
<span>
银行卡
</span>
<span>
<span>
<img
:src=
"checkType.img"
>
<img
:src=
"payTypeObj.img"
>
<span>
{{
checkType
.
bank_full_name
}}
</span>
<span>
{{
payTypeObj
.
payType_n
}}
</span>
<span
v-if=
"sectctNong"
>
(
{{
selectLast
(
checkType
)
}}
)
</span>
<img
class=
"arrow"
src=
"@/assets/payment/go.png"
>
<img
class=
"arrow"
src=
"@/assets/payment/go.png"
>
</span>
</span>
</div>
-->
</div>
</
list-item></
div>
</div>
</h-content>
</h-content>
<bottom-tab>
<bottom-tab>
<tab-button
class=
"footer"
@
click
.
native=
"affirm"
>
确认订单
</tab-button>
<tab-button
class=
"footer"
@
click
.
native=
"affirm"
>
确认订单
</tab-button>
...
@@ -204,6 +160,7 @@ export default {
...
@@ -204,6 +160,7 @@ export default {
},
},
payTypeList
:
[],
payTypeList
:
[],
payTypeObj
:
{
payTypeObj
:
{
img
:
ny
,
payType
:
'ABC_PAY'
,
payType
:
'ABC_PAY'
,
payType_n
:
'农行支付'
,
payType_n
:
'农行支付'
,
},
},
...
@@ -307,7 +264,9 @@ export default {
...
@@ -307,7 +264,9 @@ export default {
},
},
confirmToPay
(
e
)
{
confirmToPay
(
e
)
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'update_order_info'
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
url
=
process
.
env
.
basePath
+
'update_order_info'
+
'&index'
+
`'
${
randomString
}
'`
if
(
e
)
{
if
(
e
)
{
vm
.
pay_type
=
e
.
pay_type
vm
.
pay_type
=
e
.
pay_type
vm
.
bank_account_id
=
e
.
bank_account_id
vm
.
bank_account_id
=
e
.
bank_account_id
...
@@ -316,8 +275,8 @@ export default {
...
@@ -316,8 +275,8 @@ export default {
info
:
{
info
:
{
order_id
:
vm
.
$route
.
params
.
order_id
,
order_id
:
vm
.
$route
.
params
.
order_id
,
fee
:
vm
.
serviceCharge
,
fee
:
vm
.
serviceCharge
,
bank_account_id
:
vm
.
bank_account_id
,
bank_account_id
:
'9099'
,
pay_type
:
vm
.
pay
_t
ype
,
pay_type
:
vm
.
pay
TypeObj
.
payT
ype
,
},
},
}
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
...
@@ -366,20 +325,9 @@ export default {
...
@@ -366,20 +325,9 @@ export default {
})
})
},
},
ischeck
(
way
)
{
ischeck
(
way
)
{
if
(
way
===
'one'
)
{
this
.
payTypeObj
.
payType
=
way
.
code
this
.
checkType
.
bank_full_name
=
'支付宝'
this
.
payTypeObj
.
payType_n
=
way
.
code_name
this
.
checkType
.
img
=
zfb
this
.
payTypeObj
.
img
=
this
.
selectImg
(
way
)
this
.
sectctNong
=
false
}
else
if
(
way
===
'two'
)
{
this
.
checkType
.
bank_full_name
=
'微信'
this
.
checkType
.
img
=
wx
this
.
sectctNong
=
false
}
else
{
this
.
checkType
.
bank_full_name
=
way
.
bank_full_name
this
.
checkType
.
bank_account_num
=
way
.
bank_account_num
this
.
checkType
.
img
=
this
.
selectImg
(
way
)
this
.
sectctNong
=
true
}
this
.
show
=
false
this
.
show
=
false
},
},
selectLast
(
item
)
{
selectLast
(
item
)
{
...
@@ -387,35 +335,11 @@ export default {
...
@@ -387,35 +335,11 @@ export default {
return
num
.
substring
(
num
.
length
-
4
)
return
num
.
substring
(
num
.
length
-
4
)
},
},
selectImg
(
e
)
{
selectImg
(
e
)
{
if
(
e
.
bank_full_name
.
indexOf
(
'建设'
)
!==
-
1
)
{
if
(
e
.
code_name
.
indexOf
(
'农行'
)
!==
-
1
)
{
return
js
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'农业'
)
!==
-
1
)
{
e
.
recommand
=
true
e
.
recommand
=
true
return
ny
return
ny
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'光大'
)
!==
-
1
)
{
}
else
if
(
e
.
code_name
.
indexOf
(
'银联'
)
!==
-
1
)
{
return
gd
return
yinlian
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'广发'
)
!==
-
1
)
{
return
gf
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'浦'
)
!==
-
1
)
{
return
pf
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'工商'
)
!==
-
1
)
{
return
gs
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'交通'
)
!==
-
1
)
{
return
jt
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'民生'
)
!==
-
1
)
{
return
ms
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'平安'
)
!==
-
1
)
{
return
pa
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'兴业'
)
!==
-
1
)
{
return
xy
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'邮'
)
!==
-
1
)
{
return
yzcx
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'中国'
)
!==
-
1
)
{
return
zg
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'招商'
)
!==
-
1
)
{
return
zs
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'中信'
)
!==
-
1
)
{
return
zx
}
}
},
},
goSuccess
()
{
goSuccess
()
{
...
...
src/pages/productQuery/product-list.vue
View file @
134df0b6
<!--
<!--
* @Description: 产品展示列表
* @Description: 产品展示列表
* @Author: y/>e: 2019-10-16 14:39:07
* @Author: y/>e: 2019-10-16 14:39:07
* @LastEditors: Please set LastEditors
* @LastEditors
: Please set LastEditors
-->
-->
<
template
>
<
template
>
<h-view
id=
"prolist"
class=
"public-style"
title=
"产品查询"
>
<h-view
id=
"prolist"
class=
"public-style"
title=
"产品查询"
>
...
@@ -47,6 +47,11 @@
...
@@ -47,6 +47,11 @@
</list-item>
</list-item>
</div>
</div>
</scroll>
</scroll>
<div
v-if=
"lists.length===0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
</h-view>
</h-view>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -206,6 +211,15 @@ export default {
...
@@ -206,6 +211,15 @@ export default {
</
script
>
</
script
>
<
style
lang=
'less'
>
<
style
lang=
'less'
>
#prolist {
#prolist {
.display {
position: fixed;
top: 0;
img {
width: 100%;
height: 100%;
// margin-top: -70px;
}
}
.search {
.search {
background-color: #fff;
background-color: #fff;
padding: 8px 12px;
padding: 8px 12px;
...
...
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