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
e18af40d
Commit
e18af40d
authored
Dec 26, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://hel.hand-china.com/xugong/hls-xcmg-vue-app
into develop
parents
ea5481f4
9a40d7cb
Pipeline
#4323
canceled with stages
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
150 additions
and
103 deletions
+150
-103
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+48
-13
create-enclosure-info.vue
src/pages/contractCreate/create-enclosure-info.vue
+38
-55
repay-plans.vue
src/pages/contractInquire/repay-plans.vue
+4
-5
contract-repay-plan.vue
src/pages/contractSigning/contract-repay-plan.vue
+20
-10
financ-details.vue
src/pages/distributorSign/financ-details.vue
+20
-10
trial-repay-plan.vue
src/pages/financingTrial/trial-repay-plan.vue
+20
-10
No files found.
src/pages/contractCreate/creat-rent-info.vue
View file @
e18af40d
...
...
@@ -49,43 +49,43 @@
</item>
<item>
<div
slot=
"name"
>
设备单价
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.equip_price"
placeholder=
"
暂无信息
"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.equip_price"
placeholder=
"
0
"
/>
</item>
<item>
<div
slot=
"name"
>
融资金额
</div>
<CurrencyInput
slot=
"content"
v-model=
"
saveInfo.finance_amount"
placeholder=
"暂无信息
"
/>
<CurrencyInput
slot=
"content"
v-model=
"
finance_amount"
placeholder=
"0
"
/>
</item>
<item>
<div
slot=
"name"
>
首付比例
</div>
<input
slot=
"content"
v-model=
"saveInfo.down_payment_ratio_n"
placeholder=
"
暂无信息
"
>
<input
slot=
"content"
v-model=
"saveInfo.down_payment_ratio_n"
placeholder=
"
%
"
>
</item>
<item>
<div
slot=
"name"
>
首付款
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.down_payment"
placeholder=
"
暂无信息
"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.down_payment"
placeholder=
"
0"
@
input=
"changeRatio
"
/>
</item>
<item>
<div
slot=
"name"
>
保证金比例
</div>
<input
slot=
"content"
v-model=
"saveInfo.deposit_ratio_n"
placeholder=
"
暂无信息
"
>
<input
slot=
"content"
v-model=
"saveInfo.deposit_ratio_n"
placeholder=
"
%
"
>
</item>
<item>
<div
slot=
"name"
>
保证金
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.deposit"
placeholder=
"
暂无信息"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.deposit"
placeholder=
"
0"
@
input=
"changeDeposit"
/>
</item>
<item>
<div
slot=
"name"
>
手续费比例
</div>
<input
slot=
"content"
v-model=
"saveInfo.lease_charge_ratio_n"
placeholder=
"
暂无信息
"
>
<input
slot=
"content"
v-model=
"saveInfo.lease_charge_ratio_n"
placeholder=
"
%
"
>
</item>
<item>
<div
slot=
"name"
>
手续费
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.lease_charge"
placeholder=
"
暂无信息"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.lease_charge"
placeholder=
"
0"
@
input=
"changeLeaseCharge"
/>
</item>
<item>
<div
slot=
"name"
>
GPS费用
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.gps_fee"
placeholder=
"
暂无信息
"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.gps_fee"
placeholder=
"
0
"
/>
</item>
<item>
<div
slot=
"name"
>
保险押金
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.insurance_fee"
placeholder=
"
暂无信息
"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.insurance_fee"
placeholder=
"
0
"
/>
</item>
<item
class=
"date-check"
@
click
.
native=
"showTime('YYYY-MM-DD')"
>
<div
slot=
"name"
>
预计付款日
</div>
...
...
@@ -101,7 +101,7 @@
</item>
<item>
<div
slot=
"name"
>
年利率
</div>
<input
slot=
"content"
v-model=
"saveInfo.int_rate_n"
readonly
placeholder=
"
暂无信息
"
>
<input
slot=
"content"
v-model=
"saveInfo.int_rate_n"
readonly
placeholder=
"
%
"
>
</item>
<item
:showArrow=
"true"
@
click
.
native=
"selectPayWay"
>
<div
slot=
"name"
>
支付方式
</div>
...
...
@@ -109,7 +109,7 @@
</item>
<item>
<div
slot=
"name"
>
逾期日利率
</div>
<input
slot=
"content"
v-model=
"saveInfo.penalty_rate_n"
readonly
placeholder=
"
暂无信息
"
>
<input
slot=
"content"
v-model=
"saveInfo.penalty_rate_n"
readonly
placeholder=
"
%
"
>
</item>
<item>
<div
slot=
"name"
>
留购价
</div>
...
...
@@ -270,6 +270,11 @@ export default {
},
}
},
computed
:
{
'finance_amount'
()
{
// 融资金额
return
parseFloat
(
this
.
saveInfo
.
equip_price
-
this
.
saveInfo
.
equip_price
*
this
.
saveInfo
.
down_payment_ratio_n
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
},
},
watch
:
{
policyKeyWord
(
newVal
,
oldVal
)
{
this
.
searchBusinessPolicy
()
...
...
@@ -277,6 +282,20 @@ export default {
keyWordProduct
(
newVal
,
oldVal
)
{
this
.
searchProduct
()
},
'saveInfo.equip_price'
()
{
this
.
saveInfo
.
down_payment
=
(
this
.
saveInfo
.
equip_price
*
this
.
saveInfo
.
down_payment_ratio_n
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
this
.
saveInfo
.
deposit
=
(
this
.
saveInfo
.
equip_price
*
this
.
saveInfo
.
deposit_ratio_n
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
this
.
saveInfo
.
lease_charge
=
parseFloat
((
this
.
saveInfo
.
equip_price
-
this
.
saveInfo
.
equip_price
*
this
.
saveInfo
.
down_payment_ratio_n
.
replace
(
'%'
,
''
)
/
100
)
*
(
this
.
saveInfo
.
lease_charge_ratio_n
.
replace
(
'%'
,
''
)
/
100
)).
toFixed
(
2
)
},
'saveInfo.deposit_ratio_n'
(
newVal
,
oldVal
)
{
this
.
saveInfo
.
deposit
=
(
this
.
saveInfo
.
equip_price
*
newVal
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
},
'saveInfo.down_payment_ratio_n'
(
newVal
,
oldVal
)
{
this
.
saveInfo
.
down_payment
=
(
this
.
saveInfo
.
equip_price
*
newVal
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
},
'saveInfo.lease_charge_ratio_n'
(
newVal
,
oldVal
)
{
this
.
saveInfo
.
lease_charge
=
parseFloat
((
this
.
saveInfo
.
equip_price
-
this
.
saveInfo
.
equip_price
*
this
.
saveInfo
.
down_payment_ratio_n
.
replace
(
'%'
,
''
)
/
100
)
*
(
this
.
saveInfo
.
lease_charge_ratio_n
.
replace
(
'%'
,
''
)
/
100
)).
toFixed
(
2
)
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
...
...
@@ -297,6 +316,15 @@ export default {
})
},
methods
:
{
changeRatio
()
{
this
.
saveInfo
.
down_payment_ratio_n
=
`
${(
this
.
saveInfo
.
down_payment
/
this
.
saveInfo
.
equip_price
).
toFixed
(
2
)
*
100
}
%`
},
changeDeposit
()
{
this
.
saveInfo
.
deposit_ratio_n
=
`
${(
this
.
saveInfo
.
deposit
/
this
.
saveInfo
.
equip_price
).
toFixed
(
2
)
*
100
}
%`
},
changeLeaseCharge
()
{
this
.
saveInfo
.
lease_charge_ratio_n
=
`
${(
this
.
saveInfo
.
lease_charge
/
(
this
.
saveInfo
.
equip_price
-
this
.
saveInfo
.
equip_price
*
this
.
saveInfo
.
down_payment_ratio_n
.
replace
(
'%'
,
''
)
/
100
)).
toFixed
(
2
)
*
100
}
%`
},
selectBusinessPolicy
(
e
)
{
let
vm
=
this
vm
.
saveInfo
.
product_plan_id
=
e
.
product_plan_id
...
...
@@ -316,7 +344,14 @@ export default {
},
save
()
{
let
vm
=
this
vm
.
$router
.
push
({
name
:
'CreateEnclosureInfo'
,
})
let
url
=
process
.
env
.
basePath
+
'prj_lease_info_save'
vm
.
saveInfo
.
down_payment_ratio
=
(
vm
.
saveInfo
.
down_payment_ratio_n
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
vm
.
saveInfo
.
lease_charge_ratio
=
(
vm
.
saveInfo
.
lease_charge_ratio_n
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
vm
.
saveInfo
.
deposit_ratio
=
(
vm
.
saveInfo
.
deposit_ratio_n
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
vm
.
saveInfo
.
finance_amount
=
vm
.
finance_amount
let
param
=
{
master
:
vm
.
saveInfo
,
}
...
...
@@ -646,7 +681,7 @@ export default {
name
:
'ContractRepayPlan'
,
params
:
{
product_num
:
this
.
productInfo
.
product_num
,
project_id
:
this
.
project_id
,
project_id
:
window
.
localStorage
.
project_id
,
},
})
},
...
...
src/pages/contractCreate/create-enclosure-info.vue
View file @
e18af40d
...
...
@@ -26,13 +26,7 @@
<div
class=
"userInfo"
>
基本资料
</div>
<div
v-if=
"bpClass === 'ORG'"
class=
"house"
>
<p
class=
"titles"
>
营业执照
</p>
<div
v-if=
"!licenseImg"
class=
"card-upload"
@
click=
"ocrShow('CAR_CARD', '')"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
<div
v-if=
"licenseImg && status !== 'APPROVED'"
class=
"card-upload"
>
<img
:src=
"licenseImg"
@
click=
"ocrShow('CAR_CARD', '')"
>
</div>
<div
v-if=
"licenseImg && status === 'APPROVED'"
class=
"card-upload"
>
<div
v-if=
"licenseImg"
class=
"card-upload"
>
<img
:src=
"licenseImg"
@
click=
"showBigPicture(licenseImg)"
>
</div>
</div>
...
...
@@ -40,11 +34,7 @@
<p
v-if=
"bpClass === 'NP'"
class=
"titles"
>
身份证
</p>
<p
v-if=
"bpClass === 'ORG'"
class=
"titles"
>
法人代表身份证
</p>
<div
class=
"upload-box"
>
<div
v-if=
"!idCardFront"
@
click=
"ocrShow('idCard', 'front')"
>
<img
src=
"@/assets/userBind/front.png"
>
<p>
正面
</p>
</div>
<div
v-if=
"idCardFront && status === 'APPROVED'"
>
<div
v-if=
"idCardFront"
>
<img
v-if=
"idCardFront"
:src=
"idCardFront"
...
...
@@ -52,19 +42,7 @@
@
click=
"showBigPicture(idCardFront)"
>
</div>
<div
v-if=
"idCardFront && status !== 'APPROVED'"
>
<img
v-if=
"idCardFront"
:src=
"idCardFront"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"ocrShow('idCard', 'front')"
>
</div>
<div
v-if=
"!idCardBack"
@
click=
"ocrShow('idCard', 'back')"
>
<img
src=
"@/assets/userBind/back.png"
>
<p>
反面
</p>
</div>
<div
v-if=
"idCardBack && status === 'APPROVED'"
>
<div
v-if=
"idCardBack"
>
<img
v-if=
"idCardBack"
:src=
"idCardBack"
...
...
@@ -72,49 +50,23 @@
@
click=
"showBigPicture(idCardBack)"
>
</div>
<div
v-if=
"idCardBack && status !== 'APPROVED'"
>
<img
v-if=
"idCardBack"
:src=
"idCardBack"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"ocrShow('idCard', 'back')"
>
</div>
</div>
</div>
<div
class=
"house"
>
<p
class=
"titles"
>
房产证件
</p>
<div
v-if=
"!houseImg"
class=
"card-upload"
@
click=
"ocrShow('HOUSE_CARD', '')"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
<div
v-if=
"houseImg && status !== 'APPROVED'"
class=
"card-upload"
>
<img
:src=
"houseImg"
@
click=
"ocrShow('HOUSE_CARD', '')"
>
</div>
<div
v-if=
"houseImg && status === 'APPROVED'"
class=
"card-upload"
>
<div
v-if=
"houseImg"
class=
"card-upload"
>
<img
:src=
"houseImg"
@
click=
"showBigPicture(houseImg)"
>
</div>
</div>
<div
class=
"house"
>
<p
class=
"titles"
>
车辆行驶证
</p>
<div
v-if=
"!carImg"
class=
"card-upload"
@
click=
"ocrShow('CAR_CARD', '')"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
<div
v-if=
"carImg && status !== 'APPROVED'"
class=
"card-upload"
>
<img
:src=
"carImg"
@
click=
"ocrShow('CAR_CARD', '')"
>
</div>
<div
v-if=
"carImg && status === 'APPROVED'"
class=
"card-upload"
>
<div
v-if=
"carImg"
class=
"card-upload"
>
<img
:src=
"carImg"
@
click=
"showBigPicture(carImg)"
>
</div>
</div>
<div
v-if=
"bpClass === 'NP'"
class=
"house"
>
<p
class=
"titles"
>
婚姻状况证明
</p>
<div
v-if=
"!marryImg"
class=
"card-upload"
@
click=
"ocrShow('CAR_CARD', '')"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
<div
v-if=
"marryImg && status !== 'APPROVED'"
class=
"card-upload"
>
<img
:src=
"marryImg"
@
click=
"ocrShow('', '')"
>
</div>
<div
v-if=
"marryImg && status === 'APPROVED'"
class=
"card-upload"
>
<div
v-if=
"marryImg"
class=
"card-upload"
>
<img
:src=
"marryImg"
@
click=
"showBigPicture(marryImg)"
>
</div>
</div>
...
...
@@ -134,7 +86,7 @@
</h-content>
<bottom-tab
class=
"add-box"
>
<tab-button
class=
"before"
@
click
.
native=
"$routeGo()"
>
保存
</tab-button>
<tab-button
class=
"next"
@
click
.
native=
"
goRen
t"
>
提交
</tab-button>
<tab-button
class=
"next"
@
click
.
native=
"
handleSubmi
t"
>
提交
</tab-button>
</bottom-tab>
</h-view>
</
template
>
...
...
@@ -173,6 +125,7 @@ export default {
vm
.
bpClass
=
window
.
localStorage
.
bp_class
vm
.
status
=
window
.
localStorage
.
user_bp_status
vm
.
loadItemList
()
// vm.getPrjId()
}
})
},
...
...
@@ -329,6 +282,36 @@ export default {
}
})
},
// 获取项目id
getPrjId
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'get_project_id'
let
param
=
{
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'获取项目id'
,
res
)
if
(
res
.
result
===
'S'
)
{
// vm.showLists = res.lists
}
})
},
// 项目提交审批
handleSubmit
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_project_submit'
let
param
=
{
project_id
:
vm
.
project_id
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'项目提交审批'
,
res
)
if
(
res
.
result
===
'S'
)
{
// vm.showLists = res.lists
}
})
},
},
}
</
script
>
...
...
src/pages/contractInquire/repay-plans.vue
View file @
e18af40d
<!--
* @Author: your name
* @Date: 2019-10-31 09:49:57
* @LastEditTime : 2019-12-24 18:
28:09
* @LastEditTime : 2019-12-24 18:
34:37
* @LastEditors : Please set LastEditors
* @Description: 还款
* @FilePath:
...
...
@@ -58,10 +58,8 @@
</div>
</div>
<div
class=
"name"
>
<!--
<span>
款项
</span>
<span>
租金
</span>
-->
<p>
利息
</p>
<p>
{{
item
.
interest
}}
</p>
<span>
利息
</span>
<span>
{{
item
.
interest
|
currency
}}
</span>
</div>
<img
v-if=
"statu === 'black'"
src=
"@/assets/contractInquire/done.png"
alt=
""
class=
"status"
>
<img
v-if=
"statu === 'orange'"
src=
"@/assets/contractInquire/prompt.png"
alt=
""
class=
"status"
>
...
...
@@ -376,6 +374,7 @@ export default {
color: #4B4A4B;
//padding-top: 20px;
margin-left: 40px;
margin-top: -16px;
span:nth-of-type(2) {
margin-left: 8px;
}
...
...
src/pages/contractSigning/contract-repay-plan.vue
View file @
e18af40d
<!--
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @LastEditTime
: 2019-11-15 09:14:47
* @LastEditors: Please set LastEditors
* @LastEditTime
: 2019-12-24 18:38:21
* @LastEditors
: Please set LastEditors
* @Description: In User Settings Edit
-->
<
template
>
...
...
@@ -47,13 +47,19 @@
<p>
{{
item
.
due_date
.
substr
(
0
,
4
)
}}
</p>
<span>
{{
dateConverse
(
item
.
due_date
).
substr
(
5
,
10
)
}}
</span>
</div>
<div
class=
"name"
>
<span>
款项
</span>
<div
class=
"number"
>
<div>
<span>
本金
</span>
<span>
{{
item
.
principal
|
currency
}}
</span>
</div>
<div>
<span>
租金
</span>
<span
:class=
"
{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">
{{
item
.
rental
|
currency
}}
</span>
</div>
<div
class=
"number"
>
<span>
应还金额
</span>
<span
:class=
"
{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">
{{
item
.
rental
*
product_num
|
currency
}}
</span>
</div>
<div
class=
"name"
>
<span>
利息
</span>
<span>
{{
item
.
interest
|
currency
}}
</span>
</div>
<img
v-if=
"statu === 'black'"
src=
"@/assets/contractInquire/done.png"
alt=
""
class=
"status"
>
<img
v-if=
"statu === 'orange'"
src=
"@/assets/contractInquire/prompt.png"
alt=
""
class=
"status"
>
...
...
@@ -384,7 +390,7 @@ export default {
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
padding-top: 20px;
//
padding-top: 20px;
margin-left: 22px;
span:nth-of-type(2) {
margin-left: 8px;
...
...
@@ -396,11 +402,15 @@ export default {
.number {
// flex: 9;
display: flex;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
padding-top: 20px;
//
padding-top: 20px;
margin-left: 40px;
margin-top: -16px;
span:nth-of-type(2) {
margin-left: 8px;
}
...
...
src/pages/distributorSign/financ-details.vue
View file @
e18af40d
<!--
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @LastEditTime
: 2019-11-13 16:36:01
* @LastEditors: Please set LastEditors
* @LastEditTime
: 2019-12-24 18:39:52
* @LastEditors
: Please set LastEditors
* @Description: In User Settings Edit
-->
<
template
>
...
...
@@ -45,13 +45,19 @@
<p>
{{
item
.
due_date
.
substr
(
0
,
4
)
}}
</p>
<span>
{{
dateConverse
(
item
.
due_date
).
substr
(
5
,
10
)
}}
</span>
</div>
<div
class=
"name"
>
<span>
款项
</span>
<div
class=
"number"
>
<div>
<span>
本金
</span>
<span>
{{
item
.
principal
|
currency
}}
</span>
</div>
<div>
<span>
租金
</span>
<span
:class=
"
{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">
{{
item
.
rental
|
currency
}}
</span>
</div>
<div
class=
"number"
>
<span>
应还金额
</span>
<span
:class=
"
{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">
{{
item
.
rental
*
product_num
|
currency
}}
</span>
</div>
<div
class=
"name"
>
<span>
利息
</span>
<span>
{{
item
.
interest
|
currency
}}
</span>
</div>
<img
v-if=
"statu === 'black'"
src=
"@/assets/contractInquire/done.png"
alt=
""
class=
"status"
>
<img
v-if=
"statu === 'orange'"
src=
"@/assets/contractInquire/prompt.png"
alt=
""
class=
"status"
>
...
...
@@ -348,7 +354,7 @@ export default {
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
padding-top: 20px;
//
padding-top: 20px;
margin-left: 22px;
span:nth-of-type(2) {
margin-left: 8px;
...
...
@@ -360,11 +366,15 @@ export default {
.number {
// flex: 9;
display: flex;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
padding-top: 20px;
//
padding-top: 20px;
margin-left: 40px;
margin-top: -16px;
span:nth-of-type(2) {
margin-left: 8px;
}
...
...
src/pages/financingTrial/trial-repay-plan.vue
View file @
e18af40d
<!--
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @LastEditTime
: 2019-11-13 10:34:23
* @LastEditors: Please set LastEditors
* @LastEditTime
: 2019-12-24 18:41:37
* @LastEditors
: Please set LastEditors
* @Description: In User Settings Edit
-->
<
template
>
...
...
@@ -45,14 +45,20 @@
<p>
{{
item
.
due_date
.
substr
(
0
,
4
)
}}
</p>
<span>
{{
dateConverse
(
item
.
due_date
).
substr
(
5
,
10
)
}}
</span>
</div>
<div
class=
"name"
>
<span>
款项
</span>
<span>
租金
</span>
</div>
<div
class=
"number"
>
<span>
应还金额
</span>
<div>
<span>
本金
</span>
<span>
{{
item
.
principal
|
currency
}}
</span>
</div>
<div>
<span>
租金
</span>
<span
:class=
"
{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">
{{
item
.
rental
|
currency
}}
</span>
</div>
</div>
<div
class=
"name"
>
<span>
利息
</span>
<span>
{{
item
.
interest
|
currency
}}
</span>
</div>
<img
v-if=
"statu === 'black'"
src=
"@/assets/contractInquire/done.png"
alt=
""
class=
"status"
>
<img
v-if=
"statu === 'orange'"
src=
"@/assets/contractInquire/prompt.png"
alt=
""
class=
"status"
>
</div>
...
...
@@ -366,7 +372,7 @@ export default {
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
padding-top: 20px;
//
padding-top: 20px;
margin-left: 22px;
span:nth-of-type(2) {
margin-left: 8px;
...
...
@@ -378,11 +384,15 @@ export default {
.number {
// flex: 9;
display: flex;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
padding-top: 20px;
//
padding-top: 20px;
margin-left: 40px;
margin-top: -16px;
span:nth-of-type(2) {
margin-left: 8px;
}
...
...
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