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
e167fb80
Commit
e167fb80
authored
Sep 30, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化refund
parent
3b0d5060
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
24 deletions
+66
-24
none.jpg
src/assets/intoApproval/none.jpg
+0
-0
base.vue
src/pages/intoApproval/intoApproval/base.vue
+27
-20
refund.vue
src/pages/intoApproval/intoApproval/refund.vue
+39
-4
No files found.
src/assets/intoApproval/none.jpg
0 → 100644
View file @
e167fb80
29.8 KB
src/pages/intoApproval/intoApproval/base.vue
View file @
e167fb80
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</div>
</div>
</div>
</div>
<h-header
:proportion=
"[5,1,1]"
class=
"header"
>
<h-header
:proportion=
"[5,1,1]"
class=
"header"
>
<div
slot=
"left"
class=
"h-header-btn"
@
click=
"$routeGo()"
>
<div
slot=
"left"
class=
"h-header-btn"
@
click=
"$routeGo(
-2
)"
>
<img
src=
"@/assets/intoApproval/arrow.png"
>
<img
src=
"@/assets/intoApproval/arrow.png"
>
<span>
进件审批
</span>
<span>
进件审批
</span>
</div>
</div>
...
@@ -87,25 +87,27 @@
...
@@ -87,25 +87,27 @@
<input
slot=
"content"
v-model=
"personInfo.marital_status_n"
readonly
>
<input
slot=
"content"
v-model=
"personInfo.marital_status_n"
readonly
>
</item>
</item>
</list-item>
</list-item>
<div
v-if=
"personInfo.marital_status == 'MARRIED'"
class=
"userInfo"
>
配偶信息
</div>
<div
v-if=
"personInfo.marital_status == 'MARRIED'"
>
<list-item
:item-height=
"44"
>
<div
class=
"userInfo"
>
配偶信息
</div>
<item>
<list-item
:item-height=
"44"
>
<div
slot=
"name"
>
姓名
</div>
<item>
<input
slot=
"content"
v-model=
"personInfo.bp_name_sp"
readonly
>
<div
slot=
"name"
>
姓名
</div>
</item>
<input
slot=
"content"
v-model=
"personInfo.bp_name_sp"
readonly
>
<item>
</item>
<div
slot=
"name"
>
电话号码
</div>
<item>
<input
slot=
"content"
v-model=
"personInfo.spouse_phone"
readonly
>
<div
slot=
"name"
>
电话号码
</div>
</item>
<input
slot=
"content"
v-model=
"personInfo.spouse_phone"
readonly
>
<item>
</item>
<div
slot=
"name"
>
工作单位
</div>
<item>
<input
slot=
"content"
v-model=
"personInfo.working_place_sp"
readonly
>
<div
slot=
"name"
>
工作单位
</div>
</item>
<input
slot=
"content"
v-model=
"personInfo.working_place_sp"
readonly
>
<item>
</item>
<div
slot=
"name"
>
居住地址
</div>
<item>
<input
slot=
"content"
v-model=
"personInfo.address_sp"
readonly
>
<div
slot=
"name"
>
居住地址
</div>
</item>
<input
slot=
"content"
v-model=
"personInfo.address_sp"
readonly
>
</list-item>
</item>
</list-item>
</div>
<div
class=
"userInfo"
>
<div
class=
"userInfo"
>
担保人信息
担保人信息
<span
v-if=
"bondsInfo.length==0"
>
(无)
</span>
<span
v-if=
"bondsInfo.length==0"
>
(无)
</span>
...
@@ -140,6 +142,7 @@
...
@@ -140,6 +142,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
v-if=
"tabNum==0&&bp_class=='ORG'"
>
<div
v-if=
"tabNum==0&&bp_class=='ORG'"
>
<list-item
:item-height=
"44"
>
<list-item
:item-height=
"44"
>
<item>
<item>
...
@@ -366,6 +369,7 @@ export default {
...
@@ -366,6 +369,7 @@ export default {
let
param
=
{
let
param
=
{
project_id
:
window
.
sessionStorage
.
project_id
,
project_id
:
window
.
sessionStorage
.
project_id
,
}
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
...
@@ -379,6 +383,7 @@ export default {
...
@@ -379,6 +383,7 @@ export default {
let
param
=
{
let
param
=
{
project_id
:
window
.
sessionStorage
.
project_id
,
project_id
:
window
.
sessionStorage
.
project_id
,
}
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
...
@@ -392,6 +397,7 @@ export default {
...
@@ -392,6 +397,7 @@ export default {
let
param
=
{
let
param
=
{
project_id
:
window
.
sessionStorage
.
project_id
,
project_id
:
window
.
sessionStorage
.
project_id
,
}
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
...
@@ -420,6 +426,7 @@ export default {
...
@@ -420,6 +426,7 @@ export default {
confirm_note
:
this
.
confirm_note
,
confirm_note
:
this
.
confirm_note
,
},
},
}
}
vm
.
hlsPopup
.
showLoading
(
'提交数据中!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
...
...
src/pages/intoApproval/intoApproval/refund.vue
View file @
e167fb80
...
@@ -7,7 +7,8 @@
...
@@ -7,7 +7,8 @@
<span>
还款计划
</span>
<span>
还款计划
</span>
</div>
</div>
</h-header>
</h-header>
<div
class=
"top-content"
>
<img
v-if=
"none"
class=
"noData"
src=
"@/assets/intoApproval/none.jpg"
>
<div
v-if=
"dataNone"
class=
"top-content"
>
<span
class=
"top-tittle"
>
融资额(元)
</span>
<span
class=
"top-tittle"
>
融资额(元)
</span>
<span
class=
"num"
>
{{
info
.
finance_amount
|
NumFormat
}}
</span>
<span
class=
"num"
>
{{
info
.
finance_amount
|
NumFormat
}}
</span>
<div
class=
"top-detail"
>
<div
class=
"top-detail"
>
...
@@ -28,12 +29,12 @@
...
@@ -28,12 +29,12 @@
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<span
class=
"line"
>
合同期数
</span>
<span
class=
"line"
>
合同期数
</span>
<span>
¥
{{
info
.
lease_times
}}
</span>
<span>
{{
info
.
lease_times
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<h-content>
<h-content
v-if=
"dataNone"
>
<table>
<table>
<tr>
<tr>
<th
/>
<th
/>
...
@@ -43,7 +44,7 @@
...
@@ -43,7 +44,7 @@
</tr>
</tr>
<tr
v-for=
"(item,index) in lists"
:key=
"index"
>
<tr
v-for=
"(item,index) in lists"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td>
{{
index
+
1
}}
</td>
<td>
{{
item
.
due_date
}}
</td>
<td>
{{
item
.
due_date
|
timeFormat
}}
</td>
<td>
租金
</td>
<td>
租金
</td>
<td>
{{
item
.
rental
|
NumFormat
}}
</td>
<td>
{{
item
.
rental
|
NumFormat
}}
</td>
</tr>
</tr>
...
@@ -73,6 +74,19 @@ export default {
...
@@ -73,6 +74,19 @@ export default {
return
intPartFormat
+
floatPart
return
intPartFormat
+
floatPart
}
}
},
},
'timeFormat'
:
function
(
time
)
{
var
date
=
new
Date
(
time
)
var
y
=
date
.
getFullYear
()
var
m
=
date
.
getMonth
()
+
1
var
d
=
date
.
getDate
()
if
(
m
<
10
)
{
m
=
`0
${
m
}
`
}
if
(
d
<
10
)
{
d
=
`0
${
d
}
`
}
return
`
${
y
}
-
${
m
}
-
${
d
}
`
},
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -84,6 +98,8 @@ export default {
...
@@ -84,6 +98,8 @@ export default {
deposit
:
''
,
deposit
:
''
,
},
},
lists
:
[],
lists
:
[],
dataNone
:
false
,
none
:
false
,
}
}
},
},
created
()
{
created
()
{
...
@@ -104,15 +120,30 @@ export default {
...
@@ -104,15 +120,30 @@ export default {
let
param
=
{
let
param
=
{
project_id
:
window
.
sessionStorage
.
project_id
,
project_id
:
window
.
sessionStorage
.
project_id
,
}
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
lists
=
res
.
lists
vm
.
lists
=
res
.
lists
Object
.
assign
(
vm
.
info
,
res
.
info
)
Object
.
assign
(
vm
.
info
,
res
.
info
)
if
(
!
vm
.
lists
.
length
)
{
vm
.
none
=
true
}
else
{
vm
.
dataNone
=
true
}
vm
.
lists
.
sort
(
vm
.
compare
(
'due_date'
))
}
}
})
})
},
},
compare
(
key
)
{
return
function
(
value1
,
value2
)
{
var
val1
=
parseInt
(
value1
[
key
].
substr
(
0
,
4
))
var
val2
=
parseInt
(
value2
[
key
])
return
val1
-
val2
}
},
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
...
@@ -245,5 +276,9 @@ export default {
...
@@ -245,5 +276,9 @@ export default {
letter-spacing: 0;
letter-spacing: 0;
}
}
}
}
.noData{
width:100%;
// height:100%
}
}
}
</
style
>
</
style
>
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