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
9fd72fd3
Commit
9fd72fd3
authored
May 28, 2021
by
jiacheng.mao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建融租方案 增加 手续费政策字段
parent
c453f7f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
1 deletion
+44
-1
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+44
-1
No files found.
src/pages/contractCreate/creat-rent-info.vue
View file @
9fd72fd3
...
...
@@ -204,7 +204,15 @@
</item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
保证金抵扣方式
</div>
<input
slot=
"content"
v-model=
"saveInfo.deposit_deduction_n"
readonly
>
<input
slot=
"content"
v-model=
"saveInfo.handling_policy_n"
readonly
>
</item>
<item
v-if=
"!isReadOnly"
:showArrow=
"true"
@
click
.
native=
"selectHandlingPolicyLine"
>
<div
slot=
"name"
class=
"required"
>
手续费政策
</div>
<input
slot=
"content"
v-model=
"saveInfo.handling_policy_n"
readonly
placeholder=
"请选择"
>
</item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
手续费政策
</div>
<input
slot=
"content"
v-model=
"saveInfo.handling_policy_n"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"required"
>
手续费比例
</div>
...
...
@@ -436,6 +444,7 @@ export default {
divisionLists
:
[],
productLine
:
[],
// 产品线
depositDeductionLine
:
[],
//保证金抵扣方式
handlingPolicyLine
:
[],
//手续费政策
factory_ocr_type
:
''
,
certificationType
:
''
,
uploadList
:
[],
// 附件上传
...
...
@@ -480,6 +489,8 @@ export default {
deposit_ratio_n
:
''
,
deposit_deduction
:
''
,
deposit_deduction_n
:
''
,
handling_policy
:
''
,
handling_policy_n
:
''
,
deposit
:
''
,
lease_charge_ratio
:
''
,
lease_charge_ratio_n
:
''
,
...
...
@@ -613,6 +624,7 @@ export default {
vm
.
repayPeriod
()
// 还款周期查询
vm
.
getPayWay
()
// 支付方式查询
vm
.
getDepositDeduction
()
// 保证金抵扣方式
vm
.
getHandlingPolicy
()
// 手续费政策
},
0
)
console
.
log
(
vm
.
factory_ocr_type
)
}
...
...
@@ -1119,6 +1131,8 @@ export default {
hlsPopup
.
showLongCenter
(
'保证金不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
deposit_deduction
)
{
hlsPopup
.
showLongCenter
(
'保证金抵扣方式不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
handling_policy
)
{
hlsPopup
.
showLongCenter
(
'手续费政策不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
lease_charge_ratio_n
)
{
hlsPopup
.
showLongCenter
(
'手续费比例不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
lease_charge
)
{
...
...
@@ -1643,6 +1657,35 @@ export default {
}
})
},
selectHandlingPolicyLine
(
e
)
{
let
vm
=
this
vm
.
hlsPopup
.
selectList
({
list
:
vm
.
handlingPolicyLine
,
code
:
'handling_policy'
,
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
vm
.
saveInfo
.
handling_policy
=
obj
.
handling_policy
vm
.
saveInfo
.
handling_policy_n
=
obj
.
handling_policy_n
},
})
},
getHandlingPolicy
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_handling_policy'
let
param
=
{}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
handlingPolicyLine
=
res
.
lists
.
map
(
item
=>
{
return
{
code
:
item
.
handling_policy
,
code_name
:
item
.
handling_policy_n
,
}
})
}
})
},
getProductLine
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_product_division'
...
...
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