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 @@
<CurrencyInput
v-model=
"money"
type=
"number"
placeholder=
"请输入支付金额"
/>
<!--
<div
@
click=
"createOrder"
>
<img
src=
"@/assets/payment/into.png"
>
</div>
-->
</div>
-->
</div>
</div>
</div>
<div
class=
"write"
>
<div
class=
"box"
>
<span>
备注
</span>
<textarea
placeholder=
"请输入您的备注……"
/>
<textarea
v-model=
"pay_note"
placeholder=
"请输入您的备注……"
/>
</div>
</div>
</section>
...
...
@@ -53,7 +53,7 @@
</div>
</h-content>
<bottom-tab>
<tab-button
class=
"footer"
@
click
.
native=
"
toPayEntry(money)"
>
支
付
</tab-button>
<tab-button
class=
"footer"
@
click
.
native=
"
putOrder(money)"
>
提交订单
</tab-button>
</bottom-tab>
</h-view>
</
template
>
...
...
@@ -69,25 +69,40 @@ export default {
return
{
money
:
0
,
default
:
0
,
pay_note
:
''
,
// 备注
}
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
})
next
(
vm
=>
{})
},
computed
:
{},
watch
:
{},
methods
:
{
toPayEntry
(
money
)
{
putOrder
(
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
({
name
:
'MarginPayEntry'
,
params
:
{
order_id
:
res
.
order_id
,
money
,
},
})
}
})
},
toPayEntry
(
money
)
{},
},
}
</
script
>
...
...
@@ -97,7 +112,7 @@ export default {
width: 96%;
height: 172px;
background-color: #fff;
margin-top:10px;
margin-top:
10px;
box-shadow: 0 1px 3px 2px rgba(168, 168, 168, 0.14);
span {
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({
{
path
:
'/new-list'
,
component
:
NewList
,
name
:
'NewList'
,
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-pay-entry'
,
component
:
MarginPayEntry
,
name
:
'MarginPayEntry'
,
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
:
fals
e
}},
// 支付页
{
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