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
7f519faf
Commit
7f519faf
authored
Jan 14, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
01c4794d
Pipeline
#4610
canceled with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
24 deletions
+60
-24
uat.env.js
config/uat.env.js
+1
-1
currencyInput.vue
src/components/currencyInput.vue
+8
-7
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+50
-16
www.zip
www.zip
+0
-0
index.html
www/index.html
+1
-0
No files found.
config/uat.env.js
View file @
7f519faf
...
@@ -11,5 +11,5 @@ module.exports = {
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="'
,
appId
:
'"com.xcmg.app.dev"'
,
appId
:
'"com.xcmg.app.dev"'
,
currentVersion
:
'"1.
4.6
"'
currentVersion
:
'"1.
5.1
"'
}
}
src/components/currencyInput.vue
View file @
7f519faf
...
@@ -15,10 +15,10 @@ export default {
...
@@ -15,10 +15,10 @@ export default {
value
:
{
value
:
{
default
:
''
,
default
:
''
,
},
},
disable
:
{
//
disable: {
type
:
Boolean
,
//
type: Boolean,
default
:
fals
e
,
// default: tru
e,
},
//
},
content
:
{
content
:
{
type
:
String
,
type
:
String
,
default
:
''
,
default
:
''
,
...
@@ -28,6 +28,7 @@ export default {
...
@@ -28,6 +28,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
focused
:
false
,
focused
:
false
,
disable
:
true
,
newVal
:
''
,
newVal
:
''
,
}
}
},
},
...
@@ -63,7 +64,7 @@ export default {
...
@@ -63,7 +64,7 @@ export default {
})
})
},
},
onInput
(
value
)
{
onInput
(
value
)
{
if
(
this
.
disable
)
return
//
if (this.disable) return
this
.
newVal
=
this
.
value
this
.
newVal
=
this
.
value
this
.
newVal
+=
(
''
+
value
)
this
.
newVal
+=
(
''
+
value
)
this
.
$emit
(
'input'
,
this
.
newVal
)
this
.
$emit
(
'input'
,
this
.
newVal
)
...
@@ -78,7 +79,7 @@ export default {
...
@@ -78,7 +79,7 @@ export default {
// this.$emit('input', this.currencyValue)
// this.$emit('input', this.currencyValue)
// },
// },
onFocus
(
event
)
{
onFocus
(
event
)
{
if
(
this
.
disable
)
return
//
if (this.disable) return
this
.
focused
=
true
this
.
focused
=
true
let
value
=
event
.
target
.
value
let
value
=
event
.
target
.
value
event
.
target
.
value
=
''
event
.
target
.
value
=
''
...
@@ -89,7 +90,7 @@ export default {
...
@@ -89,7 +90,7 @@ export default {
},
0
)
},
0
)
},
},
onBlur
(
event
)
{
onBlur
(
event
)
{
if
(
this
.
disable
)
return
//
if (this.disable) return
event
.
target
.
type
=
'text'
event
.
target
.
type
=
'text'
this
.
focused
=
false
this
.
focused
=
false
},
},
...
...
src/pages/contractCreate/creat-rent-info.vue
View file @
7f519faf
...
@@ -75,51 +75,81 @@
...
@@ -75,51 +75,81 @@
<div
slot=
"name"
class=
"required"
>
商务政策
</div>
<div
slot=
"name"
class=
"required"
>
商务政策
</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
v-if=
"!isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
设备单价
</div>
<div
slot=
"name"
class=
"required"
>
设备单价
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.equip_price"
:readonly=
"isReadOnly"
placeholder=
"请输入设备单价"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.equip_price"
placeholder=
"请输入设备单价"
/>
</item>
</item>
<item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
设备单价
</div>
<span
slot=
"content"
>
¥
{{
saveInfo
.
equip_price
|
currency
}}
</span>
</item>
<item
v-if=
"!isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
融资金额
</div>
<CurrencyInput
slot=
"content"
v-model=
"finance_amount"
placeholder=
"请输入融资信息"
/>
</item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
融资金额
</div>
<div
slot=
"name"
class=
"required"
>
融资金额
</div>
<
CurrencyInput
slot=
"content"
v-model=
"finance_amount"
:readonly=
"isReadOnly"
placeholder=
"请输入融资信息"
/
>
<
span
slot=
"content"
>
¥
{{
finance_amount
|
currency
}}
</span
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"required"
>
首付比例
</div>
<div
slot=
"name"
class=
"required"
>
首付比例
</div>
<input
slot=
"content"
v-model=
"saveInfo.down_payment_ratio_n"
:readonly=
"isReadOnly"
placeholder=
"%"
>
<input
slot=
"content"
v-model=
"saveInfo.down_payment_ratio_n"
:readonly=
"isReadOnly"
placeholder=
"%"
>
</item>
</item>
<item>
<item
v-if=
"!isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
首付款
</div>
<div
slot=
"name"
class=
"required"
>
首付款
</div>
<CurrencyInput
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.down_payment"
:readonly=
"isReadOnly"
placeholder=
"请输入首付款"
slot=
"content"
v-model=
"saveInfo.down_payment"
placeholder=
"请输入首付款"
@
input=
"changeRatio"
/>
@
input=
"changeRatio"
/>
</item>
</item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
首付款
</div>
<span
slot=
"content"
>
¥
{{
saveInfo
.
down_payment
|
currency
}}
</span>
</item>
<item>
<item>
<div
slot=
"name"
class=
"required"
>
保证金比例
</div>
<div
slot=
"name"
class=
"required"
>
保证金比例
</div>
<input
slot=
"content"
v-model=
"saveInfo.deposit_ratio_n"
:readonly=
"isReadOnly"
placeholder=
"%"
>
<input
slot=
"content"
v-model=
"saveInfo.deposit_ratio_n"
:readonly=
"isReadOnly"
placeholder=
"%"
>
</item>
</item>
<item>
<item
v-if=
"!isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
保证金
</div>
<div
slot=
"name"
class=
"required"
>
保证金
</div>
<CurrencyInput
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.deposit"
:readonly=
"isReadOnly"
placeholder=
"请输入保证金"
slot=
"content"
v-model=
"saveInfo.deposit"
placeholder=
"请输入保证金"
@
input=
"changeDeposit"
/>
@
input=
"changeDeposit"
/>
</item>
</item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
保证金
</div>
<span
slot=
"content"
>
¥
{{
saveInfo
.
deposit
|
currency
}}
</span>
</item>
<item>
<item>
<div
slot=
"name"
class=
"required"
>
手续费比例
</div>
<div
slot=
"name"
class=
"required"
>
手续费比例
</div>
<input
slot=
"content"
v-model=
"saveInfo.lease_charge_ratio_n"
:readonly=
"isReadOnly"
placeholder=
"%"
>
<input
slot=
"content"
v-model=
"saveInfo.lease_charge_ratio_n"
:readonly=
"isReadOnly"
placeholder=
"%"
>
</item>
</item>
<item>
<item
v-if=
"!isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
手续费
</div>
<div
slot=
"name"
class=
"required"
>
手续费
</div>
<CurrencyInput
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.lease_charge"
:readonly=
"isReadOnly"
placeholder=
"请输入手续费"
slot=
"content"
v-model=
"saveInfo.lease_charge"
placeholder=
"请输入手续费"
@
input=
"changeLeaseCharge"
/>
@
input=
"changeLeaseCharge"
/>
</item>
</item>
<item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
手续费
</div>
<span
slot=
"content"
>
¥
{{
saveInfo
.
lease_charge
|
currency
}}
</span>
</item>
<item
v-if=
"!isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
GPS费用
</div>
<div
slot=
"name"
class=
"required"
>
GPS费用
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.gps_fee"
:readonly=
"isReadOnly"
placeholder=
"请输入GPS费用"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.gps_fee"
placeholder=
"请输入GPS费用"
/>
</item>
</item>
<item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
GPS费用
</div>
<span
slot=
"content"
>
¥
{{
saveInfo
.
gps_fee
|
currency
}}
</span>
</item>
<item
v-if=
"!isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
保险押金
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.insurance_fee"
placeholder=
"请输入保险押金"
/>
</item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
保险押金
</div>
<div
slot=
"name"
class=
"required"
>
保险押金
</div>
<
CurrencyInput
slot=
"content"
v-model=
"saveInfo.insurance_fee"
:readonly=
"isReadOnly"
placeholder=
"请输入保险押金"
/
>
<
span
slot=
"content"
>
¥
{{
saveInfo
.
insurance_fee
|
currency
}}
</span
>
</item>
</item>
<item
v-if=
"!isReadOnly"
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"
class=
"required"
>
预计付款日
</div>
<div
slot=
"name"
class=
"required"
>
预计付款日
</div>
...
@@ -157,9 +187,13 @@
...
@@ -157,9 +187,13 @@
<div
slot=
"name"
class=
"required"
>
逾期日利率
</div>
<div
slot=
"name"
class=
"required"
>
逾期日利率
</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>
<item>
<item
v-if=
"!isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
留购价
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.residual_value"
placeholder=
"请输入留购价"
/>
</item>
<item
v-if=
"isReadOnly"
>
<div
slot=
"name"
class=
"required"
>
留购价
</div>
<div
slot=
"name"
class=
"required"
>
留购价
</div>
<
CurrencyInput
slot=
"content"
v-model=
"saveInfo.residual_value"
:readonly=
"isReadOnly"
placeholder=
"请输入留购价"
/
>
<
span
slot=
"content"
>
¥
{{
saveInfo
.
residual_value
|
currency
}}
</span
>
</item>
</item>
<item
:showArrow=
"true"
@
click
.
native=
"goPlan"
>
<item
:showArrow=
"true"
@
click
.
native=
"goPlan"
>
<div
slot=
"name"
>
查看还款计划
</div>
<div
slot=
"name"
>
查看还款计划
</div>
...
...
www.zip
0 → 100644
View file @
7f519faf
File added
www/index.html
0 → 100644
View file @
7f519faf
<!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=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"
></script><title>
徐工融租
</title><link
href=
./static/css/app.77dc2598bd267bcc99de974d44cbff93.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.3ad1d5771e9b13dbdad2.js
></script><script
type=
text/javascript
src=
./static/js/vendor.737b66774b6e80545073.js
></script><script
type=
text/javascript
src=
./static/js/app.2e361802438b4cad783a.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