Commit 0744c914 authored by wjc's avatar wjc

融租方案跳转

parent f11e6654
......@@ -25,6 +25,10 @@ export default {
// type: Boolean,
// default: true,
// },
readonly: {
type: Boolean,
default: false,
},
content: {
type: String,
default: '',
......@@ -59,22 +63,24 @@ export default {
methods: {
keyboradShow () {
let vm = this
hlsPopup.showNumberKeyborad({
title: '数字键盘',
keyDown: (text) => {
vm.onInput(text)
},
keyDelete: () => {
vm.onDelete()
},
})
if (!vm.readonly) {
hlsPopup.showNumberKeyborad({
title: '数字键盘',
keyDown: (text) => {
vm.onInput(text)
},
keyDelete: () => {
vm.onDelete()
},
})
}
},
onInput (value) {
// if (this.disable) return
if(this.value === '0' || this.value === '0.00') {
if (this.value === '0' || this.value === '0.00') {
this.newVal = ''
this.newVal += ('' + value)
}else{
} else {
this.newVal = this.value
if (this.newVal.includes('.') && value === '.') {
} else {
......
This diff is collapsed.
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