作者 小范

表单校验

... ... @@ -35,12 +35,14 @@
<el-row>
<el-col style="width: 38%">
<el-form-item>
<el-input @keyup.native="form.shp.shp_name=form.shp.shp_name.replace(/[^A-Z0-9_\s]/g,'')" v-model="form.shp.shp_name" auto-complete="off" placeholder="名称" size="mini"></el-input>
<el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="form.shp.shp_name=form.shp.shp_name.replace(/[^A-Za-z0-9_\s]/g,'')" v-model="form.shp.shp_name" auto-complete="off" placeholder="名称" size="mini"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 40%;margin-left:5px">
<el-form-item>
<el-input @keyup.native="form.shp.shp_name=form.shp.shp_name.replace(/[^A-Z0-9_\s]/g,'')" v-model="shp_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
<el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="shp_contact.contact_number.replace(/[^0-9-_\s]/g,'')" v-model="shp_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
<!-- <el-select v-model="form.shp.shp_detail_number" placeholder="电话/传真">-->
<!-- <el-option label="电话" value="2"></el-option>-->
<!-- <el-option label="传真" value="3"></el-option>-->
... ... @@ -51,31 +53,39 @@
<el-row>
<el-col style="width: 25%">
<el-form-item>
<el-input v-model="form.shp.shp_postcode" auto-complete="off" placeholder="邮编"></el-input>
<el-input minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()"
v-model="form.shp.shp_postcode" auto-complete="off" placeholder="邮编"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 25%;margin-left: 10px">
<el-form-item>
<el-input @keyup.native="form.shp.shp_loc_place=form.shp.shp_loc_place.replace(/[^A-Z0-9_\s]/g,'')" v-model="form.shp.shp_loc_place" auto-complete="off" placeholder="城市"></el-input>
<el-input minlength="1" maxlength="17" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="form.shp.shp_loc_place=form.shp.shp_loc_place.replace(/[^A-Za-z0-9_\s]/g,'')"
v-model="form.shp.shp_loc_place" auto-complete="off" placeholder="城市"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 25%;margin-left: 10px">
<el-form-item>
<el-input v-model="form.shp.shp_country" auto-complete="off" placeholder="国家代码"></el-input>
<el-input minlength="2" maxlength="2" onkeyup="this.value=this.value.toUpperCase()"
v-model="form.shp.shp_country" auto-complete="off" placeholder="国家代码"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col style="width: 80%">
<el-form-item>
<el-input @keyup.native="form.shp.shp_adr=form.shp.shp_adr.replace(/[^A-Z0-9_\s]/g,'')" v-model="form.shp.shp_adr" auto-complete="off" placeholder="地址"></el-input>
<el-input minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="form.shp.shp_adr=form.shp.shp_adr.replace(/[^A-Za-z0-9_\s]/g,'')"
v-model="form.shp.shp_adr" auto-complete="off" placeholder="地址"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row style="margin-bottom: -5px">
<el-col style="width: 80%">
<el-form-item>
<el-input @keyup.native="shp_oci.oci_csrc_info=shp_oci.oci_csrc_info.replace(/[^A-Z0-9_\s]/g,'')" v-model="shp_oci.oci_csrc_info" auto-complete="off" placeholder="发货人AEO"></el-input>
<el-input minlength="1" maxlength="65" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="shp_oci.oci_csrc_info=shp_oci.oci_csrc_info.replace(/[^A-Za-z0-9_\s]/g,'')"
v-model="shp_oci.oci_csrc_info" auto-complete="off" placeholder="发货人AEO"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -118,43 +128,55 @@
<el-row>
<el-col style="width: 38%">
<el-form-item>
<el-input @keyup.native="form.cne.cne_name=form.cne.cne_name.replace(/[^A-Z0-9_\s]/g,'')" v-model="form.cne.cne_name" auto-complete="off" placeholder="名称" size="mini"></el-input>
<el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="form.cne.cne_name=form.cne.cne_name.replace(/[^A-Za-z0-9_\s]/g,'')"
v-model="form.cne.cne_name" auto-complete="off" placeholder="名称" size="mini"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 40%;margin-left: 5px">
<el-form-item>
<el-input @keyup.native="cne_contact.contact_number=cne_contact.contact_number.replace(/[^A-Z0-9_\s]/g,'')" v-model="cne_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
<el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="cne_contact.contact_number=cne_contact.contact_number.replace(/[^0-9-_\s]/g,'')"
v-model="cne_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col style="width: 25%">
<el-form-item>
<el-input v-model="form.cne.cne_postcode" auto-complete="off" placeholder="邮编"></el-input>
<el-input minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()"
v-model="form.cne.cne_postcode" auto-complete="off" placeholder="邮编"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 25%;margin-left: 10px">
<el-form-item>
<el-input @keyup.native="form.cne.cne_loc_place=form.cne.cne_loc_place.replace(/[^A-Z0-9_\s]/g,'')" v-model="form.cne.cne_loc_place" auto-complete="off" placeholder="城市"></el-input>
<el-input minlength="1" maxlength="17" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="form.cne.cne_loc_place=form.cne.cne_loc_place.replace(/[^A-Za-z0-9_\s]/g,'')"
v-model="form.cne.cne_loc_place" auto-complete="off" placeholder="城市"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 25%;margin-left: 10px">
<el-form-item>
<el-input v-model="form.cne.cne_country" auto-complete="off" placeholder="国家代码"></el-input>
<el-input minlength="2" maxlength="2" onkeyup="this.value=this.value.toUpperCase()"
v-model="form.cne.cne_country" auto-complete="off" placeholder="国家代码"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col style="width: 80%">
<el-form-item>
<el-input @keyup.native="form.cne.cne_adr=form.cne.cne_adr.replace(/[^A-Z0-9_\s]/g,'')" v-model="form.cne.cne_adr" auto-complete="off" placeholder="地址"></el-input>
<el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="form.cne.cne_adr=form.cne.cne_adr.replace(/[^A-Z0-9_\s]/g,'')"
v-model="form.cne.cne_adr" auto-complete="off" placeholder="地址"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row style="margin-bottom: -5px">
<el-col style="width: 80%">
<el-form-item>
<el-input @keyup.native="cne_oci.oci_csrc_info=cne_oci.oci_csrc_info.replace(/[^A-Z0-9_\s]/g,'')" v-model="cne_oci.oci_csrc_info" auto-complete="off" placeholder="收货人AEO"></el-input>
<el-input minlength="1" maxlength="65" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="cne_oci.oci_csrc_info=cne_oci.oci_csrc_info.replace(/[^A-Za-z0-9_\s]/g,'')"
v-model="cne_oci.oci_csrc_info" auto-complete="off" placeholder="收货人AEO"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -191,7 +213,8 @@
<el-row style="margin-bottom: -5px">
<el-col style="width: 90%">
<el-form-item>
<el-input v-model="acc_info.acc_info" auto-complete="off" placeholder="财务信息内容" size="mini"></el-input>
<el-input minlength="1" maxlength="34" onkeyup="this.value=this.value.toUpperCase()"
v-model="acc_info.acc_info" auto-complete="off" placeholder="财务信息内容" size="mini"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -257,7 +280,9 @@
<el-row style="margin-bottom: -5px">
<el-col style="width: 95%">
<el-form-item>
<el-input v-model="form.cvd.cvd_currency_code" auto-complete="off" placeholder="货币单位" size="mini"></el-input>
<el-input minlength="3" maxlength="3" onkeyup="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>
</el-col>
</el-row>
... ... @@ -317,7 +342,9 @@
<el-row>
<el-col style="width: 95%">
<el-form-item>
<el-input v-model="form.bill.destination" auto-complete="off" placeholder="到达站" size="mini"></el-input>
<el-input minlength="3" maxlength="3" onkeyup="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"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -329,7 +356,9 @@
<el-row style="margin-bottom: -5px">
<el-col style="width: 95%">
<el-form-item>
<el-input v-model="form.flt.cariier" auto-complete="off" placeholder="承运人" size="mini"></el-input>
<el-input minlength="2" maxlength="2" onkeyup="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>
</el-col>
</el-row>
... ... @@ -609,7 +638,9 @@ Handling Information
<el-row style="margin-bottom: -5px">
<el-col style="width: 95%">
<el-form-item>
<el-input v-model="form.rtd.rtd_goods_DES" auto-complete="off" placeholder="货物品名" size="mini"></el-input>
<el-input minlength="1" maxlength="20" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="form.rtd.rtd_goods_DES.replace(/[^A-Za-z0-9\s]/g,'')"
v-model="form.rtd.rtd_goods_DES" auto-complete="off" placeholder="货物品名" size="mini"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -823,12 +854,14 @@ Handling Information
</el-col>
<el-col :span="5" style="margin-left: 10px">
<el-form-item>
<el-input v-model="form.isu.isu_place_or_airport_code" auto-complete="off" placeholder="签署地址" size="mini"></el-input>
<el-input minlength="1" maxlength="17" onkeyup="this.value=this.value.toUpperCase()"
v-model="form.isu.isu_place_or_airport_code" auto-complete="off" placeholder="签署地址" size="mini"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" style="margin-left: 10px">
<el-form-item>
<el-input v-model="form.isu.isu_signature" auto-complete="off" placeholder="签署人或其代理人签字,盖章" size="mini"></el-input>
<el-input minlength="0" maxlength="20" onkeyup="this.value=this.value.toUpperCase()"
v-model="form.isu.isu_signature" auto-complete="off" placeholder="签署人或其代理人签字,盖章" size="mini"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -896,19 +929,23 @@ Handling Information
</el-row>
<el-row>
<el-col :span="4">
<el-form-item label-width="30px" label=" " prop="fhl.waybillNum">
<el-form-item label-width="30px" prop="fhl.waybillNum">
<el-input v-model="addForm.fhl.waybillNum" auto-complete="off" placeholder="主运单号(必填)"
@blur="blur"></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label-width="40px" label=" " prop="hbs.hbs_serial_number">
<el-input v-model="addForm.hbs.hbs_serial_number" auto-complete="off" placeholder="分运单号(必填)"></el-input>
<el-form-item label-width="40px" prop="hbs.hbs_serial_number">
<el-input v-model="addForm.hbs.hbs_serial_number" auto-complete="off" placeholder="分运单号(必填)"
onkeyup="this.value=this.value.toUpperCase()"
></el-input>
</el-form-item>
</el-col>
<el-col style="margin-left: 30px" :span="2">
<el-form-item>
<el-input v-model="addForm.hbs.hbs_origin" auto-complete="off" placeholder="起始站" size="mini"></el-input>
<el-form-item prop="hbs.hbs_origin">
<el-input v-model="addForm.hbs.hbs_origin" auto-complete="off" placeholder="起始站" size="mini"
minlength="3" maxlength="3" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.hbs.hbs_origin.replace(/[^A-Za-z]/g,'')"></el-input>
</el-form-item>
</el-col>
<el-col style="margin-left: 30px" :span="2">
... ... @@ -926,12 +963,14 @@ Handling Information
<el-row>
<el-col style="width: 38%">
<el-form-item label=" " prop="shp.shp_nam_name">
<el-input @keyup.native="addForm.shp.shp_nam_name=addForm.shp.shp_nam_name.replace(/[^A-Z0-9_\s]/g,'')" v-model="addForm.shp.shp_nam_name" auto-complete="off" placeholder="名称" size="mini"></el-input>
<el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.shp.shp_nam_name=addForm.shp.shp_nam_name.replace(/[^A-Za-z0-9_\s]/g,'')" v-model="addForm.shp.shp_nam_name" auto-complete="off" placeholder="名称" size="mini"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 40%;margin-left:5px">
<el-form-item>
<el-input @keyup.native="addForm.shp.shp_detail_number=addForm.shp.shp_detail_number.replace(/[^A-Z0-9_\s]/g,'')" v-model="addForm.shp.shp_detail_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
<el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.shp.shp_detail_number=addForm.shp.shp_detail_number.replace(/[^0-9-_\s]/g,'')" v-model="addForm.shp.shp_detail_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
<!-- <el-select v-model="addForm.shp.shp_detail_number" placeholder="电话/传真">-->
<!-- <el-option label="电话" value="2"></el-option>-->
<!-- <el-option label="传真" value="3"></el-option>-->
... ... @@ -942,31 +981,40 @@ Handling Information
<el-row>
<el-col style="width: 25%">
<el-form-item>
<el-input v-model="addForm.shp.shp_location_post" auto-complete="off" placeholder="邮编"></el-input>
<el-input minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()"
v-model="addForm.shp.shp_location_post" auto-complete="off" placeholder="邮编"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 25%;margin-left: 10px">
<el-form-item>
<el-input @keyup.native="addForm.shp.shp_loc_place=addForm.shp.shp_loc_place.replace(/[^A-Z0-9_\s]/g,'')" v-model="addForm.shp.shp_loc_place" auto-complete="off" placeholder="城市"></el-input>
<el-input minlength="1" maxlength="17" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.shp.shp_loc_place=addForm.shp.shp_loc_place.replace(/[^A-Za-z0-9_\s]/g,'')"
v-model="addForm.shp.shp_loc_place" auto-complete="off" placeholder="城市"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 25%;margin-left: 10px">
<el-form-item>
<el-input v-model="addForm.shp.shp_location_iso" auto-complete="off" placeholder="国家代码"></el-input>
<el-input minlength="2" maxlength="2" onkeyup="this.value=this.value.toUpperCase()"
v-model="addForm.shp.shp_location_iso" auto-complete="off" placeholder="国家代码"
@keyup.native="addForm.shp.shp_location_iso.replace(/[^A-Za-z]/g,'')"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col style="width: 80%">
<el-form-item>
<el-input @keyup.native="addForm.shp.shp_adr_street=addForm.shp.shp_adr_street.replace(/[^A-Z0-9_\s]/g,'')" v-model="addForm.shp.shp_adr_street" auto-complete="off" placeholder="地址"></el-input>
<el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.shp.shp_adr_street=addForm.shp.shp_adr_street.replace(/[^A-Za-z0-9_\s]/g,'')"
v-model="addForm.shp.shp_adr_street" auto-complete="off" placeholder="地址"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row style="margin-bottom: -5px">
<el-col style="width: 80%">
<el-form-item>
<el-input @keyup.native="shp_aeo.oci_supplementary=shp_aeo.oci_supplementary.replace(/[^A-Z0-9_\s]/g,'')" v-model="shp_aeo.oci_supplementary" auto-complete="off" placeholder="发货人AEO"></el-input>
<el-input minlength="1" maxlength="65" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="shp_aeo.oci_supplementary=shp_aeo.oci_supplementary.replace(/[^A-Za-z0-9_\s]/g,'')"
v-model="shp_aeo.oci_supplementary" auto-complete="off" placeholder="发货人AEO"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -1010,12 +1058,14 @@ Handling Information
<el-row>
<el-col style="width: 38%">
<el-form-item>
<el-input @keyup.native="addForm.cne.cne_nam_name=addForm.cne.cne_nam_name.replace(/[^A-Z0-9_\s]/g,'')" v-model="addForm.cne.cne_nam_name" auto-complete="off" placeholder="名称" size="mini"></el-input>
<el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.cne.cne_nam_name=addForm.cne.cne_nam_name.replace(/[^A-Za-z0-9_\s]/g,'')" v-model="addForm.cne.cne_nam_name" auto-complete="off" placeholder="名称" size="mini"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 40%;margin-left: 5px">
<el-form-item>
<el-input @keyup.native="addForm.cne.cne_detail_number=addForm.cne.cne_detail_number.replace(/[^A-Z0-9_\s]/g,'')" v-model="addForm.cne.cne_detail_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
<el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.cne.cne_detail_number=addForm.cne.cne_detail_number.replace(/[^0-9-_\s]/g,'')" v-model="addForm.cne.cne_detail_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
<!-- <el-select v-model="addForm.cne.cne_detail_number" placeholder="电话/传真">-->
<!-- <el-option label="电话" value="2"></el-option>-->
<!-- <el-option label="传真" value="3"></el-option>-->
... ... @@ -1026,31 +1076,37 @@ Handling Information
<el-row>
<el-col style="width: 25%">
<el-form-item>
<el-input v-model="addForm.cne.cne_location_post" auto-complete="off" placeholder="邮编"></el-input>
<el-input minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()"
v-model="addForm.cne.cne_location_post" auto-complete="off" placeholder="邮编"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 25%;margin-left: 10px">
<el-form-item>
<el-input @keyup.native="addForm.cne.cne_loc_place=addForm.cne.cne_loc_place.replace(/[^A-Z0-9_\s]/g,'')" v-model="addForm.cne.cne_loc_place" auto-complete="off" placeholder="城市"></el-input>
<el-input minlength="1" maxlength="17" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.cne.cne_loc_place=addForm.cne.cne_loc_place.replace(/[^A-Z0-9_\s]/g,'')" v-model="addForm.cne.cne_loc_place" auto-complete="off" placeholder="城市"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 25%;margin-left: 10px">
<el-form-item>
<el-input v-model="addForm.cne.cne_location_iso" auto-complete="off" placeholder="国家代码"></el-input>
<el-input minlength="2" maxlength="2" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.cne.cne_location_iso.replace(/[^A-Za-z]/g,'')"
v-model="addForm.cne.cne_location_iso" auto-complete="off" placeholder="国家代码"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col style="width: 80%">
<el-form-item>
<el-input @keyup.native="addForm.cne.cne_adr_street=addForm.cne.cne_adr_street.replace(/[^A-Z0-9_\s]/g,'')" v-model="addForm.cne.cne_adr_street" auto-complete="off" placeholder="地址"></el-input>
<el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.cne.cne_adr_street=addForm.cne.cne_adr_street.replace(/[^A-Z0-9_\s]/g,'')" v-model="addForm.cne.cne_adr_street" auto-complete="off" placeholder="地址"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row style="margin-bottom: -5px">
<el-col style="width: 80%">
<el-form-item>
<el-input @keyup.native="cne_aeo.oci_supplementary=cne_aeo.oci_supplementary.replace(/[^A-Z0-9_\s]/g,'')" v-model="cne_aeo.oci_supplementary" auto-complete="off" placeholder="收货人AEO"></el-input>
<el-input minlength="1" maxlength="65" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="cne_aeo.oci_supplementary=cne_aeo.oci_supplementary.replace(/[^A-Z0-9_\s]/g,'')" v-model="cne_aeo.oci_supplementary" auto-complete="off" placeholder="收货人AEO"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -1153,7 +1209,9 @@ Handling Information
<el-row style="margin-bottom: -5px">
<el-col style="width: 95%">
<el-form-item>
<el-input v-model="addForm.cvd.cvd_currency_code" auto-complete="off" placeholder="货币单位" size="mini"></el-input>
<el-input minlength="3" maxlength="3" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.cvd.cvd_currency_code.replace(/[^A-Za-z]/g,'')"
v-model="addForm.cvd.cvd_currency_code" auto-complete="off" placeholder="货币单位" size="mini"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -1213,7 +1271,9 @@ Handling Information
<el-row>
<el-col style="width: 95%">
<el-form-item>
<el-input v-model="addForm.hbs.hbs_destination" auto-complete="off" placeholder="到达站" size="mini"></el-input>
<el-input minlength="3" maxlength="3" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.hbs.hbs_destination.replace(/[^A-Za-z]/g,'')"
v-model="addForm.hbs.hbs_destination" auto-complete="off" placeholder="到达站" size="mini"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -1225,7 +1285,7 @@ Handling Information
<el-row style="margin-bottom: -5px">
<el-col style="width: 95%">
<el-form-item>
<el-input auto-complete="off" placeholder="承运人" size="mini"></el-input>
<el-input disabled auto-complete="off" placeholder="承运人" size="mini"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -1311,7 +1371,7 @@ Handling Information
<el-row style="margin-bottom: -5px">
<el-col style="width: 95%">
<el-form-item>
<el-input auto-complete="off" placeholder="目的地机场" size="mini"></el-input>
<el-input disabled auto-complete="off" placeholder="目的地机场" size="mini"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -1323,12 +1383,12 @@ Handling Information
<el-row>
<el-col style="width: 38%">
<el-form-item>
<el-input auto-complete="off" placeholder="航班号" size="mini"></el-input>
<el-input disabled auto-complete="off" placeholder="航班号" size="mini"></el-input>
</el-form-item>
</el-col>
<el-col style="width: 58%;margin-left: 5px">
<el-form-item>
<el-date-picker
<el-date-picker disabled
type="date" style="width: auto"
size="mini"
format="dd"
... ... @@ -1368,7 +1428,7 @@ Handling Information
<el-row style="margin-bottom: -2px">
<el-col style="width: 100%">
<el-form-item>
<el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4}"
<el-input disabled type="textarea" :autosize="{ minRows: 2, maxRows: 4}"
auto-complete="off" placeholder="处理信息" size="mini"></el-input>
</el-form-item>
</el-col>
... ... @@ -1504,7 +1564,9 @@ Handling Information
<el-row style="margin-bottom: -5px">
<el-col style="width: 95%">
<el-form-item>
<el-input v-model="addForm.hbs.hbs_manifest_description" auto-complete="off" placeholder="货物品名" size="mini"></el-input>
<el-input minlength="1" maxlength="20" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="addForm.hbs.hbs_manifest_description.replace(/[^A-Za-z0-9\s]/g,'')"
v-model="addForm.hbs.hbs_manifest_description" auto-complete="off" placeholder="货物品名" size="mini"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -2111,6 +2173,11 @@ Handling Information
hbs:{
hbs_serial_number: [
{ required: true, message: '请输入分运单号', trigger: 'blur' },
{ min: 1, max: 12, message: '长度是1-13个字符', trigger: 'blur' }
],
hbs_origin: [
{ required: true, message: '请输入起始站', trigger: 'blur' },
{ min: 3, max: 3, message: '长度是3个字符', trigger: 'blur' }
],
},
},
... ...