正在显示
1 个修改的文件
包含
115 行增加
和
48 行删除
@@ -35,12 +35,14 @@ | @@ -35,12 +35,14 @@ | ||
35 | <el-row> | 35 | <el-row> |
36 | <el-col style="width: 38%"> | 36 | <el-col style="width: 38%"> |
37 | <el-form-item> | 37 | <el-form-item> |
38 | - <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> | 38 | + <el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()" |
39 | + @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> | ||
39 | </el-form-item> | 40 | </el-form-item> |
40 | </el-col> | 41 | </el-col> |
41 | <el-col style="width: 40%;margin-left:5px"> | 42 | <el-col style="width: 40%;margin-left:5px"> |
42 | <el-form-item> | 43 | <el-form-item> |
43 | - <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> | 44 | + <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()" |
45 | + @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> | ||
44 | <!-- <el-select v-model="form.shp.shp_detail_number" placeholder="电话/传真">--> | 46 | <!-- <el-select v-model="form.shp.shp_detail_number" placeholder="电话/传真">--> |
45 | <!-- <el-option label="电话" value="2"></el-option>--> | 47 | <!-- <el-option label="电话" value="2"></el-option>--> |
46 | <!-- <el-option label="传真" value="3"></el-option>--> | 48 | <!-- <el-option label="传真" value="3"></el-option>--> |
@@ -51,31 +53,39 @@ | @@ -51,31 +53,39 @@ | ||
51 | <el-row> | 53 | <el-row> |
52 | <el-col style="width: 25%"> | 54 | <el-col style="width: 25%"> |
53 | <el-form-item> | 55 | <el-form-item> |
54 | - <el-input v-model="form.shp.shp_postcode" auto-complete="off" placeholder="邮编"></el-input> | 56 | + <el-input minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()" |
57 | + v-model="form.shp.shp_postcode" auto-complete="off" placeholder="邮编"></el-input> | ||
55 | </el-form-item> | 58 | </el-form-item> |
56 | </el-col> | 59 | </el-col> |
57 | <el-col style="width: 25%;margin-left: 10px"> | 60 | <el-col style="width: 25%;margin-left: 10px"> |
58 | <el-form-item> | 61 | <el-form-item> |
59 | - <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> | 62 | + <el-input minlength="1" maxlength="17" onkeyup="this.value=this.value.toUpperCase()" |
63 | + @keyup.native="form.shp.shp_loc_place=form.shp.shp_loc_place.replace(/[^A-Za-z0-9_\s]/g,'')" | ||
64 | + v-model="form.shp.shp_loc_place" auto-complete="off" placeholder="城市"></el-input> | ||
60 | </el-form-item> | 65 | </el-form-item> |
61 | </el-col> | 66 | </el-col> |
62 | <el-col style="width: 25%;margin-left: 10px"> | 67 | <el-col style="width: 25%;margin-left: 10px"> |
63 | <el-form-item> | 68 | <el-form-item> |
64 | - <el-input v-model="form.shp.shp_country" auto-complete="off" placeholder="国家代码"></el-input> | 69 | + <el-input minlength="2" maxlength="2" onkeyup="this.value=this.value.toUpperCase()" |
70 | + v-model="form.shp.shp_country" auto-complete="off" placeholder="国家代码"></el-input> | ||
65 | </el-form-item> | 71 | </el-form-item> |
66 | </el-col> | 72 | </el-col> |
67 | </el-row> | 73 | </el-row> |
68 | <el-row> | 74 | <el-row> |
69 | <el-col style="width: 80%"> | 75 | <el-col style="width: 80%"> |
70 | <el-form-item> | 76 | <el-form-item> |
71 | - <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> | 77 | + <el-input minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()" |
78 | + @keyup.native="form.shp.shp_adr=form.shp.shp_adr.replace(/[^A-Za-z0-9_\s]/g,'')" | ||
79 | + v-model="form.shp.shp_adr" auto-complete="off" placeholder="地址"></el-input> | ||
72 | </el-form-item> | 80 | </el-form-item> |
73 | </el-col> | 81 | </el-col> |
74 | </el-row> | 82 | </el-row> |
75 | <el-row style="margin-bottom: -5px"> | 83 | <el-row style="margin-bottom: -5px"> |
76 | <el-col style="width: 80%"> | 84 | <el-col style="width: 80%"> |
77 | <el-form-item> | 85 | <el-form-item> |
78 | - <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> | 86 | + <el-input minlength="1" maxlength="65" onkeyup="this.value=this.value.toUpperCase()" |
87 | + @keyup.native="shp_oci.oci_csrc_info=shp_oci.oci_csrc_info.replace(/[^A-Za-z0-9_\s]/g,'')" | ||
88 | + v-model="shp_oci.oci_csrc_info" auto-complete="off" placeholder="发货人AEO"></el-input> | ||
79 | </el-form-item> | 89 | </el-form-item> |
80 | </el-col> | 90 | </el-col> |
81 | </el-row> | 91 | </el-row> |
@@ -118,43 +128,55 @@ | @@ -118,43 +128,55 @@ | ||
118 | <el-row> | 128 | <el-row> |
119 | <el-col style="width: 38%"> | 129 | <el-col style="width: 38%"> |
120 | <el-form-item> | 130 | <el-form-item> |
121 | - <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> | 131 | + <el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()" |
132 | + @keyup.native="form.cne.cne_name=form.cne.cne_name.replace(/[^A-Za-z0-9_\s]/g,'')" | ||
133 | + v-model="form.cne.cne_name" auto-complete="off" placeholder="名称" size="mini"></el-input> | ||
122 | </el-form-item> | 134 | </el-form-item> |
123 | </el-col> | 135 | </el-col> |
124 | <el-col style="width: 40%;margin-left: 5px"> | 136 | <el-col style="width: 40%;margin-left: 5px"> |
125 | <el-form-item> | 137 | <el-form-item> |
126 | - <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> | 138 | + <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()" |
139 | + @keyup.native="cne_contact.contact_number=cne_contact.contact_number.replace(/[^0-9-_\s]/g,'')" | ||
140 | + v-model="cne_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input> | ||
127 | </el-form-item> | 141 | </el-form-item> |
128 | </el-col> | 142 | </el-col> |
129 | </el-row> | 143 | </el-row> |
130 | <el-row> | 144 | <el-row> |
131 | <el-col style="width: 25%"> | 145 | <el-col style="width: 25%"> |
132 | <el-form-item> | 146 | <el-form-item> |
133 | - <el-input v-model="form.cne.cne_postcode" auto-complete="off" placeholder="邮编"></el-input> | 147 | + <el-input minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()" |
148 | + v-model="form.cne.cne_postcode" auto-complete="off" placeholder="邮编"></el-input> | ||
134 | </el-form-item> | 149 | </el-form-item> |
135 | </el-col> | 150 | </el-col> |
136 | <el-col style="width: 25%;margin-left: 10px"> | 151 | <el-col style="width: 25%;margin-left: 10px"> |
137 | <el-form-item> | 152 | <el-form-item> |
138 | - <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> | 153 | + <el-input minlength="1" maxlength="17" onkeyup="this.value=this.value.toUpperCase()" |
154 | + @keyup.native="form.cne.cne_loc_place=form.cne.cne_loc_place.replace(/[^A-Za-z0-9_\s]/g,'')" | ||
155 | + v-model="form.cne.cne_loc_place" auto-complete="off" placeholder="城市"></el-input> | ||
139 | </el-form-item> | 156 | </el-form-item> |
140 | </el-col> | 157 | </el-col> |
141 | <el-col style="width: 25%;margin-left: 10px"> | 158 | <el-col style="width: 25%;margin-left: 10px"> |
142 | <el-form-item> | 159 | <el-form-item> |
143 | - <el-input v-model="form.cne.cne_country" auto-complete="off" placeholder="国家代码"></el-input> | 160 | + <el-input minlength="2" maxlength="2" onkeyup="this.value=this.value.toUpperCase()" |
161 | + v-model="form.cne.cne_country" auto-complete="off" placeholder="国家代码"></el-input> | ||
144 | </el-form-item> | 162 | </el-form-item> |
145 | </el-col> | 163 | </el-col> |
146 | </el-row> | 164 | </el-row> |
147 | <el-row> | 165 | <el-row> |
148 | <el-col style="width: 80%"> | 166 | <el-col style="width: 80%"> |
149 | <el-form-item> | 167 | <el-form-item> |
150 | - <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> | 168 | + <el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()" |
169 | + @keyup.native="form.cne.cne_adr=form.cne.cne_adr.replace(/[^A-Z0-9_\s]/g,'')" | ||
170 | + v-model="form.cne.cne_adr" auto-complete="off" placeholder="地址"></el-input> | ||
151 | </el-form-item> | 171 | </el-form-item> |
152 | </el-col> | 172 | </el-col> |
153 | </el-row> | 173 | </el-row> |
154 | <el-row style="margin-bottom: -5px"> | 174 | <el-row style="margin-bottom: -5px"> |
155 | <el-col style="width: 80%"> | 175 | <el-col style="width: 80%"> |
156 | <el-form-item> | 176 | <el-form-item> |
157 | - <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> | 177 | + <el-input minlength="1" maxlength="65" onkeyup="this.value=this.value.toUpperCase()" |
178 | + @keyup.native="cne_oci.oci_csrc_info=cne_oci.oci_csrc_info.replace(/[^A-Za-z0-9_\s]/g,'')" | ||
179 | + v-model="cne_oci.oci_csrc_info" auto-complete="off" placeholder="收货人AEO"></el-input> | ||
158 | </el-form-item> | 180 | </el-form-item> |
159 | </el-col> | 181 | </el-col> |
160 | </el-row> | 182 | </el-row> |
@@ -191,7 +213,8 @@ | @@ -191,7 +213,8 @@ | ||
191 | <el-row style="margin-bottom: -5px"> | 213 | <el-row style="margin-bottom: -5px"> |
192 | <el-col style="width: 90%"> | 214 | <el-col style="width: 90%"> |
193 | <el-form-item> | 215 | <el-form-item> |
194 | - <el-input v-model="acc_info.acc_info" auto-complete="off" placeholder="财务信息内容" size="mini"></el-input> | 216 | + <el-input minlength="1" maxlength="34" onkeyup="this.value=this.value.toUpperCase()" |
217 | + v-model="acc_info.acc_info" auto-complete="off" placeholder="财务信息内容" size="mini"></el-input> | ||
195 | </el-form-item> | 218 | </el-form-item> |
196 | </el-col> | 219 | </el-col> |
197 | </el-row> | 220 | </el-row> |
@@ -257,7 +280,9 @@ | @@ -257,7 +280,9 @@ | ||
257 | <el-row style="margin-bottom: -5px"> | 280 | <el-row style="margin-bottom: -5px"> |
258 | <el-col style="width: 95%"> | 281 | <el-col style="width: 95%"> |
259 | <el-form-item> | 282 | <el-form-item> |
260 | - <el-input v-model="form.cvd.cvd_currency_code" auto-complete="off" placeholder="货币单位" size="mini"></el-input> | 283 | + <el-input minlength="3" maxlength="3" onkeyup="this.value=this.value.toUpperCase()" |
284 | + @keyup.native="form.cvd.cvd_currency_code.replace(/[^A-Za-z]/g,'')" | ||
285 | + v-model="form.cvd.cvd_currency_code" auto-complete="off" placeholder="货币单位" size="mini"></el-input> | ||
261 | </el-form-item> | 286 | </el-form-item> |
262 | </el-col> | 287 | </el-col> |
263 | </el-row> | 288 | </el-row> |
@@ -317,7 +342,9 @@ | @@ -317,7 +342,9 @@ | ||
317 | <el-row> | 342 | <el-row> |
318 | <el-col style="width: 95%"> | 343 | <el-col style="width: 95%"> |
319 | <el-form-item> | 344 | <el-form-item> |
320 | - <el-input v-model="form.bill.destination" auto-complete="off" placeholder="到达站" size="mini"></el-input> | 345 | + <el-input minlength="3" maxlength="3" onkeyup="this.value=this.value.toUpperCase()" |
346 | + @keyup.native="form.bill.destination.replace(/[^A-Za-z]/g,'')" | ||
347 | + v-model="form.bill.destination" auto-complete="off" placeholder="到达站" size="mini"></el-input> | ||
321 | </el-form-item> | 348 | </el-form-item> |
322 | </el-col> | 349 | </el-col> |
323 | </el-row> | 350 | </el-row> |
@@ -329,7 +356,9 @@ | @@ -329,7 +356,9 @@ | ||
329 | <el-row style="margin-bottom: -5px"> | 356 | <el-row style="margin-bottom: -5px"> |
330 | <el-col style="width: 95%"> | 357 | <el-col style="width: 95%"> |
331 | <el-form-item> | 358 | <el-form-item> |
332 | - <el-input v-model="form.flt.cariier" auto-complete="off" placeholder="承运人" size="mini"></el-input> | 359 | + <el-input minlength="2" maxlength="2" onkeyup="this.value=this.value.toUpperCase()" |
360 | + @keyup.native="form.flt.cariier.replace(/[^A-Za-z]/g,'')" | ||
361 | + v-model="form.flt.cariier" auto-complete="off" placeholder="承运人" size="mini"></el-input> | ||
333 | </el-form-item> | 362 | </el-form-item> |
334 | </el-col> | 363 | </el-col> |
335 | </el-row> | 364 | </el-row> |
@@ -609,7 +638,9 @@ Handling Information | @@ -609,7 +638,9 @@ Handling Information | ||
609 | <el-row style="margin-bottom: -5px"> | 638 | <el-row style="margin-bottom: -5px"> |
610 | <el-col style="width: 95%"> | 639 | <el-col style="width: 95%"> |
611 | <el-form-item> | 640 | <el-form-item> |
612 | - <el-input v-model="form.rtd.rtd_goods_DES" auto-complete="off" placeholder="货物品名" size="mini"></el-input> | 641 | + <el-input minlength="1" maxlength="20" onkeyup="this.value=this.value.toUpperCase()" |
642 | + @keyup.native="form.rtd.rtd_goods_DES.replace(/[^A-Za-z0-9\s]/g,'')" | ||
643 | + v-model="form.rtd.rtd_goods_DES" auto-complete="off" placeholder="货物品名" size="mini"></el-input> | ||
613 | </el-form-item> | 644 | </el-form-item> |
614 | </el-col> | 645 | </el-col> |
615 | </el-row> | 646 | </el-row> |
@@ -823,12 +854,14 @@ Handling Information | @@ -823,12 +854,14 @@ Handling Information | ||
823 | </el-col> | 854 | </el-col> |
824 | <el-col :span="5" style="margin-left: 10px"> | 855 | <el-col :span="5" style="margin-left: 10px"> |
825 | <el-form-item> | 856 | <el-form-item> |
826 | - <el-input v-model="form.isu.isu_place_or_airport_code" auto-complete="off" placeholder="签署地址" size="mini"></el-input> | 857 | + <el-input minlength="1" maxlength="17" onkeyup="this.value=this.value.toUpperCase()" |
858 | + v-model="form.isu.isu_place_or_airport_code" auto-complete="off" placeholder="签署地址" size="mini"></el-input> | ||
827 | </el-form-item> | 859 | </el-form-item> |
828 | </el-col> | 860 | </el-col> |
829 | <el-col :span="12" style="margin-left: 10px"> | 861 | <el-col :span="12" style="margin-left: 10px"> |
830 | <el-form-item> | 862 | <el-form-item> |
831 | - <el-input v-model="form.isu.isu_signature" auto-complete="off" placeholder="签署人或其代理人签字,盖章" size="mini"></el-input> | 863 | + <el-input minlength="0" maxlength="20" onkeyup="this.value=this.value.toUpperCase()" |
864 | + v-model="form.isu.isu_signature" auto-complete="off" placeholder="签署人或其代理人签字,盖章" size="mini"></el-input> | ||
832 | </el-form-item> | 865 | </el-form-item> |
833 | </el-col> | 866 | </el-col> |
834 | </el-row> | 867 | </el-row> |
@@ -896,19 +929,23 @@ Handling Information | @@ -896,19 +929,23 @@ Handling Information | ||
896 | </el-row> | 929 | </el-row> |
897 | <el-row> | 930 | <el-row> |
898 | <el-col :span="4"> | 931 | <el-col :span="4"> |
899 | - <el-form-item label-width="30px" label=" " prop="fhl.waybillNum"> | 932 | + <el-form-item label-width="30px" prop="fhl.waybillNum"> |
900 | <el-input v-model="addForm.fhl.waybillNum" auto-complete="off" placeholder="主运单号(必填)" | 933 | <el-input v-model="addForm.fhl.waybillNum" auto-complete="off" placeholder="主运单号(必填)" |
901 | @blur="blur"></el-input> | 934 | @blur="blur"></el-input> |
902 | </el-form-item> | 935 | </el-form-item> |
903 | </el-col> | 936 | </el-col> |
904 | <el-col :span="4"> | 937 | <el-col :span="4"> |
905 | - <el-form-item label-width="40px" label=" " prop="hbs.hbs_serial_number"> | ||
906 | - <el-input v-model="addForm.hbs.hbs_serial_number" auto-complete="off" placeholder="分运单号(必填)"></el-input> | 938 | + <el-form-item label-width="40px" prop="hbs.hbs_serial_number"> |
939 | + <el-input v-model="addForm.hbs.hbs_serial_number" auto-complete="off" placeholder="分运单号(必填)" | ||
940 | + onkeyup="this.value=this.value.toUpperCase()" | ||
941 | + ></el-input> | ||
907 | </el-form-item> | 942 | </el-form-item> |
908 | </el-col> | 943 | </el-col> |
909 | <el-col style="margin-left: 30px" :span="2"> | 944 | <el-col style="margin-left: 30px" :span="2"> |
910 | - <el-form-item> | ||
911 | - <el-input v-model="addForm.hbs.hbs_origin" auto-complete="off" placeholder="起始站" size="mini"></el-input> | 945 | + <el-form-item prop="hbs.hbs_origin"> |
946 | + <el-input v-model="addForm.hbs.hbs_origin" auto-complete="off" placeholder="起始站" size="mini" | ||
947 | + minlength="3" maxlength="3" onkeyup="this.value=this.value.toUpperCase()" | ||
948 | + @keyup.native="addForm.hbs.hbs_origin.replace(/[^A-Za-z]/g,'')"></el-input> | ||
912 | </el-form-item> | 949 | </el-form-item> |
913 | </el-col> | 950 | </el-col> |
914 | <el-col style="margin-left: 30px" :span="2"> | 951 | <el-col style="margin-left: 30px" :span="2"> |
@@ -926,12 +963,14 @@ Handling Information | @@ -926,12 +963,14 @@ Handling Information | ||
926 | <el-row> | 963 | <el-row> |
927 | <el-col style="width: 38%"> | 964 | <el-col style="width: 38%"> |
928 | <el-form-item label=" " prop="shp.shp_nam_name"> | 965 | <el-form-item label=" " prop="shp.shp_nam_name"> |
929 | - <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> | 966 | + <el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()" |
967 | + @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> | ||
930 | </el-form-item> | 968 | </el-form-item> |
931 | </el-col> | 969 | </el-col> |
932 | <el-col style="width: 40%;margin-left:5px"> | 970 | <el-col style="width: 40%;margin-left:5px"> |
933 | <el-form-item> | 971 | <el-form-item> |
934 | - <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> | 972 | + <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()" |
973 | + @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> | ||
935 | <!-- <el-select v-model="addForm.shp.shp_detail_number" placeholder="电话/传真">--> | 974 | <!-- <el-select v-model="addForm.shp.shp_detail_number" placeholder="电话/传真">--> |
936 | <!-- <el-option label="电话" value="2"></el-option>--> | 975 | <!-- <el-option label="电话" value="2"></el-option>--> |
937 | <!-- <el-option label="传真" value="3"></el-option>--> | 976 | <!-- <el-option label="传真" value="3"></el-option>--> |
@@ -942,31 +981,40 @@ Handling Information | @@ -942,31 +981,40 @@ Handling Information | ||
942 | <el-row> | 981 | <el-row> |
943 | <el-col style="width: 25%"> | 982 | <el-col style="width: 25%"> |
944 | <el-form-item> | 983 | <el-form-item> |
945 | - <el-input v-model="addForm.shp.shp_location_post" auto-complete="off" placeholder="邮编"></el-input> | 984 | + <el-input minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()" |
985 | + v-model="addForm.shp.shp_location_post" auto-complete="off" placeholder="邮编"></el-input> | ||
946 | </el-form-item> | 986 | </el-form-item> |
947 | </el-col> | 987 | </el-col> |
948 | <el-col style="width: 25%;margin-left: 10px"> | 988 | <el-col style="width: 25%;margin-left: 10px"> |
949 | <el-form-item> | 989 | <el-form-item> |
950 | - <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> | 990 | + <el-input minlength="1" maxlength="17" onkeyup="this.value=this.value.toUpperCase()" |
991 | + @keyup.native="addForm.shp.shp_loc_place=addForm.shp.shp_loc_place.replace(/[^A-Za-z0-9_\s]/g,'')" | ||
992 | + v-model="addForm.shp.shp_loc_place" auto-complete="off" placeholder="城市"></el-input> | ||
951 | </el-form-item> | 993 | </el-form-item> |
952 | </el-col> | 994 | </el-col> |
953 | <el-col style="width: 25%;margin-left: 10px"> | 995 | <el-col style="width: 25%;margin-left: 10px"> |
954 | <el-form-item> | 996 | <el-form-item> |
955 | - <el-input v-model="addForm.shp.shp_location_iso" auto-complete="off" placeholder="国家代码"></el-input> | 997 | + <el-input minlength="2" maxlength="2" onkeyup="this.value=this.value.toUpperCase()" |
998 | + v-model="addForm.shp.shp_location_iso" auto-complete="off" placeholder="国家代码" | ||
999 | + @keyup.native="addForm.shp.shp_location_iso.replace(/[^A-Za-z]/g,'')"></el-input> | ||
956 | </el-form-item> | 1000 | </el-form-item> |
957 | </el-col> | 1001 | </el-col> |
958 | </el-row> | 1002 | </el-row> |
959 | <el-row> | 1003 | <el-row> |
960 | <el-col style="width: 80%"> | 1004 | <el-col style="width: 80%"> |
961 | <el-form-item> | 1005 | <el-form-item> |
962 | - <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> | 1006 | + <el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()" |
1007 | + @keyup.native="addForm.shp.shp_adr_street=addForm.shp.shp_adr_street.replace(/[^A-Za-z0-9_\s]/g,'')" | ||
1008 | + v-model="addForm.shp.shp_adr_street" auto-complete="off" placeholder="地址"></el-input> | ||
963 | </el-form-item> | 1009 | </el-form-item> |
964 | </el-col> | 1010 | </el-col> |
965 | </el-row> | 1011 | </el-row> |
966 | <el-row style="margin-bottom: -5px"> | 1012 | <el-row style="margin-bottom: -5px"> |
967 | <el-col style="width: 80%"> | 1013 | <el-col style="width: 80%"> |
968 | <el-form-item> | 1014 | <el-form-item> |
969 | - <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> | 1015 | + <el-input minlength="1" maxlength="65" onkeyup="this.value=this.value.toUpperCase()" |
1016 | + @keyup.native="shp_aeo.oci_supplementary=shp_aeo.oci_supplementary.replace(/[^A-Za-z0-9_\s]/g,'')" | ||
1017 | + v-model="shp_aeo.oci_supplementary" auto-complete="off" placeholder="发货人AEO"></el-input> | ||
970 | </el-form-item> | 1018 | </el-form-item> |
971 | </el-col> | 1019 | </el-col> |
972 | </el-row> | 1020 | </el-row> |
@@ -1010,12 +1058,14 @@ Handling Information | @@ -1010,12 +1058,14 @@ Handling Information | ||
1010 | <el-row> | 1058 | <el-row> |
1011 | <el-col style="width: 38%"> | 1059 | <el-col style="width: 38%"> |
1012 | <el-form-item> | 1060 | <el-form-item> |
1013 | - <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> | 1061 | + <el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()" |
1062 | + @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> | ||
1014 | </el-form-item> | 1063 | </el-form-item> |
1015 | </el-col> | 1064 | </el-col> |
1016 | <el-col style="width: 40%;margin-left: 5px"> | 1065 | <el-col style="width: 40%;margin-left: 5px"> |
1017 | <el-form-item> | 1066 | <el-form-item> |
1018 | - <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> | 1067 | + <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()" |
1068 | + @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> | ||
1019 | <!-- <el-select v-model="addForm.cne.cne_detail_number" placeholder="电话/传真">--> | 1069 | <!-- <el-select v-model="addForm.cne.cne_detail_number" placeholder="电话/传真">--> |
1020 | <!-- <el-option label="电话" value="2"></el-option>--> | 1070 | <!-- <el-option label="电话" value="2"></el-option>--> |
1021 | <!-- <el-option label="传真" value="3"></el-option>--> | 1071 | <!-- <el-option label="传真" value="3"></el-option>--> |
@@ -1026,31 +1076,37 @@ Handling Information | @@ -1026,31 +1076,37 @@ Handling Information | ||
1026 | <el-row> | 1076 | <el-row> |
1027 | <el-col style="width: 25%"> | 1077 | <el-col style="width: 25%"> |
1028 | <el-form-item> | 1078 | <el-form-item> |
1029 | - <el-input v-model="addForm.cne.cne_location_post" auto-complete="off" placeholder="邮编"></el-input> | 1079 | + <el-input minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()" |
1080 | + v-model="addForm.cne.cne_location_post" auto-complete="off" placeholder="邮编"></el-input> | ||
1030 | </el-form-item> | 1081 | </el-form-item> |
1031 | </el-col> | 1082 | </el-col> |
1032 | <el-col style="width: 25%;margin-left: 10px"> | 1083 | <el-col style="width: 25%;margin-left: 10px"> |
1033 | <el-form-item> | 1084 | <el-form-item> |
1034 | - <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> | 1085 | + <el-input minlength="1" maxlength="17" onkeyup="this.value=this.value.toUpperCase()" |
1086 | + @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> | ||
1035 | </el-form-item> | 1087 | </el-form-item> |
1036 | </el-col> | 1088 | </el-col> |
1037 | <el-col style="width: 25%;margin-left: 10px"> | 1089 | <el-col style="width: 25%;margin-left: 10px"> |
1038 | <el-form-item> | 1090 | <el-form-item> |
1039 | - <el-input v-model="addForm.cne.cne_location_iso" auto-complete="off" placeholder="国家代码"></el-input> | 1091 | + <el-input minlength="2" maxlength="2" onkeyup="this.value=this.value.toUpperCase()" |
1092 | + @keyup.native="addForm.cne.cne_location_iso.replace(/[^A-Za-z]/g,'')" | ||
1093 | + v-model="addForm.cne.cne_location_iso" auto-complete="off" placeholder="国家代码"></el-input> | ||
1040 | </el-form-item> | 1094 | </el-form-item> |
1041 | </el-col> | 1095 | </el-col> |
1042 | </el-row> | 1096 | </el-row> |
1043 | <el-row> | 1097 | <el-row> |
1044 | <el-col style="width: 80%"> | 1098 | <el-col style="width: 80%"> |
1045 | <el-form-item> | 1099 | <el-form-item> |
1046 | - <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> | 1100 | + <el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()" |
1101 | + @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> | ||
1047 | </el-form-item> | 1102 | </el-form-item> |
1048 | </el-col> | 1103 | </el-col> |
1049 | </el-row> | 1104 | </el-row> |
1050 | <el-row style="margin-bottom: -5px"> | 1105 | <el-row style="margin-bottom: -5px"> |
1051 | <el-col style="width: 80%"> | 1106 | <el-col style="width: 80%"> |
1052 | <el-form-item> | 1107 | <el-form-item> |
1053 | - <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> | 1108 | + <el-input minlength="1" maxlength="65" onkeyup="this.value=this.value.toUpperCase()" |
1109 | + @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> | ||
1054 | </el-form-item> | 1110 | </el-form-item> |
1055 | </el-col> | 1111 | </el-col> |
1056 | </el-row> | 1112 | </el-row> |
@@ -1153,7 +1209,9 @@ Handling Information | @@ -1153,7 +1209,9 @@ Handling Information | ||
1153 | <el-row style="margin-bottom: -5px"> | 1209 | <el-row style="margin-bottom: -5px"> |
1154 | <el-col style="width: 95%"> | 1210 | <el-col style="width: 95%"> |
1155 | <el-form-item> | 1211 | <el-form-item> |
1156 | - <el-input v-model="addForm.cvd.cvd_currency_code" auto-complete="off" placeholder="货币单位" size="mini"></el-input> | 1212 | + <el-input minlength="3" maxlength="3" onkeyup="this.value=this.value.toUpperCase()" |
1213 | + @keyup.native="addForm.cvd.cvd_currency_code.replace(/[^A-Za-z]/g,'')" | ||
1214 | + v-model="addForm.cvd.cvd_currency_code" auto-complete="off" placeholder="货币单位" size="mini"></el-input> | ||
1157 | </el-form-item> | 1215 | </el-form-item> |
1158 | </el-col> | 1216 | </el-col> |
1159 | </el-row> | 1217 | </el-row> |
@@ -1213,7 +1271,9 @@ Handling Information | @@ -1213,7 +1271,9 @@ Handling Information | ||
1213 | <el-row> | 1271 | <el-row> |
1214 | <el-col style="width: 95%"> | 1272 | <el-col style="width: 95%"> |
1215 | <el-form-item> | 1273 | <el-form-item> |
1216 | - <el-input v-model="addForm.hbs.hbs_destination" auto-complete="off" placeholder="到达站" size="mini"></el-input> | 1274 | + <el-input minlength="3" maxlength="3" onkeyup="this.value=this.value.toUpperCase()" |
1275 | + @keyup.native="addForm.hbs.hbs_destination.replace(/[^A-Za-z]/g,'')" | ||
1276 | + v-model="addForm.hbs.hbs_destination" auto-complete="off" placeholder="到达站" size="mini"></el-input> | ||
1217 | </el-form-item> | 1277 | </el-form-item> |
1218 | </el-col> | 1278 | </el-col> |
1219 | </el-row> | 1279 | </el-row> |
@@ -1225,7 +1285,7 @@ Handling Information | @@ -1225,7 +1285,7 @@ Handling Information | ||
1225 | <el-row style="margin-bottom: -5px"> | 1285 | <el-row style="margin-bottom: -5px"> |
1226 | <el-col style="width: 95%"> | 1286 | <el-col style="width: 95%"> |
1227 | <el-form-item> | 1287 | <el-form-item> |
1228 | - <el-input auto-complete="off" placeholder="承运人" size="mini"></el-input> | 1288 | + <el-input disabled auto-complete="off" placeholder="承运人" size="mini"></el-input> |
1229 | </el-form-item> | 1289 | </el-form-item> |
1230 | </el-col> | 1290 | </el-col> |
1231 | </el-row> | 1291 | </el-row> |
@@ -1311,7 +1371,7 @@ Handling Information | @@ -1311,7 +1371,7 @@ Handling Information | ||
1311 | <el-row style="margin-bottom: -5px"> | 1371 | <el-row style="margin-bottom: -5px"> |
1312 | <el-col style="width: 95%"> | 1372 | <el-col style="width: 95%"> |
1313 | <el-form-item> | 1373 | <el-form-item> |
1314 | - <el-input auto-complete="off" placeholder="目的地机场" size="mini"></el-input> | 1374 | + <el-input disabled auto-complete="off" placeholder="目的地机场" size="mini"></el-input> |
1315 | </el-form-item> | 1375 | </el-form-item> |
1316 | </el-col> | 1376 | </el-col> |
1317 | </el-row> | 1377 | </el-row> |
@@ -1323,12 +1383,12 @@ Handling Information | @@ -1323,12 +1383,12 @@ Handling Information | ||
1323 | <el-row> | 1383 | <el-row> |
1324 | <el-col style="width: 38%"> | 1384 | <el-col style="width: 38%"> |
1325 | <el-form-item> | 1385 | <el-form-item> |
1326 | - <el-input auto-complete="off" placeholder="航班号" size="mini"></el-input> | 1386 | + <el-input disabled auto-complete="off" placeholder="航班号" size="mini"></el-input> |
1327 | </el-form-item> | 1387 | </el-form-item> |
1328 | </el-col> | 1388 | </el-col> |
1329 | <el-col style="width: 58%;margin-left: 5px"> | 1389 | <el-col style="width: 58%;margin-left: 5px"> |
1330 | <el-form-item> | 1390 | <el-form-item> |
1331 | - <el-date-picker | 1391 | + <el-date-picker disabled |
1332 | type="date" style="width: auto" | 1392 | type="date" style="width: auto" |
1333 | size="mini" | 1393 | size="mini" |
1334 | format="dd" | 1394 | format="dd" |
@@ -1368,7 +1428,7 @@ Handling Information | @@ -1368,7 +1428,7 @@ Handling Information | ||
1368 | <el-row style="margin-bottom: -2px"> | 1428 | <el-row style="margin-bottom: -2px"> |
1369 | <el-col style="width: 100%"> | 1429 | <el-col style="width: 100%"> |
1370 | <el-form-item> | 1430 | <el-form-item> |
1371 | - <el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4}" | 1431 | + <el-input disabled type="textarea" :autosize="{ minRows: 2, maxRows: 4}" |
1372 | auto-complete="off" placeholder="处理信息" size="mini"></el-input> | 1432 | auto-complete="off" placeholder="处理信息" size="mini"></el-input> |
1373 | </el-form-item> | 1433 | </el-form-item> |
1374 | </el-col> | 1434 | </el-col> |
@@ -1504,7 +1564,9 @@ Handling Information | @@ -1504,7 +1564,9 @@ Handling Information | ||
1504 | <el-row style="margin-bottom: -5px"> | 1564 | <el-row style="margin-bottom: -5px"> |
1505 | <el-col style="width: 95%"> | 1565 | <el-col style="width: 95%"> |
1506 | <el-form-item> | 1566 | <el-form-item> |
1507 | - <el-input v-model="addForm.hbs.hbs_manifest_description" auto-complete="off" placeholder="货物品名" size="mini"></el-input> | 1567 | + <el-input minlength="1" maxlength="20" onkeyup="this.value=this.value.toUpperCase()" |
1568 | + @keyup.native="addForm.hbs.hbs_manifest_description.replace(/[^A-Za-z0-9\s]/g,'')" | ||
1569 | + v-model="addForm.hbs.hbs_manifest_description" auto-complete="off" placeholder="货物品名" size="mini"></el-input> | ||
1508 | </el-form-item> | 1570 | </el-form-item> |
1509 | </el-col> | 1571 | </el-col> |
1510 | </el-row> | 1572 | </el-row> |
@@ -2111,6 +2173,11 @@ Handling Information | @@ -2111,6 +2173,11 @@ Handling Information | ||
2111 | hbs:{ | 2173 | hbs:{ |
2112 | hbs_serial_number: [ | 2174 | hbs_serial_number: [ |
2113 | { required: true, message: '请输入分运单号', trigger: 'blur' }, | 2175 | { required: true, message: '请输入分运单号', trigger: 'blur' }, |
2176 | + { min: 1, max: 12, message: '长度是1-13个字符', trigger: 'blur' } | ||
2177 | + ], | ||
2178 | + hbs_origin: [ | ||
2179 | + { required: true, message: '请输入起始站', trigger: 'blur' }, | ||
2180 | + { min: 3, max: 3, message: '长度是3个字符', trigger: 'blur' } | ||
2114 | ], | 2181 | ], |
2115 | }, | 2182 | }, |
2116 | }, | 2183 | }, |
-
请 注册 或 登录 后发表评论