审查视图

src/views/nav3/Way.vue 168.9 KB
小范 authored
1
<template>
小范 authored
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
    <el-card>
        <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="生成主单" name="first">
                <div style="height: 850px;overflow: scroll;margin-left: 25px;background-color: rgb(255,255,255)">
                    <el-form  :model="form" label-width="0px" :rules="apply_formRules" ref="apply_formRef">
                        <el-row style="margin-left: 40%">
                        <span style="font-size: 24px;margin-bottom: 25px">
                        新增主运单
                    </span>
                        </el-row>
                        <el-row>
                            <el-col :span="4">
                                <el-form-item label-width="30px" label=" " prop="bill.waybillNum">
                                    <el-input v-model="form.bill.waybillNum" auto-complete="off" placeholder="主运单号(必填)"></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col style="margin-left: 30px" :span="2">
                                <el-form-item>
                                    <el-input v-model="form.bill.origin" auto-complete="off" placeholder="起始站" size="mini"></el-input>
                                </el-form-item>
                            </el-col>
小范 authored
23 24 25
                            <el-col style="margin-left: 30px" :span="2">
                                <el-button type="warning" plain @click="cancleBtn">清空</el-button>
                            </el-col>
小范 authored
26 27 28 29 30 31 32 33 34 35
                        </el-row>
                        <!--                    发货人信息-->
                        <el-row>
                            <el-col :span="12" style="border: 1px solid #a5a5a5;padding-left: 25px">
                    <span style="font-size: 12px">
                        Shipper's Name and Address
                        <el-button type="primary" plain size="mini" style="margin-left: 15px;margin-top: 5px" @click="getShpFwb()">发货人</el-button>
                        <!--                        <el-button type="success" plain size="mini">保&nbsp;&nbsp;&nbsp;存</el-button>-->
                    </span>
                                <el-row>
小范 authored
36
                                    <el-col style="width: 38%">
小范 authored
37
                                        <el-form-item>
小范 authored
38 39
                                            <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>
小范 authored
40 41
                                        </el-form-item>
                                    </el-col>
小范 authored
42
                                    <el-col style="width: 40%;margin-left:5px">
小范 authored
43
                                        <el-form-item>
小范 authored
44
                                            <el-input  minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
45 46
                                                       @keyup.native="shp_contact.contact_number=shp_contact.contact_number.replace(/[^0-9]/g,'')"
                                                       v-model="shp_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
小范 authored
47 48 49 50 51 52 53 54 55 56
                                            <!--                                        <el-select v-model="form.shp.shp_detail_number" placeholder="电话/传真">-->
                                            <!--                                            <el-option label="电话" value="2"></el-option>-->
                                            <!--                                            <el-option label="传真" value="3"></el-option>-->
                                            <!--                                        </el-select>-->
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 25%">
                                        <el-form-item>
小范 authored
57 58
                                            <el-input  minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()"
                                                    v-model="form.shp.shp_postcode" auto-complete="off" placeholder="邮编"></el-input>
小范 authored
59 60 61 62
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
63 64 65
                                            <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>
小范 authored
66 67 68 69
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
70 71
                                            <el-input  minlength="2" maxlength="2" onkeyup="this.value=this.value.toUpperCase()"
                                                    v-model="form.shp.shp_country" auto-complete="off" placeholder="国家代码"></el-input>
小范 authored
72 73 74 75 76 77
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
78
                                            <el-input  minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()"
小范 authored
79 80
                                                    @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>
小范 authored
81 82 83 84 85 86
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row style="margin-bottom: -5px">
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
87 88
                                            <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,'')"
89
                                                      v-model="shp_oci.oci_csrc_info" auto-complete="off" placeholder="企业编码"></el-input>
小范 authored
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-top:1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 25px">
                                <el-row style="margin-bottom: 10px">
                                    <el-col style="width: 20%">
                            <span style="font-size: 12px">
                        Air Waybill
                        </span>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 20%">
                            <span style="font-size: 12px">
                        lssued by
                        </span>
                                    </el-col>
                                    <el-col  style="width: 70%">
                                        <el-form-item>
                                            <el-input  type="textarea" :autosize="{ minRows: 2, maxRows: 4}"
                                                       auto-complete="off" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                        <span style="font-size: 12px">
                        Copies 1,2and3 of this Air Waybill are originals and have the same validity(Not Negotiable)
                        </span>
                                </el-row>
                            </el-col>
                        </el-row>
                        <!--                    收货人信息-->
                        <el-row style="padding-top: 10px">
                            <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 25px">
                    <span style="font-size: 12px">
                        Consignee's Name and Address
                        <el-button type="primary" plain size="mini" style="margin-top: 5px" @click="getCneFwb()">收货人</el-button>
                    </span>
                                <el-row>
小范 authored
130
                                    <el-col style="width: 38%">
小范 authored
131
                                        <el-form-item>
小范 authored
132 133 134
                                            <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>
小范 authored
135 136
                                        </el-form-item>
                                    </el-col>
小范 authored
137
                                    <el-col style="width: 40%;margin-left: 5px">
小范 authored
138
                                        <el-form-item>
小范 authored
139
                                            <el-input  minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
小范 authored
140
                                                       @keyup.native="cne_contact.contact_number=cne_contact.contact_number.replace(/[^0-9]/g,'')"
小范 authored
141
                                                       v-model="cne_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
小范 authored
142 143 144 145 146 147
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 25%">
                                        <el-form-item>
小范 authored
148 149
                                            <el-input   minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()"
                                                    v-model="form.cne.cne_postcode" auto-complete="off" placeholder="邮编"></el-input>
小范 authored
150 151 152 153
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
154 155 156
                                            <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>
小范 authored
157 158 159 160
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
161 162
                                            <el-input  minlength="2" maxlength="2" onkeyup="this.value=this.value.toUpperCase()"
                                                    v-model="form.cne.cne_country" auto-complete="off" placeholder="国家代码"></el-input>
小范 authored
163 164 165 166 167 168
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
169 170 171
                                            <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>
小范 authored
172 173 174 175 176 177
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row style="margin-bottom: -5px">
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
178 179
                                            <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,'')"
180
                                                      v-model="cne_oci.oci_csrc_info" auto-complete="off" placeholder="企业编码"></el-input>
小范 authored
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 25px">
                    <span  style="font-size: 12px">
                        It is agreed that the goods described herein are accepted for carriage in apparent good order and condition (except as noted) and SUBJECT TO THE CONDITION OF CONTRACT ON THE REVERSE HEREOF. ALL GOODS MAY BE CARRIED BY ANY OTHER MEANS INCLUDING ROAD OR ANY OTHER CARRIER UNLESS SPECIFIC CONTRARY IS DRAWN TO THE NOTICE CONCERNING CARRIER'S LIMITATION OF LIABILITY. Shipper may increase such limitation of liability by declaring higher value for carriage and paying a supplemental charge if required.
                    </span>
                            </el-col>
                        </el-row>
                        <!--                    代理人信息-->
                        <el-row  style="padding-top: 10px">
                            <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;;border-left:1px solid #a5a5a5;padding-left: 25px">
                    <span style="font-size: 12px">
                        Issuing Carrier's Agent Name and City
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 30%">
                                        <el-form-item>
小范 authored
200
                                            <el-input disabled v-model="form.agt.agt_name" auto-complete="off" placeholder="代理人名称" size="mini"></el-input>
小范 authored
201 202 203 204
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 30%;margin-left: 30px">
                                        <el-form-item>
小范 authored
205
                                            <el-input disabled v-model="form.agt.agt_ADR" auto-complete="off" placeholder="代理人地址" size="mini"></el-input>
小范 authored
206 207 208 209 210 211 212 213 214 215 216
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 25px">
                    <span style="font-size: 12px">
                        Financial information content
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 90%">
                                        <el-form-item>
小范 authored
217 218
                                            <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>
小范 authored
219 220 221 222 223 224 225 226 227 228 229 230 231
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <el-row  style="padding-top: 10px">
                            <el-col :span="6" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 25px">
                            <span style="font-size: 12px">
                        Agent's IATA Code
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 65%">
                                        <el-form-item>
小范 authored
232
                                            <el-input disabled v-model="form.agt.agt_IATA_number" auto-complete="off" placeholder="IATA代码" size="mini"></el-input>
小范 authored
233 234 235 236 237 238 239 240 241 242 243
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="6" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 25px">
                            <span style="font-size: 12px">
                        Agent's Account Number
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 65%">
                                        <el-form-item>
小范 authored
244
                                            <el-input disabled v-model="form.agt.agt_account_number" auto-complete="off" placeholder="代理人账号" size="mini"></el-input>
小范 authored
245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>

                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 25px">
                    <span style="font-size: 12px">
                       Financial Information Identification
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 90%">
                                        <el-form-item>
                                            <el-input v-model="acc_info.acc_info_id" auto-complete="off" placeholder="财务信息标识" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <!--                    航班信息-->
                        <el-row  style="padding-top: 10px">
                            <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 25px">
                            <span style="font-size: 12px">
                        Airport of Departure (Addr. of First Carrier) and Requested Routing
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
272
                                            <el-input  disabled auto-complete="off" placeholder="出发机场(第一承运人地址)" size="mini"></el-input>
小范 authored
273 274 275 276 277 278 279 280 281 282 283
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="3" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Currency
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
284 285 286
                                            <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>
小范 authored
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="3" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        GHGS Code
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input  v-model="form.cvd.cvd_charge_code" auto-complete="off" placeholder="收费代码" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="4" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        WT/VAL(PPD)&Other(PPD)
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 90%">
                                        <el-form-item>
                                            <el-input v-model="form.cvd.cvd_charge_prepaid" auto-complete="off" placeholder="付费方式" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
<!--                                    <el-col style="width: 45%;margin-left: 5px">-->
<!--                                        <el-form-item>-->
<!--                                            <el-input v-model="form.companyName" auto-complete="off" placeholder="" size="mini"></el-input>-->
<!--                                        </el-form-item>-->
<!--                                    </el-col>-->
                                </el-row>
                            </el-col>
<!--                            <el-col :span="3" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">-->
<!--                            <span style="font-size: 12px">-->
<!--                        Other(PPD)-->
<!--                    </span>-->
<!--                                <el-row  style="margin-bottom: -5px">-->
<!--                                    <el-col style="width: 90%">-->
<!--                                        <el-form-item>-->
<!--                                            <el-input v-model="form.cvd.cvd_charge_prepaid" auto-complete="off" placeholder="付费方式" size="mini"></el-input>-->
<!--                                        </el-form-item>-->
<!--                                    </el-col>-->
<!--&lt;!&ndash;                                    <el-col style="width: 45%;margin-left: 5px">&ndash;&gt;-->
<!--&lt;!&ndash;                                        <el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;                                            <el-input v-model="form.companyName" auto-complete="off" placeholder="" size="mini"></el-input>&ndash;&gt;-->
<!--&lt;!&ndash;                                        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;                                    </el-col>&ndash;&gt;-->
<!--                                </el-row>-->
<!--                            </el-col>-->
                        </el-row>
                        <el-row  style="padding-top: 10px">
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                                To
                            </span>
                                <el-row>
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
346 347 348
                                            <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>
小范 authored
349 350 351 352 353 354 355 356 357 358 359
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        First Carrier
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
360 361 362
                                            <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>
小范 authored
363 364 365 366 367 368 369 370 371 372 373
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        To
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
374
                                            <el-input  disabled auto-complete="off" placeholder="到达站" size="mini"></el-input>
小范 authored
375 376 377 378 379 380 381 382 383 384 385
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        By
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
386
                                            <el-input  disabled auto-complete="off" placeholder="承运人" size="mini"></el-input>
小范 authored
387 388 389 390 391 392 393 394 395 396 397
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        To
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
398
                                            <el-input  disabled auto-complete="off" placeholder="到达站" size="mini"></el-input>
小范 authored
399 400 401 402 403 404 405 406 407 408 409
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        By
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
410
                                            <el-input  disabled auto-complete="off" placeholder="承运人" size="mini"></el-input>
小范 authored
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="5" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        Declared Value for Carriage
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="form.cvd.cvd_value_for_carriage" auto-complete="off" placeholder="运输声明价值" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="5" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        Declared Value for Customs
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="form.cvd.cvd_value_for_customs" auto-complete="off" placeholder="海关声明价值" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <el-row  style="padding-top: 10px">
                            <el-col :span="3" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Airport of Destination
                    </span>
                                <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-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="6" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Requested Flight/Date
                    </span>
                                <el-row>
                                    <el-col style="width: 38%">
                                        <el-form-item>
                                            <el-input v-model="form.flt.flightNumber" 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
                                                    v-model="form.flt.day"
                                                    type="date" style="width: auto"
                                                    size="mini"
                                                    format="dd"
                                                    value-format="dd"
                                                    placeholder="选择日期">
                                            </el-date-picker>
                                            <!--                                <el-input v-model="form.companyName" auto-complete="off" placeholder="航班日期" size="mini"></el-input>-->
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="3" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        Amount of Insurance
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="form.cvd.cvd_amount_of_insurance" auto-complete="off" placeholder="保险金额" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                    <span style="font-size: 12px">
                        INSURANCE —— If carrier offers insurance, and such insurance is requested in accordance with the conditions thereof, indicate amount to be insured in figures in box marked "Amount of Insurance".
                    </span>
                            </el-col>
                        </el-row>
                        <!--                    处理信息-->
                        <el-row  style="padding-top: 10px">
                            <el-col :span="22" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding: 5px">
                            <span style="font-size: 12px">

Handling Information
                    </span>
                                <el-row style="margin-bottom: -2px">
                                    <el-col style="width: 100%">
                                        <el-form-item>
                                            <el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4}"
                                                      auto-complete="off" placeholder="被通知人信息" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <span style="font-size: 10px">
                             (For USA only) These commodities Licensed by U.S. for ultimate destination.Diversion contrary to U.S. law is prohibited.
                    </span>
                            </el-col>
                        </el-row>
                        <!--                    件重计费信息-->
                        <!--                    表头信息-->
                        <el-row  style="padding-top: 10px">
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 2px">
                            <span style="font-size: 12px">
                        No. of Pieces RCP
                    </span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                            <span style="font-size: 12px">
                        Gross Weight
                    </span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                    <span style="font-size: 12px">
                        kg lb
                    </span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 2px">
                                <span style="font-size: 12px">Rate Class</span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                            <span style="font-size: 12px">
                        Commodity Item No.
                    </span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                    <span style="font-size: 12px">
                        Chargeable Weight
                    </span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                                <span style="font-size: 12px">Rate / Charge</span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                                <span style="font-size: 12px">Total</span>
                            </el-col>
                            <el-col :span="6" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                                <span style="font-size: 12px">Nature and Quantity of Goods (incl. Dimensions or Volume)</span>
                            </el-col>
                        </el-row>
                        <!--                    输入信息-->
                        <el-row  style="padding-top: 10px">
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="form.bill.quantity_picecs" auto-complete="off" placeholder="件数" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="form.bill.quantity_weight" auto-complete="off" placeholder="重量(KG)" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="form.bill.quantity_weight_code" auto-complete="off" placeholder="计量单位" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-select v-model="form.rtd.rtd_rate_class" placeholder="运价种类">
                                                <el-option label="Q" value="Q"></el-option>
                                                <el-option label="C" value="C"></el-option>
                                                <el-option label="M" value="M"></el-option>
                                                <el-option label="N" value="N"></el-option>
                                                <el-option label="S" value="S"></el-option>
                                                <el-option label="R" value="R"></el-option>
                                            </el-select>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
606
                                            <el-input disabled v-model="form.rtd.rtd_commodity_NUM" auto-complete="off" placeholder="商品代号" size="mini"></el-input>
小范 authored
607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="form.rtd.rtd_charge_weight" auto-complete="off" placeholder="计费重量" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="form.rtd.rtd_rate_charge" auto-complete="off" placeholder="费率" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="form.rtd.rtd_total" auto-complete="off" placeholder="总计" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="6" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
642 643 644
                                            <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>
小范 authored
645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-button type="primary" plain size="mini" style="width: 100%;text-align: left" @click="dialogTableVisible = true">尺寸</el-button>
                                            <!--                                <el-input v-model="form.companyName" auto-complete="off" placeholder="尺寸(长*宽*高*件数)" size="mini"></el-input>-->
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="form.bill.quantity_volume" auto-complete="off" placeholder="体积" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <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-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <!--                    付款信息-->
                        <el-row  style="padding-top: 10px">
                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5">
                                <el-row style="border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                    <el-col :span="16"  style="font-size: 12px">
                                        <el-radio v-model="form.cvd.cvd_charge_prepaid" label="PP" value="PP">预付 Prepaid</el-radio>
                                    </el-col>
                                    <el-col :span="4" style="font-size: 12px;margin-left: 25px">
                                        <el-radio v-model="form.cvd.cvd_charge_prepaid" label="CC" value="CC">到付 Collect</el-radio>
                                    </el-col>
                                </el-row>
                                <el-row style="padding-top: 20px">
                                    <el-col :span="7" style="border-right:  1px solid #a5a5a5">
小范 authored
685
                                        <el-input :disabled="form.cvd.cvd_charge_prepaid=='CC'" v-model="form.ppd.ppd_weight_amount" auto-complete="off" placeholder="货重金额" size="mini"></el-input>
小范 authored
686 687 688 689 690 691 692
                                    </el-col>
                                    <el-col :span="10"  style="border-right:  1px solid #a5a5a5;text-align: center">
                            <span style="font-size: 12px">
                                Weight Charge
                            </span>
                                    </el-col>
                                    <el-col :span="7">
小范 authored
693
                                        <el-input  :disabled="form.cvd.cvd_charge_prepaid=='PP'" v-model="form.ppd.ppd_weight_amount" auto-complete="off" placeholder="货重金额" size="mini"></el-input>
小范 authored
694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Other Charges
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="form.oth.oth_charges" auto-complete="off" placeholder="其他费用" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <el-row  style="padding-top: 10px">
                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5">
                                <el-row style="border-bottom: 1px solid #a5a5a5;margin-top: 15px">
                                    <el-col :span="7" style="border-right:  1px solid #a5a5a5">
                                        <el-input :disabled="form.cvd.cvd_charge_prepaid=='CC'" v-model="form.ppd.ppd_valuation_amount" auto-complete="off" placeholder="附加费" size="mini"></el-input>
                                    </el-col>
                                    <el-col :span="10"  style="border-right:  1px solid #a5a5a5;text-align: center">
                            <span style="font-size: 12px">
                                Valuation Charge
                            </span>
                                    </el-col>
                                    <el-col :span="7">
                                        <el-input :disabled="form.cvd.cvd_charge_prepaid=='PP'" v-model="form.ppd.ppd_valuation_amount" auto-complete="off" placeholder="附加费" size="mini"></el-input>
                                    </el-col>
                                </el-row>
                                <el-row style="border-bottom: 1px solid #a5a5a5;margin-top: 30px">
                                    <el-col :span="7" style="border-right:  1px solid #a5a5a5">
                                        <el-input :disabled="form.cvd.cvd_charge_prepaid=='CC'" v-model="form.ppd.ppd_taxes_amount" auto-complete="off" placeholder="税款" size="mini"></el-input>
                                    </el-col>
                                    <el-col :span="10"  style="border-right:  1px solid #a5a5a5;text-align: center">
                            <span style="font-size: 12px">
                                Tax
                            </span>
                                    </el-col>
                                    <el-col :span="7">
                                        <el-input :disabled="form.cvd.cvd_charge_prepaid=='PP'" v-model="form.ppd.ppd_taxes_amount" auto-complete="off" placeholder="税款" size="mini"></el-input>
                                    </el-col>
                                </el-row>
                                <el-row  style="border-bottom: 1px solid #a5a5a5;margin-top: 30px">
                                    <el-col :span="7" style="border-right:  1px solid #a5a5a5">
                                        <el-input :disabled="form.cvd.cvd_charge_prepaid=='CC'" v-model="form.ppd.ppd_other_charges_due_agent" auto-complete="off" placeholder="其他应付代理人合计" size="mini"></el-input>
                                    </el-col>
                                    <el-col :span="10"  style="border-right:  1px solid #a5a5a5;text-align: center">
                            <span style="font-size: 12px">
                                Total other Charge Due Agent
                            </span>
                                    </el-col>
                                    <el-col :span="7">
                                        <el-input :disabled="form.cvd.cvd_charge_prepaid=='PP'" v-model="form.ppd.ppd_other_charges_due_agent" auto-complete="off" placeholder="其他应付代理人合计" size="mini"></el-input>
                                    </el-col>
                                </el-row>
                                <el-row style="margin-top: 30px;margin-bottom: 2px">
                                    <el-col :span="7" style="border-right:  1px solid #a5a5a5">
                                        <el-input :disabled="form.cvd.cvd_charge_prepaid=='CC'" v-model="form.ppd.ppd_other_charges_due_carrier" auto-complete="off" placeholder="其他应付承运人合计" size="mini"></el-input>
                                    </el-col>
                                    <el-col :span="10"  style="border-right:  1px solid #a5a5a5;text-align: center">
                            <span style="font-size: 12px">
                                Total other Charge Due Carrier
                            </span>
                                    </el-col>
                                    <el-col :span="7">
                                        <el-input :disabled="form.cvd.cvd_charge_prepaid=='PP'" v-model="form.ppd.ppd_other_charges_due_carrier" auto-complete="off" placeholder="其他应付承运人合计" size="mini"></el-input>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: 15px">
                                    <el-col style="width: 98%">
                            <span style="font-size: 12px">
                                Shipper certifies that the particulars on the face hereof are correct and that insofar as any part of the consignment contains dangerous goods, such part is properly described by name and is in proper condition for carriage by air according to the applicable Dangerous Goods Regulations.
                            </span>
                                    </el-col>
                                </el-row>
                                <el-row  style="margin-bottom: -12px">
                                    <el-col :span="10">
                            <span style="font-size: 12px">
                                Signature of shipper or His Agent
                            </span>
                                    </el-col>
                                    <el-col :span="14">
                                        <el-form-item>
                                            <el-input v-model="form.cer.cer_signature" style="width: 95%"  auto-complete="off" placeholder="托运人或其代理人签字" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <el-row  style="padding-top: 10px">
                            <el-col :span="3" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Total prepaid
                    </span>
                                <el-row>
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input :disabled="form.cvd.cvd_charge_prepaid=='CC'" v-model="form.ppd.ppd_charge_summary_total" auto-complete="off" placeholder="预付总计" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="4" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px;text-align: center">
                            <span style="font-size: 12px">
                        Currency Conversion Rate
                    </span>
                                <el-row>
                                    <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-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="3"  style="border-bottom:1px solid #a5a5a5;padding-left: 5px;border-right: 1px solid #a5a5a5">
                            <span style="font-size: 12px">
                        Total Collect
                    </span>
                                <el-row>
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input :disabled="form.cvd.cvd_charge_prepaid=='PP'" v-model="form.ppd.ppd_charge_summary_total" auto-complete="off" placeholder="到付费用总额" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>

                            <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row style="margin-top: -2px">
                                    <el-col :span="6">
                            <span style="font-size: 12px">
                        Executed on(Date)
                    </span>
                                    </el-col>
                                    <el-col :span="5">
                            <span style="font-size: 12px">
                        At(place)
                    </span>
                                    </el-col>
                                    <el-col  :span="12">
                            <span style="font-size: 12px">
                        Signature of Issuing Carrier or Its Agent
                    </span>
                                    </el-col>
                                </el-row>
                                <el-row style="margin-top: 31px;margin-bottom: -8px">
                                    <el-col :span="6">
                                        <el-form-item>
                                            <el-date-picker
                                                    v-model="form.isu.isu_day_mounth_year"
                                                    type="date" style="width: auto"
                                                    size="mini"
                                                    format="yyyy-MM-dd"
                                                    value-format="yyyy-MM-dd"
                                                    placeholder="选择日期">
                                            </el-date-picker>
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="5" style="margin-left: 10px">
                                        <el-form-item>
小范 authored
858 859
                                            <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>
小范 authored
860 861 862 863
                                        </el-form-item>
                                    </el-col>
                                    <el-col  :span="12" style="margin-left: 10px">
                                        <el-form-item>
小范 authored
864 865
                                            <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>
小范 authored
866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <el-row  style="padding-top: 10px">
                            <el-col :span="4" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        CC charges in Dest. Currency
                    </span>
                                <el-row>
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input  auto-complete="off" placeholder="目的地CC费用。通货" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2"  style="border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        For Carrie's Use Only at Destination
                    </span>
                            </el-col>
                            <el-col :span="4" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Charges at Destination
                    </span>
                                <el-row>
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input auto-complete="off" placeholder="目的地收费" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="4" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px;padding-right: 5px">
                            <span style="font-size: 12px">
                        Total Collection Charges
                    </span>
                                <el-row style="margin-bottom: -8px">
                                    <el-form-item>
                                        <el-input auto-complete="off" placeholder="总收款费用" size="mini"></el-input>
                                    </el-form-item>
                                </el-row>
                            </el-col>
                            <el-col :span="8" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">

                            </el-col>
                        </el-row>
小范 authored
915
                        <el-row style="margin-top: 40px;margin-left: 40%">
小范 authored
916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932
                            <el-form-item>
                                <el-button type="primary" @click="addFwb">提交</el-button>
                            </el-form-item>
                        </el-row>
                    </el-form>
                </div>
            </el-tab-pane>
            <el-tab-pane label="生成分单" name="second">
                <div style="height: 850px;overflow: scroll;margin-left: 25px;background-color: rgb(255,255,255)">
                    <el-form  :model="addForm" label-width="0px" :rules="apply_addFormRules" ref="apply_addFormRef">
                        <el-row style="margin-left: 40%">
                        <span style="font-size: 24px;margin-bottom: 25px">
                        新增分运单
                    </span>
                        </el-row>
                        <el-row>
                            <el-col :span="4">
小范 authored
933
                                <el-form-item label-width="30px" prop="fhl.waybillNum">
934 935
                                    <el-input v-model="addForm.fhl.waybillNum" auto-complete="off" placeholder="主运单号(必填)"
                                              @blur="blur"></el-input>
小范 authored
936 937 938
                                </el-form-item>
                            </el-col>
                            <el-col :span="4">
小范 authored
939 940 941 942
                                <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>
小范 authored
943 944 945
                                </el-form-item>
                            </el-col>
                            <el-col style="margin-left: 30px" :span="2">
小范 authored
946 947 948 949
                                <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>
小范 authored
950 951
                                </el-form-item>
                            </el-col>
小范 authored
952 953 954
                            <el-col style="margin-left: 30px" :span="2">
                                <el-button type="warning" plain @click="cancleBtn">清空</el-button>
                            </el-col>
小范 authored
955 956 957 958 959 960 961 962 963 964
                        </el-row>
                        <!--                    发货人信息-->
                        <el-row>
                            <el-col :span="12" style="border: 1px solid #a5a5a5;padding-left: 25px">
                    <span style="font-size: 12px">
                        Shipper's Name and Address
                        <el-button type="primary" plain size="mini" style="margin-left: 15px;margin-top: 5px" @click="getShp()">发货人</el-button>
                        <!--                        <el-button type="success" plain size="mini">保&nbsp;&nbsp;&nbsp;存</el-button>-->
                    </span>
                                <el-row>
小范 authored
965
                                    <el-col style="width: 38%">
小范 authored
966
                                        <el-form-item label=" " prop="shp.shp_nam_name">
小范 authored
967 968
                                            <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>
小范 authored
969 970
                                        </el-form-item>
                                    </el-col>
小范 authored
971
                                    <el-col style="width: 40%;margin-left:5px">
小范 authored
972
                                        <el-form-item>
小范 authored
973
                                            <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
小范 authored
974
                                                    @keyup.native="addForm.shp.shp_detail_number=addForm.shp.shp_detail_number.replace(/[^0-9]/g,'')" v-model="addForm.shp.shp_detail_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
小范 authored
975 976 977 978 979 980 981 982 983 984
                                            <!--                                        <el-select v-model="addForm.shp.shp_detail_number" placeholder="电话/传真">-->
                                            <!--                                            <el-option label="电话" value="2"></el-option>-->
                                            <!--                                            <el-option label="传真" value="3"></el-option>-->
                                            <!--                                        </el-select>-->
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 25%">
                                        <el-form-item>
小范 authored
985 986
                                            <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>
小范 authored
987 988 989 990
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
991 992 993
                                            <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>
小范 authored
994 995 996 997
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
998 999 1000
                                            <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>
小范 authored
1001 1002 1003 1004 1005 1006
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
1007 1008 1009
                                            <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>
小范 authored
1010 1011 1012 1013 1014 1015
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row style="margin-bottom: -5px">
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
1016 1017
                                            <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,'')"
1018
                                                       v-model="shp_aeo.oci_supplementary" auto-complete="off" placeholder="企业编码"></el-input>
小范 authored
1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-top:1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 25px">
                                <el-row style="margin-bottom: 10px">
                                    <el-col style="width: 20%">
                            <span style="font-size: 12px">
                        Air Waybill
                        </span>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 20%">
                            <span style="font-size: 12px">
                        lssued by
                        </span>
                                    </el-col>
                                    <el-col  style="width: 70%">
                                        <el-form-item>
小范 authored
1039
                                            <el-input disabled type="textarea" :autosize="{ minRows: 2, maxRows: 4}"
小范 authored
1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059
                                                        auto-complete="off" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                        <span style="font-size: 12px">
                        Copies 1,2and3 of this Air Waybill are originals and have the same validity(Not Negotiable)
                        </span>
                                </el-row>
                            </el-col>
                        </el-row>
                        <!--                    收货人信息-->
                        <el-row style="padding-top: 10px">
                            <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 25px">
                    <span style="font-size: 12px">
                        Consignee's Name and Address
                        <el-button type="primary" plain size="mini" style="margin-top: 5px" @click="getCne()">收货人</el-button>
                        <!--                        <el-button type="success" plain size="mini">保&nbsp;&nbsp;&nbsp;存</el-button>-->
                    </span>
                                <el-row>
小范 authored
1060
                                    <el-col style="width: 38%">
小范 authored
1061
                                        <el-form-item>
小范 authored
1062 1063
                                            <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>
小范 authored
1064 1065
                                        </el-form-item>
                                    </el-col>
小范 authored
1066
                                    <el-col style="width: 40%;margin-left: 5px">
小范 authored
1067
                                        <el-form-item>
小范 authored
1068
                                            <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
小范 authored
1069
                                                    @keyup.native="addForm.cne.cne_detail_number=addForm.cne.cne_detail_number.replace(/[^0-9]/g,'')" v-model="addForm.cne.cne_detail_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
小范 authored
1070 1071 1072 1073 1074 1075 1076 1077 1078 1079
                                            <!--                                        <el-select v-model="addForm.cne.cne_detail_number" placeholder="电话/传真">-->
                                            <!--                                            <el-option label="电话" value="2"></el-option>-->
                                            <!--                                            <el-option label="传真" value="3"></el-option>-->
                                            <!--                                        </el-select>-->
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 25%">
                                        <el-form-item>
小范 authored
1080 1081
                                            <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>
小范 authored
1082 1083 1084 1085
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
1086 1087
                                            <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>
小范 authored
1088 1089 1090 1091
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
1092 1093 1094
                                            <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>
小范 authored
1095 1096 1097 1098 1099 1100
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
1101 1102
                                            <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>
小范 authored
1103 1104 1105 1106 1107 1108
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row style="margin-bottom: -5px">
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
1109
                                            <el-input  minlength="1" maxlength="65" onkeyup="this.value=this.value.toUpperCase()"
1110
                                                    @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="企业编码"></el-input>
小范 authored
1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 25px">
                    <span  style="font-size: 12px">
                        It is agreed that the goods described herein are accepted for carriage in apparent good order and condition (except as noted) and SUBJECT TO THE CONDITION OF CONTRACT ON THE REVERSE HEREOF. ALL GOODS MAY BE CARRIED BY ANY OTHER MEANS INCLUDING ROAD OR ANY OTHER CARRIER UNLESS SPECIFIC CONTRARY IS DRAWN TO THE NOTICE CONCERNING CARRIER'S LIMITATION OF LIABILITY. Shipper may increase such limitation of liability by declaring higher value for carriage and paying a supplemental charge if required.
                    </span>
                            </el-col>
                        </el-row>
                        <!--                    代理人信息-->
                        <el-row  style="padding-top: 10px">
                            <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;;border-left:1px solid #a5a5a5;padding-left: 25px">
                    <span style="font-size: 12px">
                        Issuing Carrier's Agent Name and City
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 30%">
                                        <el-form-item>
小范 authored
1130
                                            <el-input disabled auto-complete="off" placeholder="代理人名称" size="mini"></el-input>
小范 authored
1131 1132 1133 1134
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 30%;margin-left: 30px">
                                        <el-form-item>
小范 authored
1135
                                            <el-input disabled auto-complete="off" placeholder="代理人地址" size="mini"></el-input>
小范 authored
1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 25px">
                    <span style="font-size: 12px">
                        Financial information content
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 90%">
                                        <el-form-item>
小范 authored
1147
                                            <el-input disabled v-model="addForm.acc_info" auto-complete="off" placeholder="财务信息内容" size="mini"></el-input>
小范 authored
1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <el-row  style="padding-top: 10px">
                            <el-col :span="6" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 25px">
                            <span style="font-size: 12px">
                        Agent's IATA Code
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 65%">
                                        <el-form-item>
小范 authored
1161
                                            <el-input disabled auto-complete="off" placeholder="IATA代码" size="mini"></el-input>
小范 authored
1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="6" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 25px">
                            <span style="font-size: 12px">
                        Agent's Account Number
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 65%">
                                        <el-form-item>
小范 authored
1173
                                            <el-input disabled auto-complete="off" placeholder="代理人账号" size="mini"></el-input>
小范 authored
1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>

                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 25px">
                    <span style="font-size: 12px">
                        Financial Information Identification
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 90%">
                                        <el-form-item>
小范 authored
1186
                                            <el-input disabled auto-complete="off" placeholder="财务信息标识" size="mini"></el-input>
小范 authored
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <!--                    航班信息-->
                        <el-row  style="padding-top: 10px">
                            <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 25px">
                            <span style="font-size: 12px">
                        Airport of Departure (Addr. of First Carrier) and Requested Routing
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1201
                                            <el-input disabled auto-complete="off" placeholder="出发机场(第一承运人地址)" size="mini"></el-input>
小范 authored
1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="3" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Currency
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1213 1214 1215
                                            <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>
小范 authored
1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="3" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        GHGS Code
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="addForm.cvd.cvd_charge_code"  auto-complete="off" placeholder="收费代码" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="4" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        WT/VAL(PPD)&Other(PPD)
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 90%">
                                        <el-form-item>
                                            <el-input v-model="addForm.cvd.cvd_charge_prepaid" auto-complete="off" placeholder="付费方式" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
<!--                                    <el-col style="width: 45%;margin-left: 5px">-->
<!--                                        <el-form-item>-->
<!--                                            <el-input  auto-complete="off" placeholder="COLL" size="mini"></el-input>-->
<!--                                        </el-form-item>-->
<!--                                    </el-col>-->
                                </el-row>
                            </el-col>
<!--                            <el-col :span="3" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">-->
<!--                            <span style="font-size: 12px">-->
<!--                        Other(PPD)-->
<!--                    </span>-->
<!--                                <el-row  style="margin-bottom: -5px">-->
<!--                                    <el-col style="width: 90%">-->
<!--                                        <el-form-item>-->
<!--                                            <el-input auto-complete="off" placeholder="付费方式" size="mini"></el-input>-->
<!--                                        </el-form-item>-->
<!--                                    </el-col>-->
<!--&lt;!&ndash;                                    <el-col style="width: 45%;margin-left: 5px">&ndash;&gt;-->
<!--&lt;!&ndash;                                        <el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;                                            <el-input  auto-complete="off" placeholder="COLL" size="mini"></el-input>&ndash;&gt;-->
<!--&lt;!&ndash;                                        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;                                    </el-col>&ndash;&gt;-->
<!--                                </el-row>-->
<!--                            </el-col>-->
                        </el-row>
                        <el-row  style="padding-top: 10px">
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                                To
                            </span>
                                <el-row>
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1275 1276 1277
                                            <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>
小范 authored
1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        First Carrier
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1289
                                            <el-input disabled auto-complete="off" placeholder="承运人" size="mini"></el-input>
小范 authored
1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        To
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1301
                                            <el-input disabled auto-complete="off" placeholder="到达站" size="mini"></el-input>
小范 authored
1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        By
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1313
                                            <el-input disabled auto-complete="off" placeholder="承运人" size="mini"></el-input>
小范 authored
1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        To
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1325
                                            <el-input disabled auto-complete="off" placeholder="到达站" size="mini"></el-input>
小范 authored
1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        By
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1337
                                            <el-input disabled auto-complete="off" placeholder="承运人" size="mini"></el-input>
小范 authored
1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="5" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        Declared Value for Carriage
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="addForm.cvd.cvd_value_for_carriage" auto-complete="off" placeholder="运输声明价值" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="5" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        Declared Value for Customs
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="addForm.cvd.cvd_value_for_customs" auto-complete="off" placeholder="海关声明价值" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <el-row  style="padding-top: 10px">
                            <el-col :span="3" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Airport of Destination
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1375
                                            <el-input disabled auto-complete="off" placeholder="目的地机场" size="mini"></el-input>
小范 authored
1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="6" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Requested Flight/Date
                    </span>
                                <el-row>
                                    <el-col style="width: 38%">
                                        <el-form-item>
小范 authored
1387
                                            <el-input disabled auto-complete="off" placeholder="航班号" size="mini"></el-input>
小范 authored
1388 1389 1390 1391
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 58%;margin-left: 5px">
                                        <el-form-item>
小范 authored
1392
                                            <el-date-picker disabled
小范 authored
1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431
                                                    type="date" style="width: auto"
                                                    size="mini"
                                                    format="dd"
                                                    value-format="dd"
                                                    placeholder="选择日期">
                                            </el-date-picker>
                                            <!--                                <el-input  auto-complete="off" placeholder="航班日期" size="mini"></el-input>-->
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="3" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                    <span style="font-size: 12px">
                        Amount of Insurance
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="addForm.cvd.cvd_amount_of_insurance" auto-complete="off" placeholder="保险金额" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                    <span style="font-size: 12px">
                        INSURANCE —— If carrier offers insurance, and such insurance is requested in accordance with the conditions thereof, indicate amount to be insured in figures in box marked "Amount of Insurance".
                    </span>
                            </el-col>
                        </el-row>
                        <!--                    处理信息-->
                        <el-row  style="padding-top: 10px">
                            <el-col :span="22" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding: 5px">
                            <span style="font-size: 12px">

Handling Information
                    </span>
                                <el-row style="margin-bottom: -2px">
                                    <el-col style="width: 100%">
                                        <el-form-item>
小范 authored
1432
                                            <el-input disabled type="textarea" :autosize="{ minRows: 2, maxRows: 4}"
小范 authored
1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531
                                                       auto-complete="off" placeholder="处理信息" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <span style="font-size: 10px">
                             (For USA only) These commodities Licensed by U.S. for ultimate destination.Diversion contrary to U.S. law is prohibited.
                    </span>
                            </el-col>
                        </el-row>
                        <!--                    件重计费信息-->
                        <!--                    表头信息-->
                        <el-row  style="padding-top: 10px">
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 2px">
                            <span style="font-size: 12px">
                        No. of Pieces RCP
                    </span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                            <span style="font-size: 12px">
                        Gross Weight
                    </span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                    <span style="font-size: 12px">
                        kg lb
                    </span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 2px">
                                <span style="font-size: 12px">Rate Class</span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                            <span style="font-size: 12px">
                        Commodity Item No.
                    </span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                    <span style="font-size: 12px">
                        Chargeable Weight
                    </span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                                <span style="font-size: 12px">Rate / Charge</span>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                                <span style="font-size: 12px">Total</span>
                            </el-col>
                            <el-col :span="6" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 2px">
                                <span style="font-size: 12px">Nature and Quantity of Goods (incl. Dimensions or Volume)</span>
                            </el-col>
                        </el-row>
                        <!--                    输入信息-->
                        <el-row  style="padding-top: 10px">
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="addForm.hbs.hbs_pieces" auto-complete="off" placeholder="件数" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="addForm.hbs.hbs_weight" auto-complete="off" placeholder="重量(KG)" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-input v-model="addForm.hbs.hbs_weight_code" auto-complete="off" placeholder="最大总重量" size="mini"></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-select v-model="addForm.companyName1" placeholder="运价种类">
                                                <el-option label="Q" value="Q"></el-option>
                                                <el-option label="C" value="C"></el-option>
                                                <el-option label="M" value="M"></el-option>
                                                <el-option label="N" value="N"></el-option>
                                                <el-option label="S" value="S"></el-option>
                                                <el-option label="R" value="R"></el-option>
                                            </el-select>
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1532
                                            <el-input disabled auto-complete="off" placeholder="商品代号" size="mini"></el-input>
小范 authored
1533 1534 1535 1536 1537 1538 1539 1540
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1541
                                            <el-input disabled v-model="addForm.hbs.hbs_weight" auto-complete="off" placeholder="计费重量" size="mini"></el-input>
小范 authored
1542 1543 1544 1545 1546 1547 1548 1549
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1550
                                            <el-input disabled auto-complete="off" placeholder="费率" size="mini"></el-input>
小范 authored
1551 1552 1553 1554 1555 1556 1557 1558
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1559
                                            <el-input disabled auto-complete="off" placeholder="总计" size="mini"></el-input>
小范 authored
1560 1561 1562 1563 1564 1565 1566 1567
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="6" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1568 1569 1570
                                            <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>
小范 authored
1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
                                            <el-button disabled type="primary" plain size="mini" style="width: 100%;text-align: left">尺寸</el-button>
                                            <!--                                <el-input  auto-complete="off" placeholder="尺寸(长*宽*高*件数)" size="mini"></el-input>-->
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1585
                                            <el-input disabled auto-complete="off" placeholder="体积" size="mini"></el-input>
小范 authored
1586 1587 1588 1589 1590 1591
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1592
                                            <el-input disabled auto-complete="off" placeholder="其他" size="mini"></el-input>
小范 authored
1593 1594 1595 1596 1597 1598
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <!--                    付款信息-->
小范 authored
1599
                        <el-row style="padding-top: 10px">
小范 authored
1600 1601 1602
                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5">
                                <el-row style="border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                    <el-col :span="16"  style="font-size: 12px">
小范 authored
1603
                                        <el-radio  disabled v-model="addForm.cvd.cvd_charge_prepaid" label="PP" value="PP">预付 Prepaid</el-radio>
小范 authored
1604 1605
                                    </el-col>
                                    <el-col :span="4" style="font-size: 12px;margin-left: 25px">
小范 authored
1606
                                        <el-radio disabled v-model="addForm.cvd.cvd_charge_prepaid" label="CC" value="CC">到付 Collect</el-radio>
小范 authored
1607 1608 1609 1610
                                    </el-col>
                                </el-row>
                                <el-row style="padding-top: 20px">
                                    <el-col :span="7" style="border-right:  1px solid #a5a5a5">
小范 authored
1611
                                        <el-input  disabled v-model="addForm.hbs.hbs_weight" auto-complete="off" placeholder="计费重量" size="mini"></el-input>
小范 authored
1612 1613 1614 1615 1616 1617 1618
                                    </el-col>
                                    <el-col :span="10"  style="border-right:  1px solid #a5a5a5;text-align: center">
                            <span style="font-size: 12px">
                                Weight Charge
                            </span>
                                    </el-col>
                                    <el-col :span="7">
小范 authored
1619
                                        <el-input  disabled v-model="addForm.hbs.hbs_weight" auto-complete="off" placeholder="计费重量" size="mini"></el-input>
小范 authored
1620 1621 1622 1623 1624 1625 1626 1627 1628 1629
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Other Charges
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1630
                                            <el-input  disabled auto-complete="off" placeholder="其他费用" size="mini"></el-input>
小范 authored
1631 1632 1633 1634 1635 1636 1637 1638 1639
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <el-row  style="padding-top: 10px">
                            <el-col :span="10" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5">
                                <el-row style="border-bottom: 1px solid #a5a5a5;margin-top: 15px">
                                    <el-col :span="7" style="border-right:  1px solid #a5a5a5">
小范 authored
1640
                                        <el-input   disabled auto-complete="off" placeholder="附加费" size="mini"></el-input>
小范 authored
1641 1642 1643 1644 1645 1646 1647
                                    </el-col>
                                    <el-col :span="10"  style="border-right:  1px solid #a5a5a5;text-align: center">
                            <span style="font-size: 12px">
                                Valuation Charge
                            </span>
                                    </el-col>
                                    <el-col :span="7">
小范 authored
1648
                                        <el-input   disabled auto-complete="off" placeholder="附加费" size="mini"></el-input>
小范 authored
1649 1650 1651 1652
                                    </el-col>
                                </el-row>
                                <el-row style="border-bottom: 1px solid #a5a5a5;margin-top: 30px">
                                    <el-col :span="7" style="border-right:  1px solid #a5a5a5">
小范 authored
1653
                                        <el-input  disabled auto-complete="off" placeholder="税款" size="mini"></el-input>
小范 authored
1654 1655 1656 1657 1658 1659 1660
                                    </el-col>
                                    <el-col :span="10"  style="border-right:  1px solid #a5a5a5;text-align: center">
                            <span style="font-size: 12px">
                                Tax
                            </span>
                                    </el-col>
                                    <el-col :span="7">
小范 authored
1661
                                        <el-input   disabled auto-complete="off" placeholder="税款" size="mini"></el-input>
小范 authored
1662 1663 1664 1665
                                    </el-col>
                                </el-row>
                                <el-row  style="border-bottom: 1px solid #a5a5a5;margin-top: 30px">
                                    <el-col :span="7" style="border-right:  1px solid #a5a5a5">
小范 authored
1666
                                        <el-input   disabled auto-complete="off" placeholder="其他应付代理人合计" size="mini"></el-input>
小范 authored
1667 1668 1669 1670 1671 1672 1673
                                    </el-col>
                                    <el-col :span="10"  style="border-right:  1px solid #a5a5a5;text-align: center">
                            <span style="font-size: 12px">
                                Total other Charge Due Agent
                            </span>
                                    </el-col>
                                    <el-col :span="7">
小范 authored
1674
                                        <el-input  disabled auto-complete="off" placeholder="其他应付代理人合计" size="mini"></el-input>
小范 authored
1675 1676 1677 1678
                                    </el-col>
                                </el-row>
                                <el-row style="margin-top: 30px;margin-bottom: -2px">
                                    <el-col :span="7" style="border-right:  1px solid #a5a5a5;margin-bottom: 2px">
小范 authored
1679
                                        <el-input   disabled auto-complete="off" placeholder="其他应付承运人合计" size="mini"></el-input>
小范 authored
1680 1681 1682 1683 1684 1685 1686
                                    </el-col>
                                    <el-col :span="10"  style="border-right:  1px solid #a5a5a5;text-align: center">
                            <span style="font-size: 12px">
                                Total other Charge Due Carrier
                            </span>
                                    </el-col>
                                    <el-col :span="7">
小范 authored
1687
                                        <el-input  disabled auto-complete="off" placeholder="其他应付承运人合计" size="mini"></el-input>
小范 authored
1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row  style="margin-bottom: 15px">
                                    <el-col style="width: 98%">
                            <span style="font-size: 12px">
                                Shipper certifies that the particulars on the face hereof are correct and that insofar as any part of the consignment contains dangerous goods, such part is properly described by name and is in proper condition for carriage by air according to the applicable Dangerous Goods Regulations.
                            </span>
                                    </el-col>
                                </el-row>
                                <el-row  style="margin-bottom: -12px">
                                    <el-col :span="10">
                            <span style="font-size: 12px">
                                Signature of shipper or His Agent
                            </span>
                                    </el-col>
                                    <el-col :span="14">
                                        <el-form-item>
小范 authored
1707
                                            <el-input disabled style="width: 95%"  auto-complete="off" placeholder="托运人或其代理人签字" size="mini"></el-input>
小范 authored
1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <el-row  style="padding-top: 10px">
                            <el-col :span="3" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Total prepaid
                    </span>
                                <el-row>
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1721
                                            <el-input   disabled auto-complete="off" placeholder="预付总计" size="mini"></el-input>
小范 authored
1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="4" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px;text-align: center">
                            <span style="font-size: 12px">
                        Currency Conversion Rate
                    </span>
                                <el-row>
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1733
                                            <el-input  disabled auto-complete="off" placeholder="货币兑换率" size="mini"></el-input>
小范 authored
1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="3"  style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Total Collect
                    </span>
                                <el-row>
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1745
                                            <el-input  disabled auto-complete="off" placeholder="到付费用总额" size="mini"></el-input>
小范 authored
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>

                            <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
                                <el-row style="margin-top: -2px">
                                    <el-col :span="6">
                            <span style="font-size: 12px">
                        Executed on(Date)
                    </span>
                                    </el-col>
                                    <el-col :span="5">
                            <span style="font-size: 12px">
                        At(place)
                    </span>
                                    </el-col>
                                    <el-col  :span="12">
                            <span style="font-size: 12px">
                        Signature of Issuing Carrier or Its Agent
                    </span>
                                    </el-col>
                                </el-row>
                                <el-row style="margin-top: 31px;margin-bottom: -8px">
                                    <el-col :span="6">
                                        <el-form-item>
小范 authored
1772
                                            <el-date-picker  disabled
小范 authored
1773 1774 1775 1776 1777 1778 1779 1780 1781 1782
                                                    type="date" style="width: auto"
                                                    size="mini"
                                                    format="yyyy-MM-dd"
                                                    value-format="yyyy-MM-dd"
                                                    placeholder="选择日期">
                                            </el-date-picker>
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="5" style="margin-left: 10px">
                                        <el-form-item>
小范 authored
1783
                                            <el-input  disabled auto-complete="off" placeholder="签署地址" size="mini"></el-input>
小范 authored
1784 1785 1786 1787
                                        </el-form-item>
                                    </el-col>
                                    <el-col  :span="12" style="margin-left: 10px">
                                        <el-form-item>
小范 authored
1788
                                            <el-input  disabled auto-complete="off" placeholder="签署人或其代理人签字,盖章" size="mini"></el-input>
小范 authored
1789 1790 1791 1792 1793
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
小范 authored
1794
                        <el-row style="padding-top: 10px">
小范 authored
1795 1796 1797 1798 1799 1800 1801
                            <el-col :span="4" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        CC charges in Dest. Currency
                    </span>
                                <el-row>
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1802
                                            <el-input  disabled auto-complete="off" placeholder="目的地CC费用。通货" size="mini"></el-input>
小范 authored
1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="2"  style="border-bottom:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        For Carrie's Use Only at Destination
                    </span>
                            </el-col>
                            <el-col :span="4" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 5px">
                            <span style="font-size: 12px">
                        Charges at Destination
                    </span>
                                <el-row>
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1819
                                            <el-input  disabled auto-complete="off" placeholder="目的地收费" size="mini"></el-input>
小范 authored
1820 1821 1822 1823 1824 1825 1826 1827 1828 1829
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                            <el-col :span="4" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px;padding-right: 5px">
                            <span style="font-size: 12px">
                        Total Collection Charges
                    </span>
                                <el-row style="margin-bottom: -8px">
                                    <el-form-item>
小范 authored
1830
                                        <el-input  disabled auto-complete="off" placeholder="总收款费用" size="mini"></el-input>
小范 authored
1831 1832 1833 1834 1835 1836 1837
                                    </el-form-item>
                                </el-row>
                            </el-col>
                            <el-col :span="8" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">

                            </el-col>
                        </el-row>
小范 authored
1838
                        <el-row style="margin-top: 40px;margin-left: 40%">
小范 authored
1839 1840 1841 1842 1843 1844 1845 1846 1847
                            <el-form-item>
                                <el-button type="primary" @click="addFhl">提交</el-button>
                            </el-form-item>
                        </el-row>
                    </el-form>
                </div>
            </el-tab-pane>
        </el-tabs>
<!--        主单获取尺寸信息-->
小范 authored
1848
        <el-dialog title="尺寸信息" :visible.sync="dialogTableVisible" width="80%" v-dialog-drag>
1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902
            <el-row :gutter="10">
                <el-col :span="18">
                    <el-table :data="gridData" :cell-style="{textAlign:'center'}" show-summary
                              :summary-method="getSummaries"
                              style="border-radius: 10px 10px 0px 0px;line-height: 25px" border
                              :header-cell-style="{background:'#6F8294',color:'#FFFFFF',textAlign:'center'}">
                        <el-table-column label="长(CM)" width="" prop="long">
                            <template slot-scope="scope">
                                <el-input v-model="scope.row.long" placeholder="" @input="handleEdit(scope.$index, scope.row)"/>
                            </template>
                        </el-table-column>
                        <el-table-column label="宽(CM)" width="" prop="wide">
                            <template slot-scope="scope">
                                <el-input  v-model="scope.row.wide" placeholder="" @input="handleEdit(scope.$index, scope.row)"/>
                            </template>
                        </el-table-column>
                        <el-table-column label="高(CM)" prop="height">
                            <template slot-scope="scope">
                                <el-input  v-model="scope.row.height" placeholder="" @input="handleEdit(scope.$index, scope.row)"/>
                            </template>
                        </el-table-column>
                        <el-table-column label="件数" width="" prop="pic">
                            <template slot-scope="scope">
                                <el-input  v-model="scope.row.pic" placeholder="" @input="handleEdit(scope.$index, scope.row)"/>
                            </template>
                        </el-table-column>
                        <el-table-column label="体积(M³)" width="" prop="vol">
                            <template slot-scope="scope">
                                <el-input  v-model="scope.row.vol" placeholder="" :disabled="true"/>
                            </template>
                        </el-table-column>
                        <el-table-column label="重量" prop="weight">
                            <template slot-scope="scope">
                                <el-input  v-model="scope.row.weight" placeholder=""/>
                            </template>
                        </el-table-column>
                        <el-table-column fixed="right"  label="操作">
                            <template slot-scope="scope">
                                <!--                        v-if="scope.$index < gridData.length - 1"-->
                                <el-button type="danger"  plain @click="deleteRows(scope)">删 除</el-button>
                            </template>
                        </el-table-column>
                    </el-table>
                    <div align="center" style="margin: 10px">
                        <el-button @click="addRows()" size="mini" plain style="width: 100%">+添 加</el-button>
                    </div>
                    <div align="center" style="margin: 15px">
                        <el-button type="primary" size="small"  @click="dialogTableVisible = false">取 消</el-button>
                        <el-button type="success" size="small"  @click="addVol()">保 存</el-button>
                    </div>
                </el-col>
                <el-col :span="6">
                    <el-tooltip class="item" effect="dark" content="可以将整体的尺寸信息复制进来,一行一个尺寸信息,系统会自动识别" placement="top-start">
                        <el-input
小范 authored
1903
                                :autosize="{ minRows: 7, maxRows: 20}"
1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916
                                resize = "vertical"
                                type="textarea"
                                placeholder="快速尺寸信息录入生成"
                                v-model="dimension_textarea"
                                @change="convertAndCalculateVolume"
                        >
                        </el-input>
                    </el-tooltip>

                </el-col>
            </el-row>
            <el-row>&nbsp; </el-row>
小范 authored
1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933
        </el-dialog>
        <!--            列表区域  获取发货人-->
        <el-dialog :visible.sync="dialogVisible" width="70%">
            <Consigner
                    ref="consigner"
                    v-on:consigerrow="consigerSelect"
            ></Consigner>
        </el-dialog>
        <!--            列表区域   获取收货人-->
        <el-dialog :visible.sync="dialogVisible1" width="70%">
            <Consignee
                    ref="consignee"
                    v-on:consigeerow="consigeeSelect"
            ></Consignee>
        </el-dialog>

    </el-card>
小范 authored
1934 1935 1936
</template>

<script>
小范 authored
1937
    import {fhl, fwb, selectawabByid, selectByKey, selectList} from '../../api/remote_interface/byont_import';
小范 authored
1938 1939
    import Consigner from "../consigner/consigner"
    import Consignee from "../consigner/consignee"
1940 1941
    import {loginedUserInfo} from "../../api/user";
    import {getList} from "../../api/consigner/consigner";
小范 authored
1942
    import jsutil from "@/common/js/util";
小范 authored
1943
小范 authored
1944
    export default {
小范 authored
1945 1946 1947 1948 1949 1950 1951 1952
        components: {
            Consigner,Consignee
        },
        data(){
            return {
                hidden: ['a1', 'a2', 'a3', 'a4', 'a5','a6'],
                // 主单
                activeName: 'first',
1953
                dimension_textarea: '',
小范 authored
1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121
                form:{
                    acc:[],
                    agt:{
                        agt_ADR:'',
                        agt_IATA_number:'',
                        agt_account_number:'',
                        agt_name:'',
                        agt_participant_id:'',
                    },
                    bill:{
                        destination:'',
                        origin:'',
                        quantity_density:'',
                        quantity_picecs:'',
                        //体积
                        quantity_volume:'',
                        quantity_volume_code:'MC',
                        quantity_weight:'',
                        quantity_weight_code:'K',
                        waybillNum:'',
                    },
                    cne:{
                        cne_contacts:[],
                        cne_account_number:'',
                        cne_adr:'',
                        cne_country:'',
                        cne_loc_place:'',
                        cne_loc_province:'',
                        cne_name:'',
                        cne_postcode:'',
                    },
                    cvd:{
                        cvd_amount_of_insurance:'XXX',
                        cvd_charge_code:'',
                        cvd_charge_prepaid:'PP',
                        cvd_currency_code:'',
                        cvd_value_for_carriage:'NVD',
                        cvd_value_for_customs:'NCV',
                    },
                    flt:{
                        cariier:'',
                        day:'',
                        flightNumber:'',
                    },
                    isu:{
                        isu_day_mounth_year:'',
                        isu_place_or_airport_code:'',
                        isu_signature:'',
                    },
                    nfy:{
                        nfy_contacts:[],
                        nfy_ADR:'',
                        nfy_LOC_city:'',
                        nfy_LOC_province:'',
                        nfy_country:'',
                        nfy_name:'',
                        nfy_postcode:''
                    },
                    oci:[
                        // {
                        //     oci_country_code:'',
                        //     oci_csrc_id:'',
                        //     oci_csrc_info:'',
                        //     oci_information_id:''
                        // }
                    ],
                    osi:[{
                        osi_text:[],
                    }],
                    oth:{
                        oth_amount:'',
                        oth_charge_code:'',
                        oth_charges:'',
                        oth_entitlement_code:''
                    },
                    ppd:{
                        ppd_charge_summary_total:'',
                        ppd_other_charges_due_agent:'',
                        ppd_other_charges_due_carrier:'',
                        ppd_taxes_amount:'',
                        ppd_valuation_amount:'',
                        ppd_weight_amount:'',
                    },
                    ref:{
                        ref_address:'CGOFDEE',
                        ref_file_reference:'',
                        ref_participant_airport:'',
                        ref_participant_code:'',
                        ref_participant_id:'',
                    },
                    rtd:
                        {
                            dimensions:[],
                            rtd_charge_weight:'',
                            rtd_combination_point:'',
                            rtd_commodity_NUM:'',
                            rtd_goods_DES:'',
                            rtd_goods_consol_DES:'',
                            rtd_gross_weight:'',
                            rtd_number_pieces:'',
                            rtd_rate_charge:'',
                            rtd_rate_class:'Q',
                            rtd_total:'',
                            //体积
                            rtd_volume:'',
                            rtd_volume_code:'MC',
                        }
                    ,
                    rtg:{
                        destinationAirport:'',
                        destinationCarrier:'',
                        onwardAirport:'',
                        onwardCarrier:'',
                    },
                    shp:{
                        shp_contacts:[],
                        shp_account_number:'',
                        shp_adr:'',
                        shp_country:'',
                        shp_loc_place:'',
                        shp_loc_province:'',
                        shp_name:'',
                        shp_postcode:'',
                    },
                    ssr:{
                        ssr_request_content:[],
                    },
                    cer:{
                        cer_signature:''
                    }
                },
                cne_contact:{
                    contact_id:'TE',
                    contact_number:'',
                },
                shp_contact:{
                    contact_id:'TE',
                    contact_number:'',
                },
                nfy_contact:{
                    contact_id:'TE',
                    contact_number:''
                },
                shp_oci:{
                    oci_country_code: "",
                    oci_csrc_id: "T",
                    oci_information_id: "SHP",
                    oci_csrc_info: ""
                },
                cne_oci:{
                    oci_country_code: "",
                    oci_csrc_id: "T",
                    oci_information_id: "CNE",
                    oci_csrc_info: ""
                },
                acc_info:{
                    acc_info:'',
                    acc_info_id:'GEN',
                },
                apply_formRules:{
                    bill:{
                        waybillNum: [
                            { required: true, message: '请输入主运单号', trigger: 'blur' },
                        ],
                    },
                },
                // 分单
                addForm:{
小范 authored
2122
                    companyName1:'',
小范 authored
2123
                    fhl:{
2124 2125 2126 2127 2128 2129
                        waybillNum:'',
                        quantity_weight_code:'',
                        quantity_weight:'',
                        quantity_picecs:'',
                        origin:'',
                        destination:'',
小范 authored
2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166
                    },
                    shp:{
                        shp_detail_identifier:'TE',
                        shp_nam_name:'',
                        shp_loc_place:'',
                        shp_location_post:'',
                        shp_location_iso:'',
                        shp_detail_number:'',
                        shp_adr_street:''
                    },
                    cne:{
                        cne_detail_identifier:'TE',
                        cne_nam_name:'',
                        cne_loc_place:'',
                        cne_location_post:'',
                        cne_location_iso:'',
                        cne_detail_number:'',
                        cne_adr_street:'',
                        cne_loc_province:'',
                        shp_loc_province:'',
                        shp_detail_identifier:''
                    },
                    cvd:{
                        cvd_value_for_carriage:'NVD',
                        cvd_value_for_customs:'NCV',
                        cvd_amount_of_insurance:'XXX',
                        cvd_charge_prepaid:'PP',
                        cvd_charge_code:'',
                        cvd_currency_code:'',
                    },
                    hbs:{
                        hbs_origin:'',
                        hbs_destination:'',
                        hbs_manifest_description:'',
                        hbs_pieces:'',
                        hbs_serial_number:'',
                        hbs_weight:'',
小范 authored
2167
                        hbs_weight_code:'K',
小范 authored
2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198
                        hbs_slac:''
                    },
                    txt:{
                        txt_free_text:''
                    },
                    hts:{
                        hts_commodity_code:''
                    },
                    oci:[],
                },
                shp_aeo:{
                    oci_country_code: "",
                    oci_customs: "T",
                    oci_information_identifier: "SHP",
                    oci_supplementary: ""
                },
                cne_aeo:{
                    oci_country_code: "",
                    oci_customs: "T",
                    oci_information_identifier: "CNE",
                    oci_supplementary: ""
                },
                apply_addFormRules:{
                    fhl:{
                        waybillNum: [
                            { required: true, message: '请输入主运单号', trigger: 'blur' },
                        ],
                    },
                    hbs:{
                        hbs_serial_number: [
                            { required: true, message: '请输入分运单号', trigger: 'blur' },
小范 authored
2199 2200
                            { min: 1, max: 12, message: '长度是1-13个字符', trigger: 'blur' }
                        ],
小范 authored
2201
小范 authored
2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221
                    },
                },
                dialogTableVisible:false,
                gridData:[],
                dialogVisible:false,
                dialogVisible1:false,
            }
        },
        methods:{
            //标签页
            handleClick(tab, event) {
                console.log(tab, event);
            },
            //添加行
            addRows() {
                const circle = this.gridData[0];
                const newObj = {};
                for (let key in circle) { //把第一个对象的属性都赋值给新对象newObj  然后每个属性的值都设置为空;
                    newObj[key] = '';
                }
小范 authored
2222 2223
                // this.gridData.splice(this.gridData.length - 1, 0, newObj);
                this.gridData.push(newObj);
小范 authored
2224 2225 2226 2227 2228 2229 2230
            },
            //删除行
            deleteRows(scope) {
                this.gridData.splice(scope.$index, 1);
            },
            //求体积
            handleEdit(index, row) {
小范 authored
2231
                console.log("index="+index)
小范 authored
2232 2233 2234 2235 2236 2237 2238 2239 2240 2241
                if(row.long && row.wide && row.height && row.pic){
                    row.vol = Number(row.long)*Number(row.wide)*Number(row.height)*Number(row.pic)/1000000
                    let measurement_info = {
                        dim_measurement_code:'CMT',
                        //尺寸信息
                        dim_measurement_info:"" + row.long + "-" + row.wide + "-" + row.height + "/" + row.pic,
                        dim_weight:'',
                        dim_weightcode:'',
                    };
                    this.form.rtd.dimensions[index] = measurement_info;
小范 authored
2242 2243 2244 2245
                    // console.log(this.form.rtd.dimensions);
                    console.log("DIM数组加入了新的行数据>>"+JSON.stringify(this.form.rtd.dimensions))
                }else {
                    console.error("DIM数组没加数据-ERRRRRR")
小范 authored
2246
                }
小范 authored
2247
小范 authored
2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263
            },
            //合计体积
            getSummaries(param) {
                const {columns, data} = param
                const sums = []
                columns.forEach((column, index) => {
                    if (index === 0) {
                        sums[index] = '合计:'
                    }
                    else if (index == 4 ) {
                        const values = data.map(item => Number(item[column.property]))
                        if (!values.every(value => isNaN(value))) {
                            sums[index] = values.reduce((prev, curr) => {
                                const value = Number(curr)
                                if (!isNaN(value)) {
                                    // 保存了两位小数点
2264
                                    return Math.round((prev + curr) * 100) / 100;
小范 authored
2265 2266 2267

                                } else {
                                    // 保存了两位小数点
2268
                                    return Math.round(prev * 100) / 100;
小范 authored
2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289
                                }
                            }, 0)
                            sums[index] += '';
                        } else {
                            sums[index] = '0'
                        }
                    } else {
                        // sums[index] = ''
                    }
                })
                this.form.bill.quantity_volume = sums[4];
                return sums;
            },
            //保存尺寸   关闭弹框
            addVol(){
                this.dialogTableVisible = false;
            },
            // 主单
            // 获取发货人信息
            getShpFwb() {
                this.dialogVisible = true;
2290
                this.$refs.consigner.getConsignee();
小范 authored
2291 2292 2293 2294
            },
            // 获取收货人信息
            getCneFwb() {
                this.dialogVisible1 = true;
2295
                this.$refs.consignee.getConsignee();
小范 authored
2296 2297 2298 2299 2300
            },
            // 分单
            // 获取发货人信息
            getShp() {
                this.dialogVisible = true;
2301
                this.$refs.consigner.getConsignee();
小范 authored
2302 2303 2304 2305
            },
            // 获取收货人信息
            getCne() {
                this.dialogVisible1 = true;
2306
                this.$refs.consignee.getConsignee();
小范 authored
2307 2308 2309 2310 2311 2312 2313 2314 2315 2316
            },
            //发货人选中事件处理方法
            consigerSelect(row){
                if (this.activeName=='first'){
                    this.form.shp.shp_name = row.companyName;
                    this.form.shp.shp_contacts.contact_number = row.conPhone;
                    this.form.shp.shp_postcode = row.conPostcode;
                    this.form.shp.shp_loc_place = row.conCity;
                    this.form.shp.shp_country = row.country;
                    this.form.shp.shp_adr = row.conAddress;
2317
                    this.shp_oci.oci_csrc_info=row.enterprise;
小范 authored
2318
                    this.shp_oci.oci_country_code=row.country;
小范 authored
2319
                    // this.form.oci.push(this.shp_oci);
小范 authored
2320
                    this.shp_contact.contact_number=row.conPhone;
小范 authored
2321
                    // this.form.shp.shp_contacts.push(this.shp_contact);
2322
                    this.$refs.consigner.consigner_data();
小范 authored
2323 2324 2325 2326 2327 2328 2329 2330 2331
                    this.dialogVisible = false;
                }
                else if(this.activeName=='second'){
                    this.addForm.shp.shp_nam_name = row.companyName;
                    this.addForm.shp.shp_detail_number = row.conPhone;
                    this.addForm.shp.shp_location_post = row.conPostcode;
                    this.addForm.shp.shp_loc_place = row.conCity;
                    this.addForm.shp.shp_location_iso = row.country;
                    this.addForm.shp.shp_adr_street = row.conAddress;
2332
                    this.shp_aeo.oci_supplementary=row.enterprise;
小范 authored
2333
                    this.shp_aeo.oci_country_code=row.country;
小范 authored
2334
                    // this.addForm.oci.push(this.shp_aeo);
2335
                    this.$refs.consigner.consigner_data();
小范 authored
2336 2337 2338
                    this.dialogVisible = false;
                }
                else{
2339
                    this.$refs.consigner.consigner_data();
小范 authored
2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351
                    this.dialogVisible = false;
                }
            },
            //收货人选中事件处理方法
            consigeeSelect(row){
                if(this.activeName=='first'){
                    this.form.cne.cne_name = row.companyName;
                    this.form.cne.cne_contacts.contact_number = row.conPhone;
                    this.form.cne.cne_postcode = row.conPostcode;
                    this.form.cne.cne_loc_place = row.conCity;
                    this.form.cne.cne_country = row.country;
                    this.form.cne.cne_adr = row.conAddress;
2352
                    this.cne_oci.oci_csrc_info=row.enterprise;
小范 authored
2353
                    this.cne_oci.oci_country_code=row.country;
小范 authored
2354
                    // this.form.oci.push(this.cne_oci);
小范 authored
2355
                    this.cne_contact.contact_number=row.conPhone;
小范 authored
2356
                    // this.form.cne.cne_contacts.push(this.cne_contact);
2357
                    this.$refs.consignee.consignee_data();
小范 authored
2358 2359 2360 2361 2362 2363 2364 2365 2366
                    this.dialogVisible1 = false;
                }
                else if(this.activeName=='second'){
                    this.addForm.cne.cne_nam_name = row.companyName;
                    this.addForm.cne.cne_detail_number = row.conPhone;
                    this.addForm.cne.cne_location_post = row.conPostcode;
                    this.addForm.cne.cne_loc_place = row.conCity;
                    this.addForm.cne.cne_location_iso = row.country;
                    this.addForm.cne.cne_adr_street = row.conAddress;
2367
                    this.cne_aeo.oci_supplementary=row.enterprise;
小范 authored
2368
                    this.cne_aeo.oci_country_code=row.country;
小范 authored
2369
                    // this.addForm.oci.push(this.cne_aeo);
2370
                    this.$refs.consignee.consignee_data();
小范 authored
2371 2372 2373
                    this.dialogVisible1 = false;
                }
                else{
2374
                    this.$refs.consignee.consignee_data();
小范 authored
2375 2376 2377 2378 2379
                    this.dialogVisible1 = false;
                }
            },
            //新增分运单
            addFhl() {
2380 2381
                this.shp_aeo.oci_country_code=this.addForm.shp.shp_location_iso;
                this.cne_aeo.oci_country_code=this.addForm.cne.cne_location_iso;
小范 authored
2382 2383
                this.addForm.oci.push(this.shp_aeo);
                this.addForm.oci.push(this.cne_aeo);
小范 authored
2384 2385 2386
                /*进行表单的预验证*/
                this.$refs.apply_addFormRef.validate(valid => {
                    // 未通过,表单预校验
2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456
                    if (valid) {
                        fhl(this.addForm).then((response) => {
                            let res = response.data;
                            //添加调度记录信息,失败
                            if (res.code !== '200'){
                                return this.$message.error(res.msg);
                            }
                            this.$message.success(res.msg);
                            Object.assign(this.$data, this.$options.data());
                            // this.addForm = {
                            //     fhl:{
                            //         waybillNum:'',
                            //             quantity_weight_code:'',
                            //             quantity_weight:'',
                            //             quantity_picecs:'',
                            //             origin:'',
                            //             destination:'',
                            //     },
                            //     shp:{
                            //         shp_detail_identifier:'TE',
                            //             shp_nam_name:'',
                            //             shp_loc_place:'',
                            //             shp_location_post:'',
                            //             shp_location_iso:'',
                            //             shp_detail_number:'',
                            //             shp_adr_street:''
                            //     },
                            //     cne:{
                            //         cne_detail_identifier:'TE',
                            //             cne_nam_name:'',
                            //             cne_loc_place:'',
                            //             cne_location_post:'',
                            //             cne_location_iso:'',
                            //             cne_detail_number:'',
                            //             cne_adr_street:'',
                            //             cne_loc_province:'',
                            //             shp_loc_province:'',
                            //             shp_detail_identifier:''
                            //     },
                            //     cvd:{
                            //         cvd_value_for_carriage:'NVD',
                            //             cvd_value_for_customs:'NCV',
                            //             cvd_amount_of_insurance:'XXX',
                            //             cvd_charge_prepaid:'PP',
                            //             cvd_charge_code:'',
                            //             cvd_currency_code:'',
                            //     },
                            //     hbs:{
                            //         hbs_origin:'',
                            //             hbs_destination:'',
                            //             hbs_manifest_description:'',
                            //             hbs_pieces:'',
                            //             hbs_serial_number:'',
                            //             hbs_weight:'',
                            //             hbs_weight_code:'',
                            //             hbs_slac:''
                            //     },
                            //     txt:{
                            //         txt_free_text:''
                            //     },
                            //     hts:{
                            //         hts_commodity_code:''
                            //     },
                            //     oci:[],
                            // };
                        }).catch(error => {
                            this.addForm.oci=[];
                            this.$message.error(error.toString());
                        });
                    }else{
小范 authored
2457
                        this.addForm.oci=[];
2458 2459 2460
                        return false;
                    }
小范 authored
2461 2462 2463 2464 2465 2466 2467 2468 2469 2470
                })
            },
            //新增主运单
            addFwb() {
                this.form.rtg.destinationCarrier=this.form.flt.cariier;
                this.form.rtg.destinationAirport=this.form.bill.destination;
                this.form.rtd.rtd_gross_weight=this.form.bill.quantity_weight;
                this.form.rtd.rtd_number_pieces=this.form.bill.quantity_picecs;
                this.form.rtd.rtd_volume=this.form.bill.quantity_volume;
                this.form.ppd.ppd_weight_amount=this.form.ppd.ppd_charge_summary_total;
小范 authored
2471 2472 2473 2474 2475 2476
                this.form.acc=[];
                this.form.oci=[];
                this.form.shp.shp_contacts=[];
                this.form.cne.cne_contacts=[];
                this.shp_oci.oci_country_code=this.form.shp.shp_country;
                this.cne_oci.oci_country_code=this.form.cne.cne_country;
小范 authored
2477
                this.form.acc.push(this.acc_info);
小范 authored
2478 2479 2480 2481
                this.form.oci.push(this.shp_oci);
                this.form.shp.shp_contacts.push(this.shp_contact);
                this.form.oci.push(this.cne_oci);
                this.form.cne.cne_contacts.push(this.cne_contact);
小范 authored
2482 2483 2484
                /*进行表单的预验证*/
                this.$refs.apply_formRef.validate(valid => {
                    // 未通过,表单预校验
2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499
                    if (valid) {
                        fwb(this.form).then((response) => {
                            let res = response.data;
                            //添加调度记录信息,失败
                            if (res.code !== '200'){
                                return this.$message.error(res.msg);
                            }
                            this.$message.success(res.msg);
                            Object.assign(this.$data, this.$options.data());

                        }).catch(error => {
                            this.form.oci=[];
                            this.$message.error(error.toString());
                        });
                    }else{
小范 authored
2500
                        this.form.oci=[];
2501 2502
                        return false;
                    }
小范 authored
2503 2504
                })
            },
2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515
            //获取主运单信息
            blur(){
                selectawabByid({id: this.addForm.fhl.waybillNum}).then((res) => {
                    if (res.data.code == '200'){
                        if(res.data.data != null&& res.data.data !=''){
                            this.addForm.fhl.quantity_weight = res.data.data.quantity_weight;
                            this.addForm.fhl.quantity_picecs = res.data.data.quantity_picecs;
                            this.addForm.fhl.origin = res.data.data.origin;
                            this.addForm.fhl.destination = res.data.data.destination;
                            this.addForm.fhl.quantity_weight_code = res.data.data.quantity_weight_code;
                        }
小范 authored
2516
                        return this.$message.success(res.data.msg);
2517 2518 2519 2520 2521
                    }
                }).catch((error) => {
                    alert(error);
                });
            },
小范 authored
2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547
            getAWBA(){
                const _this = this
                selectByKey({id:this.$route.query.id}).then((response) => {
                    const res = response.data
                    // console.log(response.data)
                    if (res.code !== '200') {
                        return _this.$message.error('获取消息收发记录,失败!')
                    }
                    // 获取列表数据
                    _this.form = res.data
                    for (const i of res.data.shp.shp_contacts) {
                        _this.shp_contact=i
                    }
                    for (const i of res.data.cne.cne_contacts) {
                        _this.cne_contact=i
                    }
                    for (const i of res.data.oci) {
                        if(i.oci_information_id=="SHP"){
                            _this.shp_oci=i;
                        }else{
                            _this.cne_oci=i;
                        }
                    }
                    for (const i of res.data.acc) {
                        _this.acc_info=i
                    }
小范 authored
2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577
                    //获取dmi数组
                    let dim = _this.form.rtd.dimensions
                    if (dim){
                        dim.forEach((item,index,arr)=>{
                            let dim_form = {
                                long:"",
                                wide:"",
                                height:"",
                                pic:"",
                                vol:"",
                                weight:""
                            };
                            dim_form.weight = item.dim_weight;
                            if(item.dim_measurement_info){
                                let measures =  item.dim_measurement_info.split("-");
                                if (measures.length>2){
                                    dim_form.long = measures[0];
                                    dim_form.wide = measures[1];
                                    let height_piece = measures[2];
                                    let h_p = height_piece.split("/");
                                    if(h_p.length>1){
                                        dim_form.height= h_p[0];
                                        dim_form.pic = h_p[1];
                                        dim_form.vol = dim_form.long*dim_form.wide*dim_form.height*dim_form.pic/1000000;
                                    }
                                    _this.gridData.push(dim_form)
                                }
                            }
                        })
                    }
小范 authored
2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605
                    _this.$message.success(res.msg)
                }).catch(error => {
                    // 关闭加载
                    _this.$message.error(error.toString())
                })
            },
            getAWBH(){
                const _this = this
                selectByKey({id:this.$route.query.id}).then((response) => {
                    const res = response.data
                    if (res.code !== '200') {
                        return _this.$message.error('获取消息收发记录,失败!')
                    }
                    // 获取列表数据
                    _this.addForm = res.data
                    for (const i of res.data.oci) {
                        if(i.oci_information_id=="SHP"){
                            _this.shp_aeo=i;
                        }else{
                            _this.cne_aeo=i;
                        }
                    }
                    _this.$message.success(res.msg)
                }).catch(error => {
                    // 关闭加载
                    _this.$message.error(error.toString())
                })
                // console.log("获取分单的方法执行了")
小范 authored
2606
            },
2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676
            //批量尺寸信息识别
            convertAndCalculateVolume() {
                let _this= this;
                this.$confirm('是否需要根据录入的尺寸信息生成详细的尺寸计算数据表,此操作会往表里面添加新的尺寸数据', '提示', {
                    confirmButtonText: '确定',
                    cancelButtonText: '取消',
                    type: 'warning'
                }).then(() => {
                    let text = this.dimension_textarea.trim().replaceAll("*","x");
                    text = text.replaceAll("CM","");
                    text = text.replaceAll("cm","");
                    text = text.replaceAll("X","x");
                    text = text.replaceAll("-","x");
                    //去掉空白字符
                    text = text.replaceAll("/\s/g","");
                    const lines = text.split('\n');
                    let output = '';
                    let totalVolume = 0;

                    for (const line of lines) {
                        //正则校验每行格式
                        const regex = /^([\d\.]+)x([\d\.]+)x([\d\.]+)x([\d\.]+)$/;
                        let l = line.replace(/\s/g, "");
                        if (regex.test(l)) {
                            let dim_form = {
                                long:"",
                                wide:"",
                                height:"",
                                pic:"",
                                vol:"",
                                weight:""
                            };

                            const dimensions = l.trim().split('x');
                            dim_form.long = Number(dimensions[0]);
                            dim_form.wide = Number(dimensions[1]);
                            dim_form.height = Number(dimensions[2]);
                            dim_form.pic = Number(dimensions[3]);

                            dim_form.vol = dim_form.long * dim_form.wide * dim_form.height * dim_form.pic / 1000000;

                            _this.gridData.push(dim_form)
                            totalVolume += dim_form.vol;

                            const formattedDimensions = `${dim_form.long}-${dim_form.wide}-${dim_form.height }/${dim_form.pic}`;

                            output += formattedDimensions + '\n';
                        } else {
                            this.$message({
                                type: 'error',
                                message: '行:'+ line +'尺寸格式错误! 录入信息支持 数字和Xx*- '
                            });
                            return ;
                        }
                    }
                    if (totalVolume>0){
                        totalVolume = Math.floor(totalVolume * 100) / 100;
                    }

                    return {
                        converted: output.trim(),
                        totalVolume: totalVolume
                    };
                }).catch(() => {
                    this.$message({
                        type: 'info',
                        message: '已取消'
                    });
                });
            },
小范 authored
2677 2678
            cancleBtn(){
                Object.assign(this.$data, this.$options.data());
小范 authored
2679
            }
2680
        },
小范 authored
2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691
        activated(){
            if(jsutil.checkNull(this.$route.query.id)){
                if(this.$route.query.id.indexOf("AWBA")==0){
                    this.activeName='first';
                    this.getAWBA();
                }else{
                    this.activeName='second';
                    this.getAWBH();
                }
            }
        }
小范 authored
2692 2693 2694 2695
    }
</script>

<style scoped>
小范 authored
2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708
    .el-input__inner{
        background-color: rgba(236,245,255,0.8) !important;
        border: 0px;
    }
    .el-textarea__inner{
        background-color: rgba(236,245,255,0.7)  !important;
        border-radius: 4px;
    }
    .el-row{
        margin-bottom: -20px;
        display: flex;
        flex-wrap: wrap
    }
小范 authored
2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737
    table {
        width: 90%;
    }
    tbody tr td{
        line-height: 14px;
    }
    tbody tr {
        height: 60px;

    }
    .tb{
        border-top: 0px;
        border-left: 1px solid;
        border-right: 1px solid;
        border-bottom: 1px solid;
    }
    .tl{
        border-top: none;
        border-left: 0px;
        border-right: 0px;
        border-bottom: 0px;
    }
    .tb1{
        border-top: 0px;
        border-left: 0px;
        border-right: 1px solid;
        border-bottom: 0px;
    }
    .tb3{
小范 authored
2738
        border: 0px;
小范 authored
2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752
    }
    .tb4{
        border-top: 0px;
        border-left:  1px solid;
        border-right:   1px solid;
        border-bottom:   1px solid;
    }
    .tb5{
        border-top: 0px;
        border-left:  1px solid;
        border-right: 1px solid;
        border-bottom: 0px;
    }
    .tx{
小范 authored
2753
        border-top: 25px solid white;
小范 authored
2754 2755 2756 2757 2758 2759 2760 2761
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        width: 180px;
        margin-top: -1px;
        display: inline-block;
        margin-left: 40px;
    }
</style>
小范 authored
2762