|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <view>
|
|
|
+ <view ref="all-input">
|
|
|
<view @click='hidden' class='wrap'>
|
|
|
<view class='title_b'>基本信息</view>
|
|
|
<view class="c-row ">
|
|
@@ -162,8 +162,10 @@
|
|
|
<view class="c-row ">
|
|
|
<view class="title">热损伤(%)</view>
|
|
|
<view class="con-list">
|
|
|
- <input :disabled='flag==1' v-model='gridList.jiaorenli' placeholder="请输入热损伤占比"
|
|
|
- name="input"></input>
|
|
|
+ <!-- <input :disabled='flag==1' v-model='gridList.jiaorenli' placeholder="请输入热损伤占比"
|
|
|
+ name="input"></input> -->
|
|
|
+ <input v-model='gridList.jiaorenli' @click.stop="handleShowKeyboard1":disabled="true" placeholder="请输入热损伤占比" name="input"></input>
|
|
|
+ <master-keyboard :fatherMethod="focusConfig" ref="keyboard1" keyboardtype="digit" :randomNumber="true" :newCar="false" :defaultValue="gridList.jiaorenli" @keyboardClick="handleClick1"></master-keyboard>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -329,6 +331,13 @@
|
|
|
this.gridList.gradeKey = this.gradeList[0].key
|
|
|
},
|
|
|
methods: {
|
|
|
+ focusConfig(type){
|
|
|
+ console.log('childclick',type)
|
|
|
+ // 0是上一项
|
|
|
+ if(type==0){
|
|
|
+
|
|
|
+ }else{}
|
|
|
+ },
|
|
|
hidden(){
|
|
|
this.$refs.keyboard.open(false)
|
|
|
},
|
|
@@ -341,9 +350,21 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ handleShowKeyboard1(){
|
|
|
+ if(this.flag==0){
|
|
|
+ if(this.$refs.keyboard1.open){
|
|
|
+ this.$refs.keyboard1.open(true)//true 键盘显示 false 键盘隐藏
|
|
|
+ }else{
|
|
|
+ this.$refs.keyboard1[0].open(true)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
handleClick(e){
|
|
|
this.gridList.carNumber = e.value //键盘输入值
|
|
|
},
|
|
|
+ handleClick1(e){
|
|
|
+ this.gridList.jiaorenli = e.value //键盘输入值
|
|
|
+ },
|
|
|
change(e){
|
|
|
if(e){
|
|
|
this.gridList.supplementaryRecording=1
|