|
|
@@ -187,7 +187,7 @@
|
|
|
<el-col :xs="xscell" :sm="smcell" :md="mdcell" :lg="lgcell" :xl="xlcell">
|
|
|
<el-form-item label="发动机号:" prop="engineNo">
|
|
|
<el-input
|
|
|
- onkeyup="value=value.replace(/[^\w-]/ig,'')"
|
|
|
+
|
|
|
v-model="carInfo.engineNo"
|
|
|
placeholder="请输入发动机号"
|
|
|
></el-input>
|
|
|
@@ -4790,7 +4790,7 @@ export default {
|
|
|
"carInfo.engineNo": {
|
|
|
handler(val) {
|
|
|
if (val) {
|
|
|
- this.carInfo.engineNo = val.toUpperCase();
|
|
|
+ this.carInfo.engineNo = val.replace(/[^\w-]/ig,'').toUpperCase();
|
|
|
}
|
|
|
},
|
|
|
deep: true
|