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
2503955e
Commit
2503955e
authored
Dec 27, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同创建
parent
3ca48a78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
35 deletions
+63
-35
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+63
-35
No files found.
src/pages/contractCreate/creat-rent-info.vue
View file @
2503955e
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
</div>
</div>
<div
class=
"userInfo"
>
租赁产品
</div>
<div
class=
"userInfo"
>
租赁产品
</div>
<list-item
:item-height=
"44"
>
<list-item
:item-height=
"44"
>
<item
v-if=
"!isReadOnly"
:showArrow=
"true"
@
click
.
native=
"selectProductLine"
>
<item
v-if=
"!isReadOnly"
:showArrow=
"true"
@
click
.
native=
"selectProductLine"
>
<div
slot=
"name"
>
产品线
</div>
<div
slot=
"name"
>
产品线
</div>
<input
slot=
"content"
v-model=
"saveInfo.division_n"
readonly
placeholder=
"请选择"
>
<input
slot=
"content"
v-model=
"saveInfo.division_n"
readonly
placeholder=
"请选择"
>
</item>
</item>
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
产品数量
</div>
<div
slot=
"name"
>
产品数量
</div>
<input
slot=
"content"
v-model=
"productInfo.product_num"
placeholder=
"请填写产品数量"
>
<input
slot=
"content"
v-model=
"productInfo.product_num"
:readonly=
"isReadOnly"
placeholder=
"请填写产品数量"
>
</item>
</item>
</list-item>
</list-item>
<div
class=
"userInfo"
>
融资信息
</div>
<div
class=
"userInfo"
>
融资信息
</div>
...
@@ -51,67 +51,89 @@
...
@@ -51,67 +51,89 @@
<img
src=
"@/assets/contractCreate/hint.png"
>
提示 以下为单个设备商务政策
<img
src=
"@/assets/contractCreate/hint.png"
>
提示 以下为单个设备商务政策
</div>
</div>
<list-item
:item-height=
"44"
>
<list-item
:item-height=
"44"
>
<item
:showArrow=
"true"
@
click
.
native=
"getBusinessPolicy();showModalBusiness=true"
>
<item
v-if=
"!isReadOnly"
:showArrow=
"true"
@
click
.
native=
"getBusinessPolicy();showModalBusiness=true"
>
<div
slot=
"name"
>
商务政策
</div>
<input
slot=
"content"
v-model=
"saveInfo.product_plan_name"
readonly
placeholder=
"请选择"
>
</item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
>
商务政策
</div>
<div
slot=
"name"
>
商务政策
</div>
<input
slot=
"content"
v-model=
"saveInfo.product_plan_name"
readonly
placeholder=
"请选择"
>
<input
slot=
"content"
v-model=
"saveInfo.product_plan_name"
readonly
placeholder=
"请选择"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
设备单价
</div>
<div
slot=
"name"
>
设备单价
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.equip_price"
placeholder=
"0"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.equip_price"
:readonly=
"isReadOnly"
placeholder=
"0"
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
融资金额
</div>
<div
slot=
"name"
>
融资金额
</div>
<CurrencyInput
slot=
"content"
v-model=
"finance_amount"
placeholder=
"0"
/>
<CurrencyInput
slot=
"content"
v-model=
"finance_amount"
:readonly=
"isReadOnly"
placeholder=
"0"
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
首付比例
</div>
<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"
:readonly=
"isReadOnly"
placeholder=
"%"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
首付款
</div>
<div
slot=
"name"
>
首付款
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.down_payment"
placeholder=
"0"
@
input=
"changeRatio"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.down_payment"
:readonly=
"isReadOnly"
placeholder=
"0"
@
input=
"changeRatio"
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
保证金比例
</div>
<div
slot=
"name"
>
保证金比例
</div>
<input
slot=
"content"
v-model=
"saveInfo.deposit_ratio_n"
placeholder=
"%"
>
<input
slot=
"content"
v-model=
"saveInfo.deposit_ratio_n"
:readonly=
"isReadOnly"
placeholder=
"%"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
保证金
</div>
<div
slot=
"name"
>
保证金
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.deposit"
placeholder=
"0"
@
input=
"changeDeposit"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.deposit"
:readonly=
"isReadOnly"
placeholder=
"0"
@
input=
"changeDeposit"
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
手续费比例
</div>
<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"
:readonly=
"isReadOnly"
placeholder=
"%"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
手续费
</div>
<div
slot=
"name"
>
手续费
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.lease_charge"
placeholder=
"0"
@
input=
"changeLeaseCharge"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.lease_charge"
:readonly=
"isReadOnly"
placeholder=
"0"
@
input=
"changeLeaseCharge"
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
GPS费用
</div>
<div
slot=
"name"
>
GPS费用
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.gps_fee"
placeholder=
"0"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.gps_fee"
:readonly=
"isReadOnly"
placeholder=
"0"
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
保险押金
</div>
<div
slot=
"name"
>
保险押金
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.insurance_fee"
placeholder=
"0"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.insurance_fee"
:readonly=
"isReadOnly"
placeholder=
"0"
/>
</item>
</item>
<item
class=
"date-check"
@
click
.
native=
"showTime('YYYY-MM-DD')"
>
<item
v-if=
"!isReadOnly"
class=
"date-check"
@
click
.
native=
"showTime('YYYY-MM-DD')"
>
<div
slot=
"name"
>
预计付款日
</div>
<div
slot=
"name"
>
预计付款日
</div>
<input
slot=
"content"
v-model=
"saveInfo.lease_start_date"
readonly
placeholder=
"请选择日期 "
>
<input
slot=
"content"
v-model=
"saveInfo.lease_start_date"
readonly
placeholder=
"请选择日期 "
>
</item>
</item>
<item
:showArrow=
"true"
@
click
.
native =
"periodPull"
>
<item
v-if=
"isReadOnly"
class=
"date-check"
>
<div
slot=
"name"
>
预计付款日
</div>
<input
slot=
"content"
v-model=
"saveInfo.lease_start_date"
readonly
>
</item>
<item
v-if=
"!isReadOnly"
:showArrow=
"true"
@
click
.
native =
"periodPull"
>
<div
slot=
"name"
>
还款周期
</div>
<input
slot=
"content"
v-model=
"saveInfo.annual_pay_times_n"
readonly
placeholder=
"请选择"
>
</item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
>
还款周期
</div>
<div
slot=
"name"
>
还款周期
</div>
<input
slot=
"content"
v-model=
"saveInfo.annual_pay_times_n"
readonly
placeholder=
"请选择"
>
<input
slot=
"content"
v-model=
"saveInfo.annual_pay_times_n"
readonly
placeholder=
"请选择"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
租赁期数
</div>
<div
slot=
"name"
>
租赁期数
</div>
<input
slot=
"content"
v-model=
"saveInfo.lease_times"
placeholder=
"请填写租赁期数"
>
<input
slot=
"content"
v-model=
"saveInfo.lease_times"
:readonly=
"isReadOnly"
placeholder=
"请填写租赁期数"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
年利率
</div>
<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>
<item
:showArrow=
"true"
@
click
.
native=
"selectPayWay"
>
<item
v-if=
"!isReadOnly"
:showArrow=
"true"
@
click
.
native=
"selectPayWay"
>
<div
slot=
"name"
>
支付方式
</div>
<input
slot=
"content"
v-model=
"saveInfo.pay_type_n"
readonly
placeholder=
"请选择"
>
</item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
>
支付方式
</div>
<div
slot=
"name"
>
支付方式
</div>
<input
slot=
"content"
v-model=
"saveInfo.pay_type_n"
readonly
placeholder=
"请选择"
>
<input
slot=
"content"
v-model=
"saveInfo.pay_type_n"
readonly
placeholder=
"请选择"
>
</item>
</item>
...
@@ -121,7 +143,7 @@
...
@@ -121,7 +143,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
留购价
</div>
<div
slot=
"name"
>
留购价
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.residual_value"
placeholder=
"请填写留购价"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.residual_value"
:readonly=
"isReadOnly"
placeholder=
"请填写留购价"
/>
</item>
</item>
<item
:showArrow=
"true"
@
click
.
native=
"goPlan"
>
<item
:showArrow=
"true"
@
click
.
native=
"goPlan"
>
<div
slot=
"name"
>
查看还款计划
</div>
<div
slot=
"name"
>
查看还款计划
</div>
...
@@ -130,7 +152,7 @@
...
@@ -130,7 +152,7 @@
</list-item>
</list-item>
</h-content>
</h-content>
<bottom-tab
class=
"add-box"
>
<bottom-tab
class=
"add-box"
>
<tab-button
class=
"before"
@
click
.
native=
"save"
>
计算
</tab-button>
<tab-button
v-if=
"!isReadOnly"
class=
"before"
@
click
.
native=
"save"
>
计算
</tab-button>
<tab-button
class=
"next"
@
click
.
native=
"next"
>
下一步
</tab-button>
<tab-button
class=
"next"
@
click
.
native=
"next"
>
下一步
</tab-button>
</bottom-tab>
</bottom-tab>
<h-modal
ref=
"modal"
v-model=
"showModalValue"
class=
"flow"
position=
"bottom"
>
<h-modal
ref=
"modal"
v-model=
"showModalValue"
class=
"flow"
position=
"bottom"
>
...
@@ -426,24 +448,30 @@ export default {
...
@@ -426,24 +448,30 @@ export default {
},
},
next
()
{
next
()
{
let
vm
=
this
let
vm
=
this
if
(
vm
.
isComputed
)
{
if
(
vm
.
isReadOnly
)
{
let
url
=
process
.
env
.
basePath
+
'prj_product_info_save'
vm
.
$router
.
push
({
let
param
=
{
name
:
'CreateEnclosureInfo'
,
master
:
vm
.
productInfo
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'CreateEnclosureInfo'
,
})
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
})
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
'请先进行计算'
)
if
(
vm
.
isComputed
)
{
let
url
=
process
.
env
.
basePath
+
'prj_product_info_save'
let
param
=
{
master
:
vm
.
productInfo
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'CreateEnclosureInfo'
,
})
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
}
else
{
hlsPopup
.
showLongCenter
(
'请先进行计算'
)
}
}
}
},
},
showTime
(
format
)
{
// 预计付款日
showTime
(
format
)
{
// 预计付款日
...
...
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