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
95be47d2
Commit
95be47d2
authored
Jan 09, 2020
by
Jennie Shi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixIssue
parent
a6532da7
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
644 additions
and
598 deletions
+644
-598
create-base-info.vue
src/pages/contractCreate/create-base-info.vue
+1
-1
sales-info.vue
src/pages/contractCreate/sales-info.vue
+9
-2
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+622
-583
pay-page.vue
src/pages/pay/pay-page.vue
+12
-12
No files found.
src/pages/contractCreate/create-base-info.vue
View file @
95be47d2
...
@@ -430,7 +430,7 @@ export default {
...
@@ -430,7 +430,7 @@ export default {
},
},
watch
:
{
watch
:
{
$route
(
to
,
from
)
{
$route
(
to
,
from
)
{
if
(
to
.
name
===
'SalesInfo'
)
{
if
(
to
.
name
===
'SalesInfo'
&&
from
.
name
===
'CreateBaseInfo'
)
{
this
.
routeGoCustom
()
this
.
routeGoCustom
()
}
}
},
},
...
...
src/pages/contractCreate/sales-info.vue
View file @
95be47d2
...
@@ -186,6 +186,12 @@ export default {
...
@@ -186,6 +186,12 @@ export default {
},
},
immediate
:
true
,
immediate
:
true
,
},
},
// '$route' (to, from) {
// debugger
// if (from.fullPath !== '/contract-create-list' && to.fullPath === '/sales-info') {
// this.$router.go(0)
// }
// },
},
},
activated
()
{
activated
()
{
...
@@ -222,7 +228,8 @@ export default {
...
@@ -222,7 +228,8 @@ export default {
}
}
vm
.
businessQuery
().
then
(
res
=>
{
vm
.
businessQuery
().
then
(
res
=>
{
vm
.
agentQuery
().
then
(
res
=>
{
vm
.
agentQuery
().
then
(
res
=>
{
vm
.
factoryQuery
()
vm
.
factoryQuery
().
then
(
res
=>
{
})
})
})
})
})
}
else
if
(
from
.
name
===
'CreateBaseInfo'
)
{
}
else
if
(
from
.
name
===
'CreateBaseInfo'
)
{
...
@@ -327,7 +334,7 @@ export default {
...
@@ -327,7 +334,7 @@ export default {
phone
:
window
.
localStorage
.
getItem
(
'user_phone'
),
phone
:
window
.
localStorage
.
getItem
(
'user_phone'
),
}
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
return
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
vm
.
factoty
=
res
.
lists
vm
.
factoty
=
res
.
lists
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
...
...
src/pages/contractSigning/contract-detail.vue
View file @
95be47d2
This diff is collapsed.
Click to expand it.
src/pages/pay/pay-page.vue
View file @
95be47d2
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</div>
</div>
</div>
</div>
<div
v-if=
"isShowpayInfo"
class=
"box-wrap"
>
<div
v-if=
"isShowpayInfo"
class=
"box-wrap"
>
<!--
<div
class=
"box-top"
>
<!--
<div
class=
"box-top"
>
<img
src=
"@/assets/payment/bank-title.png"
>
<img
src=
"@/assets/payment/bank-title.png"
>
</div>
-->
</div>
-->
<div
class=
"box-center"
>
<div
class=
"box-center"
>
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
<div
slot=
"name"
class=
"name"
>
订单编号
</div>
<div
slot=
"name"
class=
"name"
>
订单编号
</div>
<div
slot=
"content"
>
{{
info
.
order_number
}}
</div>
<div
slot=
"content"
>
{{
info
.
order_number
}}
</div>
</item>
</item>
<!--
<item>
<!--
<item>
<div
slot=
"name"
class=
"name"
>
付款人
</div>
<div
slot=
"name"
class=
"name"
>
付款人
</div>
<div
slot=
"content"
>
{{
info
.
pay_amount_name
}}
</div>
<div
slot=
"content"
>
{{
info
.
pay_amount_name
}}
</div>
</item>
</item>
...
@@ -79,13 +79,13 @@
...
@@ -79,13 +79,13 @@
<div
slot=
"name"
class=
"name"
>
付款账号
</div>
<div
slot=
"name"
class=
"name"
>
付款账号
</div>
<div
slot=
"content"
>
{{
info
.
pay_amount
}}
</div>
<div
slot=
"content"
>
{{
info
.
pay_amount
}}
</div>
</item>
-->
</item>
-->
<!--
<item>
<!--
<item>
<div
slot=
"name"
class=
"name"
>
交易金额
</div>
<div
slot=
"name"
class=
"name"
>
交易金额
</div>
<div
slot=
"content"
>
{{
info
.
orderamount
|
currency
}}
</div>
<div
slot=
"content"
>
{{
info
.
orderamount
|
currency
}}
</div>
</item>
-->
</item>
-->
<div
class=
"orderamount-wrap"
>
<div
class=
"orderamount-wrap"
>
<span
class=
"orderamount-item"
>
交易金额
</span>
<span
class=
"orderamount-item"
>
交易金额
</span>
<span
class=
"orderamount-item font-color"
>
¥
{{
info
.
orderamount
|
currency
}}
</span>
<span
class=
"orderamount-item font-color"
>
¥
{{
info
.
orderamount
|
currency
}}
</span>
</div>
</div>
<item>
<item>
<div
slot=
"name"
class=
"name"
>
支付方式
</div>
<div
slot=
"name"
class=
"name"
>
支付方式
</div>
...
@@ -105,13 +105,13 @@
...
@@ -105,13 +105,13 @@
<p>
手机K码支付需要您开通我行消息服务。
</p>
<p>
手机K码支付需要您开通我行消息服务。
</p>
<p>
掌上银行支付需要您首先开通我行掌上银行,
</p>
<p>
掌上银行支付需要您首先开通我行掌上银行,
</p>
<p>
且支付账户已添加到掌上银行;
</p>
<p>
且支付账户已添加到掌上银行;
</p>
<!--
<p>
www.abchina. com
</p>
<!--
<p>
www.abchina. com
</p>
<p>
全国24小时服务热线:95599
</p>
<p>
全国24小时服务热线:95599
</p>
<p>
中国农业银行版权所有
</p>
-->
<p>
中国农业银行版权所有
</p>
-->
</div>
</div>
</div>
</div>
</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=
"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>
...
@@ -176,7 +176,7 @@ export default {
...
@@ -176,7 +176,7 @@ export default {
pay
(
status
)
{
pay
(
status
)
{
let
vm
=
this
let
vm
=
this
vm
.
nextPay
=
false
vm
.
nextPay
=
false
if
(
status
===
'continue'
&&
vm
.
payType
===
'ABC_UNION'
){
// 在银联模式下继续支付重新获取支付url,因为银联页面只能打开一次
if
(
status
===
'continue'
&&
vm
.
payType
===
'ABC_UNION'
)
{
// 在银联模式下继续支付重新获取支付url,因为银联页面只能打开一次
hlsPopup
.
showConfirm
({
hlsPopup
.
showConfirm
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'银联不支持二次支付,请重新发起支付订单'
,
content
:
'银联不支持二次支付,请重新发起支付订单'
,
...
@@ -188,16 +188,16 @@ export default {
...
@@ -188,16 +188,16 @@ export default {
}
}
},
},
})
})
}
else
{
}
else
{
cordova
.
InAppBrowser
.
open
(
this
.
url
,
'_blank'
,
'location=yes'
)
cordova
.
InAppBrowser
.
open
(
this
.
url
,
'_blank'
,
'location=yes'
)
// window.open(this.url)
// window.open(this.url)
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
vm
.
showSelect
=
true
vm
.
showSelect
=
true
vm
.
showpay
=
false
vm
.
showpay
=
false
},
3000
)
},
3000
)
},
},
getPayUrl
()
{
getPayUrl
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'merchant_payment'
let
url
=
process
.
env
.
basePath
+
'merchant_payment'
let
param
=
{
let
param
=
{
...
@@ -209,7 +209,7 @@ export default {
...
@@ -209,7 +209,7 @@ export default {
if
(
res
.
return_code
!==
'0000'
)
{
if
(
res
.
return_code
!==
'0000'
)
{
hlsPopup
.
showLongCenter
(
res
.
error_message
)
hlsPopup
.
showLongCenter
(
res
.
error_message
)
}
else
{
}
else
{
cordova
.
InAppBrowser
.
open
(
res
.
paymentURL
,
'_blank'
,
'location=yes'
)
cordova
.
InAppBrowser
.
open
(
res
.
paymentURL
,
'_blank'
,
'location=yes'
)
}
}
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
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