|
@@ -24,17 +24,17 @@
|
|
|
</view>
|
|
|
<view class="flex align_center">
|
|
|
<view class="labes"><text>*</text>识别VIN码:</view>
|
|
|
- <view class="inputs"><u-input :focus="focusInput" @blur="getCarInfo" v-model="form.vin" maxlength="17" border clearable type="text" placeholder="请输入VIN码"></u-input></view>
|
|
|
+ <view class="inputs"><u-input :focus="focusInput" @focus="hideCarinput" @blur="getCarInfo" v-model="form.vin" maxlength="17" border clearable type="text" placeholder="请输入VIN码"></u-input></view>
|
|
|
</view>
|
|
|
<view class="flex align_center">
|
|
|
<view class="labes" style="width: 4.5rem;"><text>*</text>里程数:</view>
|
|
|
- <view class="inputs"><u-input v-model="form.mileage" type="number" border maxlength="99999999" clearable placeholder="请输入里程数"></u-input></view>
|
|
|
+ <view class="inputs"><u-input v-model="form.mileage" @focus="hideCarinput" type="number" border maxlength="99999999" clearable placeholder="请输入里程数"></u-input></view>
|
|
|
<view class="btns">KM</view>
|
|
|
</view>
|
|
|
<view class="flex align_center">
|
|
|
<view class="labes" style="width: 4.5rem;">车牌号:</view>
|
|
|
<view class="inputs">
|
|
|
- <car-number-input @numberInputResult="vehicleNumberResult" @show="showCarInput" :defaultStr="form.vehicleNumber"></car-number-input>
|
|
|
+ <car-number-input ref="carInput" @numberInputResult="vehicleNumberResult" @show="showCarInput" :defaultStr="form.vehicleNumber"></car-number-input>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -107,6 +107,9 @@
|
|
|
urls: [img]
|
|
|
})
|
|
|
},
|
|
|
+ hideCarinput(){
|
|
|
+ this.$refs.carInput.showOrHidePop(-1)
|
|
|
+ },
|
|
|
showCarInput(v){
|
|
|
this.showCarKeyborde = v
|
|
|
},
|