|
@@ -228,7 +228,10 @@ export default {
|
|
},
|
|
},
|
|
// 唤起键盘
|
|
// 唤起键盘
|
|
clickShowKeyboard(index) {
|
|
clickShowKeyboard(index) {
|
|
- if (this.carType !== 1 && index === 7) return
|
|
|
|
|
|
+ if ( index === 7) {
|
|
|
|
+ this.carType = 1
|
|
|
|
+ this.$refs['k-tab'].changeTab(this.carType)
|
|
|
|
+ }
|
|
this.ind = index;
|
|
this.ind = index;
|
|
this.active = index;
|
|
this.active = index;
|
|
if (index === 0) {
|
|
if (index === 0) {
|
|
@@ -837,10 +840,6 @@ export default {
|
|
},
|
|
},
|
|
setVehicleNoType(vehicleNo, vehicles) {
|
|
setVehicleNoType(vehicleNo, vehicles) {
|
|
this.isUnlicensed(vehicles)
|
|
this.isUnlicensed(vehicles)
|
|
- // if(vehicleNo.indexOf('临') === 0) {
|
|
|
|
- // this.tabbarActive = '无牌缴费'
|
|
|
|
- // return
|
|
|
|
- // }
|
|
|
|
const item = vehicles.filter(e => e.vehicleNo === vehicleNo)
|
|
const item = vehicles.filter(e => e.vehicleNo === vehicleNo)
|
|
if(item.length) {
|
|
if(item.length) {
|
|
let label = LICENSE_PLATE_TYPE_ARR.filter(e => e.value == item[0].licensePlateType)
|
|
let label = LICENSE_PLATE_TYPE_ARR.filter(e => e.value == item[0].licensePlateType)
|
|
@@ -851,7 +850,7 @@ export default {
|
|
return false
|
|
return false
|
|
},
|
|
},
|
|
isUnlicensed(vehicles) {
|
|
isUnlicensed(vehicles) {
|
|
- const unlicensed = vehicles.filter(elm => elm.indexOf('临') === -1)
|
|
|
|
|
|
+ const unlicensed = vehicles.filter(elm => elm.vehicleNo.indexOf('临') > -1)
|
|
if(unlicensed.length) {
|
|
if(unlicensed.length) {
|
|
this.tabbarActive = '无牌缴费'
|
|
this.tabbarActive = '无牌缴费'
|
|
}
|
|
}
|