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
c4496b19
Commit
c4496b19
authored
Oct 23, 2019
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liuxin' into develop
parents
8078359a
8bff1d85
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
80 additions
and
42 deletions
+80
-42
repay-details.vue
src/pages/contractRepayment/repay-details.vue
+29
-7
contract-record.vue
src/pages/pay/firstPay/contract-record.vue
+21
-13
contract-record.vue
src/pages/pay/payment/contract-record.vue
+2
-1
first-pay.vue
src/pages/pay/payment/first-pay.vue
+17
-19
pay-entry.vue
src/pages/pay/payment/pay-entry.vue
+11
-2
No files found.
src/pages/contractRepayment/repay-details.vue
View file @
c4496b19
...
...
@@ -12,31 +12,31 @@
<list-item
:item-height=
"44"
class=
"invoice"
>
<item>
<div
slot=
"name"
>
合同号
</div>
<div
slot=
"content"
>
CON2019080310020
</div>
<div
slot=
"content"
>
{{
detailInfo
.
project_number
}}
</div>
</item>
<item>
<div
slot=
"name"
>
经销商
</div>
<div
slot=
"content"
>
****
代理商
</div>
<div
slot=
"content"
>
{{
detailInfo
.
agent_bp_name
}}
代理商
</div>
</item>
<item>
<div
slot=
"name"
>
承租人
</div>
<div
slot=
"content"
>
张三
</div>
<div
slot=
"content"
>
{{
detailInfo
.
bp_name
}}
</div>
</item>
<item>
<div
slot=
"name"
>
产品线
</div>
<div
slot=
"content"
>
起重机
</div>
<div
slot=
"content"
>
{{
detailInfo
.
division_n
}}
</div>
</item>
<item>
<div
slot=
"name"
>
合同金额
</div>
<div
slot=
"content"
>
起重机
</div>
<div
slot=
"content"
>
{{
detailInfo
.
total_price
}}
</div>
</item>
<item>
<div
slot=
"name"
>
商务政策
</div>
<div
slot=
"content"
>
零手续费产品
</div>
<div
slot=
"content"
>
{{
detailInfo
.
product_plan_id_n
}}
</div>
</item>
<item>
<div
slot=
"name"
>
租赁物数量
</div>
<div
slot=
"content"
>
3
</div>
<div
slot=
"content"
>
{{
detailInfo
.
product_num
}}
</div>
</item>
</list-item>
...
...
@@ -82,11 +82,33 @@ export default {
},
data
()
{
return
{
detailInfo
:
{},
}
},
computed
:
{},
watch
:
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
getDetail
()
})
},
methods
:
{
getDetail
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'con_repayment_detial'
let
param
=
{
project_id
:
48818
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
detailInfo
=
res
.
info
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
toRepayPlan
()
{
this
.
$router
.
push
({
name
:
'RepayPlan'
,
...
...
src/pages/pay/firstPay/contract-record.vue
View file @
c4496b19
...
...
@@ -12,7 +12,10 @@
<div><span>
¥
</span>
{{
money
|
currency
}}
</div>
</div>
</div>
<h-content
class=
"pay-content"
>
<h-content
v-if=
"prj_lists.length===0"
class=
"none"
>
<p>
暂无记录
</p>
</h-content>
<h-content
v-if=
"prj_lists.length!==0"
class=
"pay-content"
>
<section
v-for=
"(item,index) in prj_lists"
:key=
"index"
class=
"contract-item"
>
<div
class=
"header"
>
<img
src=
"@/assets/payment/contract.png"
alt=
""
>
...
...
@@ -31,7 +34,8 @@
</div>
</div>
</section>
<div
class=
"prompt"
>
</h-content>
<div
v-if=
"prj_lists.length!==0"
class=
"prompt"
>
<div><img
src=
"@/assets/payment/prompt.png"
alt=
""
></div>
<div>
<p>
温馨提示
</p>
...
...
@@ -39,9 +43,7 @@
<p>
由于存在款项到账时差性,“已还金额”字段可能XXX,给您造成的不便,请谅解,谢谢!
</p>
</div>
</div>
</h-content>
<bottom-tab>
<bottom-tab
v-if=
"prj_lists.length!==0"
>
<tab-button
class=
"footer"
@
click
.
native=
"createDetail"
>
支
付
</tab-button>
...
...
@@ -163,7 +165,7 @@ export default {
},
}
</
script
>
<
style
lang=
'less'
>
<
style
lang=
'less'
>
#contract-record {
.h-header {
background-color: #00469C;
...
...
@@ -334,7 +336,8 @@ export default {
background: rgba(142,195,30,0.10);
height: 111px;
display: flex;
position: fixed;
bottom: 37px;
div:first-child {
flex: 1;
padding: 16px 0 0 16px;
...
...
@@ -377,5 +380,10 @@ export default {
height: 40px;
margin: 4px 2% 0 2%;
}
.none{
display:flex;
justify-content: center;
align-items: center;
}
}
</
style
>
src/pages/pay/payment/contract-record.vue
View file @
c4496b19
...
...
@@ -181,7 +181,8 @@ export default {
this
.
$router
.
push
({
name
:
'PaymentPayEntry'
,
params
:
{
money
,
sumMoney
:
this
.
sumMoney
,
money
:
this
.
money
,
},
})
},
...
...
src/pages/pay/payment/first-pay.vue
View file @
c4496b19
...
...
@@ -113,24 +113,22 @@ export default {
},
createOrder
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'do_order_1_con'
let
param
=
{
info
:
{
bp_id
:
window
.
sessionStorage
.
getItem
(
'bp_id'
),
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
window
.
sessionStorage
.
setItem
(
'order_id'
,
res
.
order_id
)
vm
.
toContractRecord
(
vm
.
liquidated_damages
)
window
.
sessionStorage
.
setItem
(
'order_id'
,
123
)
// let url = process.env.basePath + 'do_order_1_con'
// let param = {
// info: {
// bp_id: window.sessionStorage.getItem('bp_id'),
// },
// }
// hlsPopup.showLoading('请稍候')
// vm.$post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading()
// if (res.result === 'S') {
// window.sessionStorage.setItem('order_id', res.info.order_id)
// vm.toContractRecord(vm.liquidated_damages)
// } else {
// hlsPopup.showLongCenter(res.message)
// }
// })
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
toPayEntry
(
money
)
{
this
.
$router
.
push
({
...
...
@@ -144,7 +142,7 @@ export default {
this
.
$router
.
push
({
name
:
'PaymentContractRecord'
,
params
:
{
money
,
money
:
this
.
liquidated_damages
,
},
})
},
...
...
src/pages/pay/payment/pay-entry.vue
View file @
c4496b19
...
...
@@ -2,7 +2,7 @@
<h-view
id=
"payment-pay-entry"
class=
"public-style"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"
$routeGo()
"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"
changePage
"
>
<span>
支付中心
</span>
</div>
</h-header>
...
...
@@ -69,12 +69,21 @@ export default {
computed
:
{},
watch
:
{},
activated
()
{
this
.
money
=
this
.
$route
.
params
.
m
oney
this
.
money
=
this
.
$route
.
params
.
sumM
oney
},
methods
:
{
isSelect
(
way
)
{
this
.
select
=
way
},
changePage
()
{
this
.
$router
.
replace
({
name
:
'PaymentContractRecord'
,
params
:
{
money
:
this
.
$route
.
params
.
money
,
},
})
this
.
$router
.
go
(
-
1
)
},
},
}
</
script
>
...
...
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