作者 朱兆平

bug-fix:

1. 录入表单时的强制大小写转换的bug修复
... ... @@ -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">
... ...