From cf8975e9b68335a841d4b88ff503ffb6b74ecfb5 Mon Sep 17 00:00:00 2001
From: mrz <17966059@qq.com>
Date: Sat, 19 Oct 2024 16:57:31 +0800
Subject: [PATCH] bug-fix: 1. 录入表单时的强制大小写转换的bug修复

---
 src/views/nav3/Way.vue | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/nav3/Way.vue b/src/views/nav3/Way.vue
index dbd9199..d88d458 100644
--- a/src/views/nav3/Way.vue
+++ b/src/views/nav3/Way.vue
@@ -18,7 +18,7 @@
                             <el-col style="margin-left: 30px" :span="2">
                                 <el-form-item>
                                     <el-input
-                                        minlength="3" maxlength="3" onkeyup="this.value=this.value.toUpperCase()"
+                                        minlength="3" maxlength="3" oninput="this.value=this.value.toUpperCase()"
                                         @keyup.native="form.bill.origin.replace(/[^A-Za-z]/g,'')"
                                         v-model="form.bill.origin" auto-complete="off" placeholder="起始站" size="mini"></el-input>
                                 </el-form-item>
@@ -284,7 +284,7 @@
                                 <el-row  style="margin-bottom: -5px">
                                     <el-col style="width: 95%">
                                         <el-form-item>
-                                            <el-input  minlength="3" maxlength="3" onkeyup="this.value=this.value.toUpperCase()"
+                                            <el-input  minlength="3" maxlength="3" oninput="this.value=this.value.toUpperCase()"
                                                        @keyup.native="form.cvd.cvd_currency_code.replace(/[^A-Za-z]/g,'')"
                                                     v-model="form.cvd.cvd_currency_code" auto-complete="off" placeholder="货币单位" size="mini"></el-input>
                                         </el-form-item>
@@ -346,7 +346,7 @@
                                 <el-row>
                                     <el-col style="width: 95%">
                                         <el-form-item>
-                                            <el-input minlength="3" maxlength="3" onkeyup="this.value=this.value.replace(/[^A-Za-z]/g,'').toUpperCase()"
+                                            <el-input minlength="3" maxlength="3" oninput="this.value=this.value.replace(/[^A-Za-z]/g,'').toUpperCase();"
                                                     v-model="form.rtg.destinationAirport" auto-complete="off" placeholder="到达站" size="mini"></el-input>
                                         </el-form-item>
                                     </el-col>
@@ -359,7 +359,7 @@
                                 <el-row  style="margin-bottom: -5px">
                                     <el-col style="width: 95%">
                                         <el-form-item>
-                                            <el-input  minlength="2" maxlength="2" onkeyup="this.value=this.value.toUpperCase()"
+                                            <el-input  minlength="2" maxlength="2" oninput="this.value=this.value.toUpperCase()"
                                                        @keyup.native="form.flt.cariier.replace(/[^A-Za-z]/g,'')"
                                                     v-model="form.flt.cariier" auto-complete="off" placeholder="承运人" size="mini"></el-input>
                                         </el-form-item>
@@ -447,7 +447,7 @@
                                 <el-row  style="margin-bottom: -5px">
                                     <el-col style="width: 95%">
                                         <el-form-item>
-                                            <el-input minlength="3" maxlength="3" onkeyup="this.value=this.value.toUpperCase()"
+                                            <el-input minlength="3" maxlength="3" oninput="this.value=this.value.toUpperCase()"
                                                       @keyup.native="form.bill.destination.replace(/[^A-Za-z]/g,'')"
                                                       v-model="form.bill.destination" auto-complete="off" placeholder="目的地机场" size="mini">
 
--
libgit2 0.24.0