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
3d96e323
Commit
3d96e323
authored
Aug 14, 2023
by
jiacheng.mao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ios版本0.4.9
新增字段保证金收取方式
parent
4217fcf3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
21 deletions
+39
-21
prod.env.js
config/prod.env.js
+1
-1
uat.env.js
config/uat.env.js
+1
-1
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+36
-18
index.html
www/index.html
+1
-1
No files found.
config/prod.env.js
View file @
3d96e323
...
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://www.xcmgfs.com:8087/r/api"'
,
fileUploadSvcPath
:
'"http://www.xcmgfs.com:8087/r/api/app/fileUploadSvc?sysName=XCMG_PROD&apiName="'
,
appId
:
'"com.xcmg.app"'
,
currentVersion
:
'"0.4.
8
"'
currentVersion
:
'"0.4.
9
"'
}
config/uat.env.js
View file @
3d96e323
...
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
appId
:
'"com.xcmg.app.dev"'
,
currentVersion
:
'"
3.7.3
"'
currentVersion
:
'"
4.2.8
"'
}
src/pages/contractCreate/creat-rent-info.vue
View file @
3d96e323
...
...
@@ -350,13 +350,13 @@
<div
slot=
"name"
class=
"required"
>
留购价
</div>
<span
slot=
"content"
>
{{ saveInfo.residual_value | currency }}
</span>
</item>
<item
v-if=
"!isReadOnly"
:showArrow=
"true"
@
click
.
native=
"selectD
ownPDeposit
"
>
<div
slot=
"name"
class=
"required"
>
首付款是否计入保证金计算
</div>
<input
slot=
"content"
v-model=
"saveInfo.d
own_payment_deposit
_n"
readonly
placeholder=
"请选择"
>
<item
v-if=
"!isReadOnly"
:showArrow=
"true"
@
click
.
native=
"selectD
epositCollectionMethod
"
>
<div
slot=
"name"
class=
"required"
>
保证金收取方式
</div>
<input
slot=
"content"
v-model=
"saveInfo.d
eposit_collection_method
_n"
readonly
placeholder=
"请选择"
>
</item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
首付款是否计入保证金计算
</div>
<input
slot=
"content"
v-model=
"saveInfo.d
own_payment_deposit
_n"
readonly
placeholder=
"请选择"
>
<div
slot=
"name"
class=
"required"
>
保证金收取方式
</div>
<input
slot=
"content"
v-model=
"saveInfo.d
eposit_collection_method
_n"
readonly
placeholder=
"请选择"
>
</item>
<item
:showArrow=
"true"
@
click
.
native=
"goPlan"
>
<div
slot=
"name"
>
查看还款计划
</div>
...
...
@@ -502,6 +502,7 @@ export default {
periodLists
:
[],
// 还款周期
paywayLists
:
[],
// 支付方式
yesNoList
:
[],
// 是否值集
depositCollectionMethodList
:
[],
// 保证金收取方式值集
divisionLists
:
[],
productLine
:
[],
// 产品线
depositDeductionLine
:
[],
// 保证金抵扣方式
...
...
@@ -575,8 +576,8 @@ export default {
management_money
:
''
,
pay_type
:
''
,
pay_type_n
:
''
,
d
own_payment_deposit
_n
:
''
,
d
own_payment_deposit
:
''
,
d
eposit_collection_method
_n
:
''
,
d
eposit_collection_method
:
''
,
residual_value
:
''
,
division_n
:
''
,
division
:
''
,
...
...
@@ -639,10 +640,10 @@ export default {
'saveInfo.down_payment_ratio_n'
(
newVal
,
oldVal
)
{
this
.
saveInfo
.
down_payment
=
(
this
.
saveInfo
.
equip_price
*
newVal
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
},
'saveInfo.d
own_payment_deposit
'
(
newVal
,
oldVal
)
{
if
(
newVal
===
'
Y
'
)
{
'saveInfo.d
eposit_collection_method
'
(
newVal
,
oldVal
)
{
if
(
newVal
===
'
FINANCING_AMOUNT
'
)
{
this
.
saveInfo
.
deposit
=
((
this
.
saveInfo
.
equip_price
-
this
.
saveInfo
.
down_payment
)
*
this
.
saveInfo
.
deposit_ratio_n
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
}
else
if
(
newVal
===
'
N
'
)
{
}
else
if
(
newVal
===
'
EQUIPMENT_AMOUNT
'
)
{
this
.
saveInfo
.
deposit
=
(
this
.
saveInfo
.
equip_price
*
this
.
saveInfo
.
deposit_ratio_n
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
}
},
...
...
@@ -722,6 +723,7 @@ export default {
vm
.
repayPeriod
()
// 还款周期查询
vm
.
getPayWay
()
// 支付方式查询
vm
.
getYesNoList
()
// 是否值集获取
vm
.
getDepositCollectionMethodListList
()
// 保证金收取方式值集获取
vm
.
getDepositDeduction
()
// 保证金抵扣方式
vm
.
getHandlingPolicy
()
// 手续费政策
},
0
)
...
...
@@ -1234,8 +1236,8 @@ export default {
hlsPopup
.
showLongCenter
(
'租赁期数不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
pay_type_n
)
{
hlsPopup
.
showLongCenter
(
'支付方式不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
d
own_payment_deposit
_n
)
{
hlsPopup
.
showLongCenter
(
'
首付款是否计入保证金计算
不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
d
eposit_collection_method
_n
)
{
hlsPopup
.
showLongCenter
(
'
保证金收取方式
不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
residual_value
)
{
hlsPopup
.
showLongCenter
(
'留购价不能为空!'
)
}
else
if
(
vm
.
saveInfo
.
equip_price
<
1000
)
{
...
...
@@ -1318,8 +1320,8 @@ export default {
hlsPopup
.
showLongCenter
(
'租赁期数不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
pay_type_n
)
{
hlsPopup
.
showLongCenter
(
'支付方式不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
d
own_payment_deposit
_n
)
{
hlsPopup
.
showLongCenter
(
'
首付款是否计入保证金计算
不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
d
eposit_collection_method
_n
)
{
hlsPopup
.
showLongCenter
(
'
保证金收取方式
不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
residual_value
)
{
hlsPopup
.
showLongCenter
(
'留购价不能为空!'
)
}
else
if
(
!
vm
.
saveInfo
.
int_rate_n
)
{
...
...
@@ -1577,6 +1579,22 @@ export default {
}
})
},
getDepositCollectionMethodListList
()
{
// 保证金收取方式值集获取
let
vm
=
this
let
url
=
$config
.
basePath
+
'app_get_syscode'
let
param
=
{
'DEPOSIT_COLLECTION_METHOD'
:
'DEPOSIT_COLLECTION_METHOD'
,
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
return_status
===
'S'
)
{
vm
.
depositCollectionMethodList
=
res
.
DEPOSIT_COLLECTION_METHOD
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// async getYesNoList () { // 是否值集获取
// let url = $config.basePath + 'app_get_syscode'
// let param = {
...
...
@@ -1603,15 +1621,15 @@ export default {
})
},
// 首付款是否计入保证金计算
selectD
ownPDeposit
()
{
selectD
epositCollectionMethod
()
{
let
vm
=
this
vm
.
hlsPopup
.
selectList
({
list
:
vm
.
yesNo
List
,
// 下拉列表
list
:
vm
.
depositCollectionMethod
List
,
// 下拉列表
code
:
'type'
,
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
vm
.
saveInfo
.
d
own_payment_deposit
_n
=
obj
.
type_n
vm
.
saveInfo
.
d
own_payment_deposit
=
obj
.
type
vm
.
saveInfo
.
d
eposit_collection_method
_n
=
obj
.
type_n
vm
.
saveInfo
.
d
eposit_collection_method
=
obj
.
type
},
})
},
...
...
www/index.html
View file @
3d96e323
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"
><meta
name=
format-detection
content=
"telephone=no"
><meta
name=
format-detection
content=
"email=no"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><script
type=
text/javascript
src=
./static/vuePlatform.js
></script><script
type=
text/javascript
src=
./static/prototype.js
></script><script
type=
text/javascript
src=
./cordova.js
></script><script
type=
text/javascript
src=
"http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"
></script><title>
徐工金服
</title><link
href=
./static/css/app.fb52dd271f35e6cb942abb94eb5f18bb.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.a435add3c2f8225db0b3.js
></script><script
type=
text/javascript
src=
./static/js/vendor.6fb9a8a9e3d7464e35f7.js
></script><script
type=
text/javascript
src=
./static/js/app.fd7e69b1aa475ce239ed.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"
><meta
name=
format-detection
content=
"telephone=no"
><meta
name=
format-detection
content=
"email=no"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><script
type=
text/javascript
src=
./static/vuePlatform.js
></script><script
type=
text/javascript
src=
./static/prototype.js
></script><script
type=
text/javascript
src=
./cordova.js
></script><script
type=
text/javascript
src=
"http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"
></script><title>
徐工金服
</title><link
href=
./static/css/app.fb52dd271f35e6cb942abb94eb5f18bb.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.eecb7fb2ed3197255ab9.js
></script><script
type=
text/javascript
src=
./static/js/vendor.b2b00151a0abc83a0b0e.js
></script><script
type=
text/javascript
src=
./static/js/app.e26975a330778662748a.js
></script></body></html>
\ No newline at end of file
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