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
640e7153
Commit
640e7153
authored
Jan 02, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add保证金支付
parent
f2ffbf06
Pipeline
#4409
canceled with stages
Changes
4
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
354 additions
and
136 deletions
+354
-136
first-pay.vue
src/pages/pay/marginPay/first-pay.vue
+29
-14
pay-entry.vue
src/pages/pay/marginPay/pay-entry.vue
+322
-119
pay-entry.vue
src/pages/pay/payment/pay-entry.vue
+1
-1
index.js
src/router/index.js
+2
-2
No files found.
src/pages/pay/marginPay/first-pay.vue
View file @
640e7153
...
@@ -30,14 +30,14 @@
...
@@ -30,14 +30,14 @@
<CurrencyInput
v-model=
"money"
type=
"number"
placeholder=
"请输入支付金额"
/>
<CurrencyInput
v-model=
"money"
type=
"number"
placeholder=
"请输入支付金额"
/>
<!--
<div
@
click=
"createOrder"
>
<!--
<div
@
click=
"createOrder"
>
<img
src=
"@/assets/payment/into.png"
>
<img
src=
"@/assets/payment/into.png"
>
</div>
-->
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"write"
>
<div
class=
"write"
>
<div
class=
"box"
>
<div
class=
"box"
>
<span>
备注
</span>
<span>
备注
</span>
<textarea
placeholder=
"请输入您的备注……"
/>
<textarea
v-model=
"pay_note"
placeholder=
"请输入您的备注……"
/>
</div>
</div>
</div>
</div>
</section>
</section>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</div>
</div>
</h-content>
</h-content>
<bottom-tab>
<bottom-tab>
<tab-button
class=
"footer"
@
click
.
native=
"
toPayEntry(money)"
>
支
付
</tab-button>
<tab-button
class=
"footer"
@
click
.
native=
"
putOrder(money)"
>
提交订单
</tab-button>
</bottom-tab>
</bottom-tab>
</h-view>
</h-view>
</
template
>
</
template
>
...
@@ -69,25 +69,40 @@ export default {
...
@@ -69,25 +69,40 @@ export default {
return
{
return
{
money
:
0
,
money
:
0
,
default
:
0
,
default
:
0
,
pay_note
:
''
,
// 备注
}
}
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{})
})
},
},
computed
:
{},
computed
:
{},
watch
:
{},
watch
:
{},
methods
:
{
methods
:
{
putOrder
(
money
)
{
toPayEntry
(
money
)
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'create_order_agent_amt'
let
param
=
{
info
:
{
bp_id
:
window
.
localStorage
.
bp_id
,
amount
:
money
,
pay_note
:
this
.
pay_note
,
},
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'MarginPayEntry'
,
name
:
'MarginPayEntry'
,
params
:
{
params
:
{
order_id
:
res
.
order_id
,
money
,
money
,
},
},
})
})
}
})
},
},
toPayEntry
(
money
)
{},
},
},
}
}
</
script
>
</
script
>
...
@@ -97,7 +112,7 @@ export default {
...
@@ -97,7 +112,7 @@ export default {
width: 96%;
width: 96%;
height: 172px;
height: 172px;
background-color: #fff;
background-color: #fff;
margin-top:10px;
margin-top:
10px;
box-shadow: 0 1px 3px 2px rgba(168, 168, 168, 0.14);
box-shadow: 0 1px 3px 2px rgba(168, 168, 168, 0.14);
span {
span {
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
...
...
src/pages/pay/marginPay/pay-entry.vue
View file @
640e7153
This diff is collapsed.
Click to expand it.
src/pages/pay/payment/pay-entry.vue
View file @
640e7153
src/router/index.js
View file @
640e7153
...
@@ -244,8 +244,8 @@ export default new Router({
...
@@ -244,8 +244,8 @@ export default new Router({
{
path
:
'/new-list'
,
component
:
NewList
,
name
:
'NewList'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/new-list'
,
component
:
NewList
,
name
:
'NewList'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/payment-contract-record'
,
component
:
PaymentContractRecord
,
name
:
'PaymentContractRecord'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/payment-contract-record'
,
component
:
PaymentContractRecord
,
name
:
'PaymentContractRecord'
,
meta
:
{
keepAlive
:
true
}},
// 保证金支付
// 保证金支付
{
path
:
'/margin-first-pay'
,
component
:
MarginFirstPay
,
name
:
'MarginFirstPay'
,
meta
:
{
keepAlive
:
tru
e
}},
{
path
:
'/margin-first-pay'
,
component
:
MarginFirstPay
,
name
:
'MarginFirstPay'
,
meta
:
{
keepAlive
:
fals
e
}},
{
path
:
'/margin-pay-entry'
,
component
:
MarginPayEntry
,
name
:
'MarginPayEntry'
,
meta
:
{
keepAlive
:
tru
e
}},
{
path
:
'/margin-pay-entry'
,
component
:
MarginPayEntry
,
name
:
'MarginPayEntry'
,
meta
:
{
keepAlive
:
fals
e
}},
// 支付页
// 支付页
{
path
:
'/pay-page'
,
component
:
PayPage
,
name
:
'PayPage'
,
meta
:
{
keepAlive
:
false
}},
{
path
:
'/pay-page'
,
component
:
PayPage
,
name
:
'PayPage'
,
meta
:
{
keepAlive
:
false
}},
// 产品查询
// 产品查询
...
...
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