|
@@ -65,6 +65,12 @@ export default {
|
|
|
return ['', '', '', '', '', '', ''];
|
|
|
},
|
|
|
},
|
|
|
+ disBtn:{
|
|
|
+ type: Array,
|
|
|
+ default() {
|
|
|
+ return [];
|
|
|
+ },
|
|
|
+ }
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -421,7 +427,11 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
disabledKeyboard(index) {
|
|
|
- return this.carType !== 2 && index >= 32 && index <= 37;
|
|
|
+ let dis = this.x !== 2 && index >= 32 && index <= 37;
|
|
|
+ if(this?.disBtn?.length && this.disBtn.indexOf(index) > -1) {
|
|
|
+ dis = true;
|
|
|
+ }
|
|
|
+ return dis;
|
|
|
},
|
|
|
// 选择车牌号前面的汉字
|
|
|
checkChinese(index) {
|