|
@@ -83,7 +83,7 @@ export default {
|
|
this.active = 0;
|
|
this.active = 0;
|
|
this.carType = index;
|
|
this.carType = index;
|
|
|
|
|
|
- if (this.carType == '1') {
|
|
|
|
|
|
+ if (index === 1) {
|
|
this.numArr = [
|
|
this.numArr = [
|
|
this.numArr[0],
|
|
this.numArr[0],
|
|
this.numArr[1],
|
|
this.numArr[1],
|
|
@@ -109,16 +109,22 @@ export default {
|
|
},
|
|
},
|
|
// 唤起键盘
|
|
// 唤起键盘
|
|
clickShowKeyboard(index) {
|
|
clickShowKeyboard(index) {
|
|
- if ( this.carType !== 1 && index === 7) return
|
|
|
|
this.ind = index;
|
|
this.ind = index;
|
|
this.active = index;
|
|
this.active = index;
|
|
// console.log('唤起键盘', this.ind, this.active);
|
|
// console.log('唤起键盘', this.ind, this.active);
|
|
|
|
+ if ( index === 7) {
|
|
|
|
+ console.log(2222)
|
|
|
|
+ this.carType = 1
|
|
|
|
+ this.$refs['k-tab-edit'].changeTab(this.carType)
|
|
|
|
+ }
|
|
|
|
+ this.ind = index;
|
|
|
|
+ this.active = index;
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
// return;
|
|
// return;
|
|
if (index === 0) {
|
|
if (index === 0) {
|
|
this.$refs['plateKeyboard'].openKeyboardCN();
|
|
this.$refs['plateKeyboard'].openKeyboardCN();
|
|
} else {
|
|
} else {
|
|
- // this.$refs['plateKeyboard'].closeKeyboardCN();
|
|
|
|
|
|
+ this.$refs['plateKeyboard'].closeKeyboardCN();
|
|
this.$refs['plateKeyboard'].openKeyboardEN();
|
|
this.$refs['plateKeyboard'].openKeyboardEN();
|
|
}
|
|
}
|
|
});
|
|
});
|