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
6b0f5b03
Commit
6b0f5b03
authored
Dec 18, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付修改
parent
af12fcb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
contract-record.vue
src/pages/pay/payment/contract-record.vue
+15
-5
No files found.
src/pages/pay/payment/contract-record.vue
View file @
6b0f5b03
...
@@ -116,6 +116,7 @@ export default {
...
@@ -116,6 +116,7 @@ export default {
vm
.
getRentInfo
()
vm
.
getRentInfo
()
vm
.
money
=
vm
.
$route
.
params
.
money
vm
.
money
=
vm
.
$route
.
params
.
money
vm
.
sumMoney
=
vm
.
money
vm
.
sumMoney
=
vm
.
money
vm
.
keyWords
=
''
vm
.
info
=
[]
vm
.
info
=
[]
vm
.
showList
=
[]
vm
.
showList
=
[]
vm
.
searchList
=
[]
vm
.
searchList
=
[]
...
@@ -163,7 +164,6 @@ export default {
...
@@ -163,7 +164,6 @@ export default {
vm
.
sumMoney
=
a
vm
.
sumMoney
=
a
}
}
}
}
vm
.
money
=
a
})
})
}
else
{
}
else
{
if
(
vm
.
money
!==
''
)
{
if
(
vm
.
money
!==
''
)
{
...
@@ -177,7 +177,7 @@ export default {
...
@@ -177,7 +177,7 @@ export default {
deep
:
true
,
deep
:
true
,
},
},
keyWords
(
newVal
,
oldVal
)
{
keyWords
(
newVal
,
oldVal
)
{
this
.
search
()
this
.
getRentInfo
()
},
},
'sumMoney'
:
{
'sumMoney'
:
{
handler
(
newVal
,
oulVal
)
{
handler
(
newVal
,
oulVal
)
{
...
@@ -202,17 +202,27 @@ export default {
...
@@ -202,17 +202,27 @@ export default {
},
},
getRentInfo
()
{
getRentInfo
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'payment_con_list_query'
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
url
=
process
.
env
.
basePath
+
'payment_con_list_query'
+
'&index'
+
`'
${
randomString
}
'`
let
param
=
{
let
param
=
{
bp_id
:
window
.
localStorage
.
getItem
(
'bp_id'
),
bp_id
:
window
.
localStorage
.
getItem
(
'bp_id'
),
pagesize
:
10
,
searchInput
:
vm
.
keyWords
,
pagenum
:
vm
.
pagenum
,
}
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
info
=
res
.
prj_lists
vm
.
info
=
res
.
prj_lists
vm
.
info
.
forEach
(
i
=>
{
i
.
con_lists
.
forEach
(
j
=>
{
let
num
=
(
parseFloat
(
j
.
due_amount
)
-
parseFloat
(
j
.
received_amount
))
vm
.
$set
(
j
,
'amount'
,
num
)
})
})
vm
.
showList
=
vm
.
info
vm
.
showList
=
vm
.
info
}
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