Commit bd15fe25 authored by 王建文's avatar 王建文

融资方案

parent 08081855
...@@ -13,7 +13,7 @@ export default { ...@@ -13,7 +13,7 @@ export default {
name: 'CurrencyInput', name: 'CurrencyInput',
props: { props: {
value: { value: {
default: '4', default: '',
}, },
// disable: { // disable: {
// type: Boolean, // type: Boolean,
...@@ -43,7 +43,7 @@ export default { ...@@ -43,7 +43,7 @@ export default {
let currency = this.$options.filters['rate'] let currency = this.$options.filters['rate']
if (!this.focused) { if (!this.focused) {
if (this.value !== '' && this.value !== null) { if (this.value !== '' && this.value !== null) {
return `${currency(this.value)}%` return `${currency(this.value*100)}%`
} }
} else { } else {
return this.value return this.value
...@@ -68,15 +68,16 @@ export default { ...@@ -68,15 +68,16 @@ export default {
// let uncurrency = this.$options.filter['uncurrency'] // let uncurrency = this.$options.filter['uncurrency']
// this.newVal = uncurrency(this.value) // this.newVal = uncurrency(this.value)
this.newVal = this.value this.newVal = this.value
if (this.newVal.includes('.') && value === '.') {
if (this.newVal !=''&&this.newVal.includes('.') && value === '.') {
} else { } else {
this.newVal += ('' + value) this.newVal += ('' + value)
} }
this.$emit('input', this.newVal) this.$emit('input', this.newVal/100)
}, },
onDelete () { onDelete () {
this.newVal = '' this.newVal = ''
this.$emit('input', this.newVal) this.$emit('input', this.newVal/100)
}, },
// onInput: function (value) { // onInput: function (value) {
// if (this.disable) return // if (this.disable) return
...@@ -86,6 +87,7 @@ export default { ...@@ -86,6 +87,7 @@ export default {
// }, // },
onFocus (event) { onFocus (event) {
// if (this.disable) return // if (this.disable) return
debugger
let vm = this let vm = this
this.focused = true this.focused = true
let value = (event.target.value).trim() let value = (event.target.value).trim()
......
This diff is collapsed.
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</h-header> </h-header>
<h-content> <h-content>
<div class="contact-us"> <div class="contact-us">
<p class="title">金融科技事业部</p> <p class="title">中煤科工金融租赁股份有限公</p>
<div class="Address"> <div class="Address">
<ul> <ul>
<li>地址:北京市东城区环球贸易中心A座28层</li> <li>地址:北京市东城区环球贸易中心A座28层</li>
...@@ -17,22 +17,22 @@ ...@@ -17,22 +17,22 @@
<li>网址:www.cctegfl.com</li> <li>网址:www.cctegfl.com</li>
</ul> </ul>
</div> </div>
<div class="RentCentral"> <!-- <div class="RentCentral">
<ul> <ul>
<li>汉得金融科技核心条线集中交付中心</li> <li>汉得金融科技核心条线集中交付中心</li>
<li>监督举报</li> <li>监督举报</li>
<li>电话:01234-567890</li> <li>电话:01234-567890</li>
</ul> </ul>
</div> </div> -->
<div class="Ercode"> <div class="Ercode">
<ul> <ul>
<!--<li><img src="@/assets/myInfo/xugongFinancial.jpg"></li>--> <li><img src="@/assets/myInfo/zhongmei.jpeg"></li>
<li>演示demo<br>微信公众号</li> <li>演示demo<br>微信公众号</li>
</ul> </ul>
<ul> <!-- <ul> -->
<!--<li><img src="@/assets/myInfo/xugongRent.jpg"></li>--> <!--<li><img src="@/assets/myInfo/xugongRent.jpg"></li>-->
<li>演示demo<br>微信公众号</li> <!-- <li>演示demo<br>微信公众号</li>
</ul> </ul> -->
</div> </div>
</div> </div>
</h-content> </h-content>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment