审查视图

src/views/nav3/Way.vue 178.3 KB
小范 authored
1
<template>
小范 authored
2 3 4 5 6 7 8 9 10 11 12 13 14
    <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">
朱兆平 authored
15
                                    <el-input v-model="form.bill.waybillNum" auto-complete="off" placeholder="主运单号(必填)" @input="handleInput"></el-input>
小范 authored
16 17 18 19
                                </el-form-item>
                            </el-col>
                            <el-col style="margin-left: 30px" :span="2">
                                <el-form-item>
朱兆平 authored
20
                                    <el-input
朱兆平 authored
21
                                        minlength="3" maxlength="3" oninput="this.value=this.value.toUpperCase()"
朱兆平 authored
22 23
                                        @keyup.native="form.bill.origin.replace(/[^A-Za-z]/g,'')"
                                        v-model="form.bill.origin" auto-complete="off" placeholder="起始站" size="mini"></el-input>
小范 authored
24 25
                                </el-form-item>
                            </el-col>
小范 authored
26 27 28
                            <el-col style="margin-left: 30px" :span="2">
                                <el-button type="warning" plain @click="cancleBtn">清空</el-button>
                            </el-col>
小范 authored
29 30 31 32 33 34 35 36 37 38
                        </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
39
                                    <el-col style="width: 38%">
小范 authored
40
                                        <el-form-item>
小范 authored
41 42
                                            <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
43 44
                                        </el-form-item>
                                    </el-col>
小范 authored
45
                                    <el-col style="width: 40%;margin-left:5px">
小范 authored
46
                                        <el-form-item>
小范 authored
47
                                            <el-input  minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
48 49
                                                       @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
50 51 52 53 54 55 56 57 58 59
                                            <!--                                        <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
60 61
                                            <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
62 63 64 65
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
66 67 68
                                            <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
69 70 71 72
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
73 74
                                            <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
75 76 77 78 79 80
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
81
                                            <el-input  minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()"
小范 authored
82 83
                                                    @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
84 85 86 87 88 89
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row style="margin-bottom: -5px">
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
90 91
                                            <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,'')"
92
                                                      v-model="shp_oci.oci_csrc_info" auto-complete="off" placeholder="企业编码"></el-input>
小范 authored
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 130 131 132
                                        </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
133
                                    <el-col style="width: 38%">
小范 authored
134
                                        <el-form-item>
小范 authored
135 136 137
                                            <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
138 139
                                        </el-form-item>
                                    </el-col>
小范 authored
140
                                    <el-col style="width: 40%;margin-left: 5px">
小范 authored
141
                                        <el-form-item>
小范 authored
142
                                            <el-input  minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
小范 authored
143
                                                       @keyup.native="cne_contact.contact_number=cne_contact.contact_number.replace(/[^0-9]/g,'')"
小范 authored
144
                                                       v-model="cne_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
小范 authored
145 146 147 148 149 150
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 25%">
                                        <el-form-item>
小范 authored
151 152
                                            <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
153 154 155 156
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
157 158 159
                                            <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
160 161 162 163
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
164 165
                                            <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
166 167 168 169 170 171
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
172 173 174
                                            <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
175 176 177 178 179 180
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row style="margin-bottom: -5px">
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
181 182
                                            <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,'')"
183
                                                      v-model="cne_oci.oci_csrc_info" auto-complete="off" placeholder="企业编码"></el-input>
小范 authored
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
                                        </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
203
                                            <el-input disabled v-model="form.agt.agt_name" auto-complete="off" placeholder="代理人名称" size="mini"></el-input>
小范 authored
204 205 206 207
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 30%;margin-left: 30px">
                                        <el-form-item>
小范 authored
208
                                            <el-input disabled v-model="form.agt.agt_ADR" auto-complete="off" placeholder="代理人地址" size="mini"></el-input>
小范 authored
209 210 211 212 213 214
                                        </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">
朱兆平 authored
215
                        Accounting information content
小范 authored
216 217 218 219
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 90%">
                                        <el-form-item>
小范 authored
220 221
                                            <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
222 223 224 225 226 227 228 229 230 231 232 233 234
                                        </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
235
                                            <el-input disabled v-model="form.agt.agt_IATA_number" auto-complete="off" placeholder="IATA代码" size="mini"></el-input>
小范 authored
236 237 238 239 240 241 242 243 244 245 246
                                        </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
247
                                            <el-input disabled v-model="form.agt.agt_account_number" auto-complete="off" placeholder="代理人账号" size="mini"></el-input>
小范 authored
248 249 250 251 252 253 254
                                        </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">
朱兆平 authored
255
                       Accounting Information Identification
小范 authored
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274
                    </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
275
                                            <el-input  disabled auto-complete="off" placeholder="出发机场(第一承运人地址)" size="mini"></el-input>
小范 authored
276 277 278 279 280 281 282 283 284 285 286
                                        </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
287 288
                                            <el-input  minlength="3" maxlength="3"
                                                       oninput="this.value=this.value.replace(/[^A-Za-z]/g,'').toUpperCase();"
小范 authored
289
                                                    v-model="form.cvd.cvd_currency_code" auto-complete="off" placeholder="货币单位" size="mini"></el-input>
小范 authored
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
                                        </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">
朱兆平 authored
344
                                To1
小范 authored
345 346 347 348
                            </span>
                                <el-row>
                                    <el-col style="width: 95%">
                                        <el-form-item>
朱兆平 authored
349
                                            <el-input minlength="3" maxlength="3" oninput="this.value=this.value.replace(/[^A-Za-z]/g,'').toUpperCase();"
朱兆平 authored
350
                                                    v-model="form.rtg.destinationAirport" auto-complete="off" placeholder="到达站" size="mini"></el-input>
小范 authored
351 352 353 354 355 356 357 358 359 360 361
                                        </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
362 363
                                            <el-input  minlength="2" maxlength="2" oninput="this.value=this.value.replace(/[^A-Za-z0-9]/g,'').toUpperCase();"
                                                    v-model="form.rtg.destinationCarrier" auto-complete="off" placeholder="承运人" size="mini"></el-input>
小范 authored
364 365 366 367 368 369 370 371 372 373 374
                                        </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
375 376 377
                                            <el-input  v-model="form.rtg.onwardAirport"
                                                       minlength="3" maxlength="3" oninput="this.value=this.value.replace(/[^A-Za-z]/g,'').toUpperCase();"
                                                       auto-complete="off" placeholder="到达站1" size="mini"></el-input>
小范 authored
378 379 380 381 382 383 384 385 386 387 388
                                        </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
389 390 391
                                            <el-input  v-model="form.rtg.onwardCarrier"
                                                       minlength="2" maxlength="2" oninput="this.value=this.value.replace(/[^A-Za-z0-9]/g,'').toUpperCase();"
                                                       auto-complete="off" placeholder="承运人1" size="mini"></el-input>
小范 authored
392 393 394 395 396 397 398 399 400 401 402
                                        </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
403 404 405
                                            <el-input v-model="form.rtg.onwardAirport3"
                                                      minlength="3" maxlength="3" oninput="this.value=this.value.replace(/[^A-Za-z]/g,'').toUpperCase();"
                                                      auto-complete="off" placeholder="到达站2" size="mini"></el-input>
小范 authored
406 407 408 409 410 411 412 413 414 415 416
                                        </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
417 418 419
                                            <el-input v-model="form.rtg.onwardCarrier3"
                                                      minlength="2" maxlength="2" oninput="this.value=this.value.replace(/[^A-Za-z0-9]/g,'').toUpperCase();"
                                                      auto-complete="off" placeholder="承运人2" size="mini"></el-input>
小范 authored
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
                                        </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">
朱兆平 authored
451 452 453
                              <span style="font-size: 12px">
                                Airport of Destination
                              </span>
小范 authored
454 455 456
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
朱兆平 authored
457 458 459
                                            <el-input disabled minlength="3" maxlength="3"
                                                      oninput="this.value=this.value.replace(/[^A-Za-z]/g,'').toUpperCase();"
                                                      auto-complete="off" placeholder="目的地机场" size="mini">
朱兆平 authored
460 461

                                            </el-input>
小范 authored
462 463 464 465
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
朱兆平 authored
466
                            <el-col :span="5" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;padding-left: 5px">
小范 authored
467 468 469 470 471
                            <span style="font-size: 12px">
                        Requested Flight/Date
                    </span>
                                <el-row>
                                    <el-col style="width: 38%">
朱兆平 authored
472 473 474
                                        <el-form-item prop="flightNumber">
                                            <el-input v-model="flightNumber"
                                                      auto-complete="off" placeholder="航班号"></el-input>
小范 authored
475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491
                                        </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>
朱兆平 authored
492 493 494 495 496 497
                            <el-col :span="4" 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%">
朱兆平 authored
498 499 500 501
                                <el-form-item prop="flightNumber2">
                                  <el-input v-model="flightNumber2"
                                            oninput="this.value=this.value.replace(/[^A-Za-z0-9]/g,'').toUpperCase();"
                                            auto-complete="off" placeholder="航班号" ></el-input>
朱兆平 authored
502 503 504 505 506
                                </el-form-item>
                              </el-col>
                              <el-col style="width: 58%;margin-left: 5px">
                                <el-form-item>
                                  <el-date-picker
朱兆平 authored
507
                                      v-model="form.flt.day2"
朱兆平 authored
508 509 510 511 512 513 514 515 516 517 518
                                      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>
小范 authored
519 520 521 522 523 524 525 526 527 528 529 530
                            <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>
朱兆平 authored
531 532 533 534
                            <el-col :span="7" 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>
小范 authored
535 536 537 538 539 540 541 542 543 544 545 546
                            </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
547 548 549 550 551 552 553
<!--                                            每行65个字符-->
                                            <el-input
                                                      v-model="ssr_content"
                                                      show-word-limit
                                                      maxlength="195"
                                                      type="textarea"
                                                      :autosize="{ minRows: 2, maxRows: 4}"
小范 authored
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 606 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 642 643 644 645 646 647 648 649 650 651 652
                                                      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
653
                                            <el-input disabled v-model="form.rtd.rtd_commodity_NUM" auto-complete="off" placeholder="商品代号" size="mini"></el-input>
小范 authored
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 685 686 687 688
                                        </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
689 690 691
                                            <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
692 693 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
                                        </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
732
                                        <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
733 734 735 736 737 738 739
                                    </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
740
                                        <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
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
                                    </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>
朱兆平 authored
828
                                            <el-input v-model="form.cer.cer_signature" maxlength="20" style="width: 95%"  auto-complete="off" placeholder="托运人或其代理人签字" size="mini"></el-input>
小范 authored
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 858 859 860 861 862 863 864 865 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
                                        </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
905 906
                                            <el-input  minlength="1" maxlength="17"
                                                       oninput="this.value=this.value.toUpperCase();"
小范 authored
907
                                                    v-model="form.isu.isu_place_or_airport_code" auto-complete="off" placeholder="签署地址" size="mini"></el-input>
小范 authored
908 909 910 911
                                        </el-form-item>
                                    </el-col>
                                    <el-col  :span="12" style="margin-left: 10px">
                                        <el-form-item>
朱兆平 authored
912
                                            <el-input  minlength="0" maxlength="20" oninput="this.value=this.value.toUpperCase()"
小范 authored
913
                                                    v-model="form.isu.isu_signature" auto-complete="off" placeholder="签署人或其代理人签字,盖章" size="mini"></el-input>
小范 authored
914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962
                                        </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
963
                        <el-row style="margin-top: 40px;margin-left: 40%">
小范 authored
964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980
                            <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
981
                                <el-form-item label-width="30px" prop="fhl.waybillNum">
982 983
                                    <el-input v-model="addForm.fhl.waybillNum" auto-complete="off" placeholder="主运单号(必填)"
                                              @blur="blur"></el-input>
小范 authored
984 985 986
                                </el-form-item>
                            </el-col>
                            <el-col :span="4">
小范 authored
987 988 989 990
                                <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
991 992 993
                                </el-form-item>
                            </el-col>
                            <el-col style="margin-left: 30px" :span="2">
小范 authored
994 995 996 997
                                <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
998 999
                                </el-form-item>
                            </el-col>
小范 authored
1000 1001 1002
                            <el-col style="margin-left: 30px" :span="2">
                                <el-button type="warning" plain @click="cancleBtn">清空</el-button>
                            </el-col>
小范 authored
1003 1004 1005 1006 1007 1008 1009 1010 1011 1012
                        </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
1013
                                    <el-col style="width: 38%">
小范 authored
1014
                                        <el-form-item label=" " prop="shp.shp_nam_name">
小范 authored
1015 1016
                                            <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
1017 1018
                                        </el-form-item>
                                    </el-col>
小范 authored
1019
                                    <el-col style="width: 40%;margin-left:5px">
小范 authored
1020
                                        <el-form-item>
小范 authored
1021
                                            <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
小范 authored
1022
                                                    @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
1023 1024 1025 1026 1027 1028 1029 1030 1031 1032
                                            <!--                                        <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
1033 1034
                                            <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
1035 1036 1037 1038
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
1039 1040 1041
                                            <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
1042 1043 1044 1045
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
1046 1047 1048
                                            <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
1049 1050 1051 1052 1053 1054
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
1055 1056 1057
                                            <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
1058 1059 1060 1061 1062 1063
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row style="margin-bottom: -5px">
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
1064 1065
                                            <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,'')"
1066
                                                       v-model="shp_aeo.oci_supplementary" auto-complete="off" placeholder="企业编码"></el-input>
小范 authored
1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086
                                        </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
1087
                                            <el-input disabled type="textarea" :autosize="{ minRows: 2, maxRows: 4}"
小范 authored
1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107
                                                        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
1108
                                    <el-col style="width: 38%">
小范 authored
1109
                                        <el-form-item>
小范 authored
1110 1111
                                            <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
1112 1113
                                        </el-form-item>
                                    </el-col>
小范 authored
1114
                                    <el-col style="width: 40%;margin-left: 5px">
小范 authored
1115
                                        <el-form-item>
小范 authored
1116
                                            <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
小范 authored
1117
                                                    @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
1118 1119 1120 1121 1122 1123 1124 1125 1126 1127
                                            <!--                                        <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
1128 1129
                                            <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
1130 1131 1132 1133
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
1134 1135
                                            <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
1136 1137 1138 1139
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 25%;margin-left: 10px">
                                        <el-form-item>
小范 authored
1140 1141 1142
                                            <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
1143 1144 1145 1146 1147 1148
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row>
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
1149 1150
                                            <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
1151 1152 1153 1154 1155 1156
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row style="margin-bottom: -5px">
                                    <el-col style="width: 80%">
                                        <el-form-item>
小范 authored
1157
                                            <el-input  minlength="1" maxlength="65" onkeyup="this.value=this.value.toUpperCase()"
1158
                                                    @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
1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177
                                        </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
1178
                                            <el-input disabled auto-complete="off" placeholder="代理人名称" size="mini"></el-input>
小范 authored
1179 1180 1181 1182
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 30%;margin-left: 30px">
                                        <el-form-item>
小范 authored
1183
                                            <el-input disabled auto-complete="off" placeholder="代理人地址" size="mini"></el-input>
小范 authored
1184 1185 1186 1187 1188 1189
                                        </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">
朱兆平 authored
1190
                        Accounting information content
小范 authored
1191 1192 1193 1194
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 90%">
                                        <el-form-item>
小范 authored
1195
                                            <el-input disabled v-model="addForm.acc_info" auto-complete="off" placeholder="财务信息内容" size="mini"></el-input>
小范 authored
1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208
                                        </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
1209
                                            <el-input disabled auto-complete="off" placeholder="IATA代码" size="mini"></el-input>
小范 authored
1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220
                                        </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
1221
                                            <el-input disabled auto-complete="off" placeholder="代理人账号" size="mini"></el-input>
小范 authored
1222 1223 1224 1225 1226 1227 1228
                                        </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">
朱兆平 authored
1229
                        Accounting Information Identification
小范 authored
1230 1231 1232 1233
                    </span>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 90%">
                                        <el-form-item>
小范 authored
1234
                                            <el-input disabled auto-complete="off" placeholder="财务信息标识" size="mini"></el-input>
小范 authored
1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248
                                        </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
1249
                                            <el-input disabled auto-complete="off" placeholder="出发机场(第一承运人地址)" size="mini"></el-input>
小范 authored
1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260
                                        </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
1261 1262
                                            <el-input minlength="3" maxlength="3"
                                                      @input.native="value => addForm.cvd.cvd_currency_code.replace(/[^A-Za-z]/g,'').toUpperCase()"
小范 authored
1263
                                                    v-model="addForm.cvd.cvd_currency_code" auto-complete="off" placeholder="货币单位" size="mini"></el-input>
小范 authored
1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322
                                        </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
1323 1324
                                            <el-input minlength="3" maxlength="3"
                                                      @input.native="value => addForm.hbs.hbs_destination = value.replace(/[^A-Za-z]/g, '').toUpperCase()"
小范 authored
1325
                                                    v-model="addForm.hbs.hbs_destination" 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">
                        First Carrier
                    </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
                                        </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
1349
                                            <el-input disabled auto-complete="off" placeholder="到达站" size="mini"></el-input>
小范 authored
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360
                                        </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
1361
                                            <el-input disabled auto-complete="off" placeholder="承运人" size="mini"></el-input>
小范 authored
1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372
                                        </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
1373
                                            <el-input disabled auto-complete="off" placeholder="到达站" size="mini"></el-input>
小范 authored
1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384
                                        </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
1385
                                            <el-input disabled auto-complete="off" placeholder="承运人" size="mini"></el-input>
小范 authored
1386 1387 1388 1389 1390 1391 1392 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
                                        </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
1423
                                            <el-input disabled auto-complete="off" placeholder="目的地机场" size="mini"></el-input>
小范 authored
1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434
                                        </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
1435
                                            <el-input disabled auto-complete="off" placeholder="航班号" size="mini"></el-input>
小范 authored
1436 1437 1438 1439
                                        </el-form-item>
                                    </el-col>
                                    <el-col style="width: 58%;margin-left: 5px">
                                        <el-form-item>
小范 authored
1440
                                            <el-date-picker disabled
小范 authored
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
                                                    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
1480 1481 1482
                                            <el-input disabled
                                                      maxlength="195"
                                                      type="textarea" :autosize="{ minRows: 2, maxRows: 4}"
小范 authored
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 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581
                                                       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
1582
                                            <el-input disabled auto-complete="off" placeholder="商品代号" size="mini"></el-input>
小范 authored
1583 1584 1585 1586 1587 1588 1589 1590
                                        </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
1591
                                            <el-input disabled v-model="addForm.hbs.hbs_weight" auto-complete="off" placeholder="计费重量" size="mini"></el-input>
小范 authored
1592 1593 1594 1595 1596 1597 1598 1599
                                        </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
1600
                                            <el-input disabled auto-complete="off" placeholder="费率" size="mini"></el-input>
小范 authored
1601 1602 1603 1604 1605 1606 1607 1608
                                        </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
1609
                                            <el-input disabled auto-complete="off" placeholder="总计" size="mini"></el-input>
小范 authored
1610 1611 1612 1613 1614 1615 1616 1617
                                        </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
1618 1619 1620
                                            <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
1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634
                                        </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
1635
                                            <el-input disabled auto-complete="off" placeholder="体积" size="mini"></el-input>
小范 authored
1636 1637 1638 1639 1640 1641
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                                <el-row  style="margin-bottom: -5px">
                                    <el-col style="width: 95%">
                                        <el-form-item>
小范 authored
1642
                                            <el-input disabled auto-complete="off" placeholder="其他" size="mini"></el-input>
小范 authored
1643 1644 1645 1646 1647 1648
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
                        <!--                    付款信息-->
小范 authored
1649
                        <el-row style="padding-top: 10px">
小范 authored
1650 1651 1652
                            <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
1653
                                        <el-radio  disabled v-model="addForm.cvd.cvd_charge_prepaid" label="PP" value="PP">预付 Prepaid</el-radio>
小范 authored
1654 1655
                                    </el-col>
                                    <el-col :span="4" style="font-size: 12px;margin-left: 25px">
小范 authored
1656
                                        <el-radio disabled v-model="addForm.cvd.cvd_charge_prepaid" label="CC" value="CC">到付 Collect</el-radio>
小范 authored
1657 1658 1659 1660
                                    </el-col>
                                </el-row>
                                <el-row style="padding-top: 20px">
                                    <el-col :span="7" style="border-right:  1px solid #a5a5a5">
小范 authored
1661
                                        <el-input  disabled v-model="addForm.hbs.hbs_weight" auto-complete="off" placeholder="计费重量" size="mini"></el-input>
小范 authored
1662 1663 1664 1665 1666 1667 1668
                                    </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
1669
                                        <el-input  disabled v-model="addForm.hbs.hbs_weight" auto-complete="off" placeholder="计费重量" size="mini"></el-input>
小范 authored
1670 1671 1672 1673 1674 1675 1676 1677 1678 1679
                                    </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
1680
                                            <el-input  disabled auto-complete="off" placeholder="其他费用" size="mini"></el-input>
小范 authored
1681 1682 1683 1684 1685 1686 1687 1688 1689
                                        </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
1690
                                        <el-input   disabled auto-complete="off" placeholder="附加费" size="mini"></el-input>
小范 authored
1691 1692 1693 1694 1695 1696 1697
                                    </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
1698
                                        <el-input   disabled auto-complete="off" placeholder="附加费" size="mini"></el-input>
小范 authored
1699 1700 1701 1702
                                    </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
1703
                                        <el-input  disabled auto-complete="off" placeholder="税款" size="mini"></el-input>
小范 authored
1704 1705 1706 1707 1708 1709 1710
                                    </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
1711
                                        <el-input   disabled auto-complete="off" placeholder="税款" size="mini"></el-input>
小范 authored
1712 1713 1714 1715
                                    </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
1716
                                        <el-input   disabled auto-complete="off" placeholder="其他应付代理人合计" size="mini"></el-input>
小范 authored
1717 1718 1719 1720 1721 1722 1723
                                    </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
1724
                                        <el-input  disabled auto-complete="off" placeholder="其他应付代理人合计" size="mini"></el-input>
小范 authored
1725 1726 1727 1728
                                    </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
1729
                                        <el-input   disabled auto-complete="off" placeholder="其他应付承运人合计" size="mini"></el-input>
小范 authored
1730 1731 1732 1733 1734 1735 1736
                                    </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
1737
                                        <el-input  disabled auto-complete="off" placeholder="其他应付承运人合计" size="mini"></el-input>
小范 authored
1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756
                                    </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
1757
                                            <el-input disabled style="width: 95%"  auto-complete="off" placeholder="托运人或其代理人签字" size="mini"></el-input>
小范 authored
1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770
                                        </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
1771
                                            <el-input   disabled auto-complete="off" placeholder="预付总计" size="mini"></el-input>
小范 authored
1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782
                                        </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
1783
                                            <el-input  disabled auto-complete="off" placeholder="货币兑换率" size="mini"></el-input>
小范 authored
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794
                                        </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
1795
                                            <el-input  disabled auto-complete="off" placeholder="到付费用总额" size="mini"></el-input>
小范 authored
1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821
                                        </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
1822
                                            <el-date-picker  disabled
小范 authored
1823 1824 1825 1826 1827 1828 1829 1830 1831 1832
                                                    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
1833
                                            <el-input  disabled auto-complete="off" placeholder="签署地址" size="mini"></el-input>
小范 authored
1834 1835 1836 1837
                                        </el-form-item>
                                    </el-col>
                                    <el-col  :span="12" style="margin-left: 10px">
                                        <el-form-item>
小范 authored
1838
                                            <el-input  disabled auto-complete="off" placeholder="签署人或其代理人签字,盖章" size="mini"></el-input>
小范 authored
1839 1840 1841 1842 1843
                                        </el-form-item>
                                    </el-col>
                                </el-row>
                            </el-col>
                        </el-row>
小范 authored
1844
                        <el-row style="padding-top: 10px">
小范 authored
1845 1846 1847 1848 1849 1850 1851
                            <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
1852
                                            <el-input  disabled auto-complete="off" placeholder="目的地CC费用。通货" size="mini"></el-input>
小范 authored
1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868
                                        </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
1869
                                            <el-input  disabled auto-complete="off" placeholder="目的地收费" size="mini"></el-input>
小范 authored
1870 1871 1872 1873 1874 1875 1876 1877 1878 1879
                                        </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
1880
                                        <el-input  disabled auto-complete="off" placeholder="总收款费用" size="mini"></el-input>
小范 authored
1881 1882 1883 1884 1885 1886 1887
                                    </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
1888
                        <el-row style="margin-top: 40px;margin-left: 40%">
小范 authored
1889 1890 1891 1892 1893 1894 1895 1896 1897
                            <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
1898
        <el-dialog title="尺寸信息" :visible.sync="dialogTableVisible" width="80%" v-dialog-drag>
1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950
            <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">
朱兆平 authored
1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962
                    <el-tooltip class="item" effect="dark"  placement="top-start">
                      <div slot="content">可以将整体的尺寸信息复制进来,一行一个尺寸信息,系统会自动识别,如:
                        <br/>
                        10x20x30x40
                        <br/>
                        10X20X30X40
                        <br/>
                        10x20x30/40
                        <br/>
                        10*20*30*40
                      </div>
1963
                        <el-input
小范 authored
1964
                                :autosize="{ minRows: 7, maxRows: 20}"
1965 1966
                                resize = "vertical"
                                type="textarea"
朱兆平 authored
1967
                                placeholder="快速尺寸信息录入生成,每行一条如:10x20x30x40或10x20x30/40或10*20*30*40"
1968 1969 1970 1971 1972 1973 1974 1975 1976 1977
                                v-model="dimension_textarea"
                                @change="convertAndCalculateVolume"
                        >
                        </el-input>
                    </el-tooltip>

                </el-col>
            </el-row>
            <el-row>&nbsp; </el-row>
小范 authored
1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994
        </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
1995 1996 1997
</template>

<script>
小范 authored
1998
    import {fhl, fwb, selectawabByid, selectByKey, selectList} from '../../api/remote_interface/byont_import';
小范 authored
1999 2000
    import Consigner from "../consigner/consigner"
    import Consignee from "../consigner/consignee"
2001 2002
    import {loginedUserInfo} from "../../api/user";
    import {getList} from "../../api/consigner/consigner";
小范 authored
2003
    import jsutil from "@/common/js/util";
小范 authored
2004
小范 authored
2005
    export default {
小范 authored
2006 2007 2008 2009 2010 2011 2012 2013
        components: {
            Consigner,Consignee
        },
        data(){
            return {
                hidden: ['a1', 'a2', 'a3', 'a4', 'a5','a6'],
                // 主单
                activeName: 'first',
2014
                dimension_textarea: '',
小范 authored
2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025
                form:{
                    acc:[],
                    agt:{
                        agt_ADR:'',
                        agt_IATA_number:'',
                        agt_account_number:'',
                        agt_name:'',
                        agt_participant_id:'',
                    },
                    bill:{
                        destination:'',
朱兆平 authored
2026
                        origin:'CGO',
小范 authored
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
                        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:{
朱兆平 authored
2055
                        cariier:"",
小范 authored
2056 2057
                        day:'',
                        flightNumber:'',
朱兆平 authored
2058 2059 2060 2061 2062 2063
                        cariier2:"",
                        day2:'',
                        flightNumber2:'',
                        cariier3:"",
                        day3:'',
                        flightNumber3:'',
小范 authored
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
                    },
                    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:{
朱兆平 authored
2105
                        ref_address:'CGOFD1E',
小范 authored
2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133
                        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:'',
朱兆平 authored
2134 2135
                        onwardAirport3:'',
                        onwardCarrier3:'',
小范 authored
2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153
                    },
                    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:''
                    }
                },
朱兆平 authored
2154
                ssr_content:"",
小范 authored
2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179
                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:{
朱兆平 authored
2180
                    acc_info:'FREIGHT PREPAID',
小范 authored
2181 2182 2183 2184 2185 2186
                    acc_info_id:'GEN',
                },
                apply_formRules:{
                    bill:{
                        waybillNum: [
                            { required: true, message: '请输入主运单号', trigger: 'blur' },
朱兆平 authored
2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198
                            // 新增的格式校验规则
                            {
                              validator: (rule, value, callback) => {
                                const reg = /^\d{3}-\d{8}$/; // 定义正则表达式
                                if (value && !reg.test(value)) {
                                  callback(new Error('主运单号格式不正确,应为3位数字-后跟8位数字')); // 如果格式不正确,则返回错误信息
                                } else {
                                  callback(); // 如果格式正确或值为空,则通过校验
                                }
                              },
                              trigger: 'blur'
                            }
小范 authored
2199 2200
                        ],
                    },
朱兆平 authored
2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228
                  flt:{
                    flightNumber:[
                      {
                        validator: (rule, value, callback) => {
                          const reg = /^[A-Z0-9]{0,2}[0-9]{3}\d?[A-Z0-9]?$/; // 定义正则表达式
                          if (value && !reg.test(value)) {
                            callback(new Error('航班格式不正确')); // 如果格式不正确,则返回错误信息
                          } else {
                            callback(); // 如果格式正确或值为空,则通过校验
                          }
                        },
                        trigger: 'blur'
                      }
                    ],
                    flightNumber2:[
                      {
                        validator: (rule, value, callback) => {
                          const reg = /^[A-Z0-9]{0,2}[0-9]{3}\d?[A-Z0-9]?$/; // 定义正则表达式
                          if (value && !reg.test(value)) {
                            callback(new Error('航班格式不正确')); // 如果格式不正确,则返回错误信息
                          } else {
                            callback(); // 如果格式正确或值为空,则通过校验
                          }
                        },
                        trigger: 'blur'
                      }
                    ]
                  }
小范 authored
2229 2230 2231
                },
                // 分单
                addForm:{
小范 authored
2232
                    companyName1:'',
小范 authored
2233
                    fhl:{
2234 2235 2236 2237 2238 2239
                        waybillNum:'',
                        quantity_weight_code:'',
                        quantity_weight:'',
                        quantity_picecs:'',
                        origin:'',
                        destination:'',
小范 authored
2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276
                    },
                    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
2277
                        hbs_weight_code:'K',
小范 authored
2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308
                        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
2309 2310
                            { min: 1, max: 12, message: '长度是1-13个字符', trigger: 'blur' }
                        ],
小范 authored
2311
小范 authored
2312 2313 2314 2315 2316 2317 2318 2319 2320
                    },
                },
                dialogTableVisible:false,
                gridData:[],
                dialogVisible:false,
                dialogVisible1:false,
            }
        },
        methods:{
朱兆平 authored
2321 2322 2323 2324
            handleInput(value) {
              // 这里可以进一步处理输入值,例如去空格等
              this.form.bill.waybillNum = value.trim();
            },
小范 authored
2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335
            //标签页
            handleClick(tab, event) {
                console.log(tab, event);
            },
            //添加行
            addRows() {
                const circle = this.gridData[0];
                const newObj = {};
                for (let key in circle) { //把第一个对象的属性都赋值给新对象newObj  然后每个属性的值都设置为空;
                    newObj[key] = '';
                }
小范 authored
2336 2337
                // this.gridData.splice(this.gridData.length - 1, 0, newObj);
                this.gridData.push(newObj);
小范 authored
2338 2339 2340 2341 2342 2343 2344
            },
            //删除行
            deleteRows(scope) {
                this.gridData.splice(scope.$index, 1);
            },
            //求体积
            handleEdit(index, row) {
小范 authored
2345
                console.log("index="+index)
小范 authored
2346 2347 2348 2349 2350 2351 2352 2353 2354 2355
                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
2356 2357 2358 2359
                    // console.log(this.form.rtd.dimensions);
                    console.log("DIM数组加入了新的行数据>>"+JSON.stringify(this.form.rtd.dimensions))
                }else {
                    console.error("DIM数组没加数据-ERRRRRR")
小范 authored
2360
                }
小范 authored
2361
小范 authored
2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377
            },
            //合计体积
            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)) {
                                    // 保存了两位小数点
2378
                                    return Math.round((prev + curr) * 100) / 100;
小范 authored
2379 2380 2381

                                } else {
                                    // 保存了两位小数点
2382
                                    return Math.round(prev * 100) / 100;
小范 authored
2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403
                                }
                            }, 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;
2404
                this.$refs.consigner.getConsignee();
小范 authored
2405 2406 2407 2408
            },
            // 获取收货人信息
            getCneFwb() {
                this.dialogVisible1 = true;
2409
                this.$refs.consignee.getConsignee();
小范 authored
2410 2411 2412 2413 2414
            },
            // 分单
            // 获取发货人信息
            getShp() {
                this.dialogVisible = true;
2415
                this.$refs.consigner.getConsignee();
小范 authored
2416 2417 2418 2419
            },
            // 获取收货人信息
            getCne() {
                this.dialogVisible1 = true;
2420
                this.$refs.consignee.getConsignee();
小范 authored
2421 2422 2423 2424 2425 2426 2427 2428 2429 2430
            },
            //发货人选中事件处理方法
            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;
2431
                    this.shp_oci.oci_csrc_info=row.enterprise;
小范 authored
2432
                    this.shp_oci.oci_country_code=row.country;
小范 authored
2433
                    // this.form.oci.push(this.shp_oci);
小范 authored
2434
                    this.shp_contact.contact_number=row.conPhone;
小范 authored
2435
                    // this.form.shp.shp_contacts.push(this.shp_contact);
2436
                    this.$refs.consigner.consigner_data();
小范 authored
2437 2438 2439 2440 2441 2442 2443 2444 2445
                    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;
2446
                    this.shp_aeo.oci_supplementary=row.enterprise;
小范 authored
2447
                    this.shp_aeo.oci_country_code=row.country;
小范 authored
2448
                    // this.addForm.oci.push(this.shp_aeo);
2449
                    this.$refs.consigner.consigner_data();
小范 authored
2450 2451 2452
                    this.dialogVisible = false;
                }
                else{
2453
                    this.$refs.consigner.consigner_data();
小范 authored
2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465
                    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;
2466
                    this.cne_oci.oci_csrc_info=row.enterprise;
小范 authored
2467
                    this.cne_oci.oci_country_code=row.country;
小范 authored
2468
                    // this.form.oci.push(this.cne_oci);
小范 authored
2469
                    this.cne_contact.contact_number=row.conPhone;
小范 authored
2470
                    // this.form.cne.cne_contacts.push(this.cne_contact);
2471
                    this.$refs.consignee.consignee_data();
小范 authored
2472 2473 2474 2475 2476 2477 2478 2479 2480
                    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;
2481
                    this.cne_aeo.oci_supplementary=row.enterprise;
小范 authored
2482
                    this.cne_aeo.oci_country_code=row.country;
小范 authored
2483
                    // this.addForm.oci.push(this.cne_aeo);
2484
                    this.$refs.consignee.consignee_data();
小范 authored
2485 2486 2487
                    this.dialogVisible1 = false;
                }
                else{
2488
                    this.$refs.consignee.consignee_data();
小范 authored
2489 2490 2491 2492 2493
                    this.dialogVisible1 = false;
                }
            },
            //新增分运单
            addFhl() {
2494 2495
                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
2496 2497
                this.addForm.oci.push(this.shp_aeo);
                this.addForm.oci.push(this.cne_aeo);
小范 authored
2498 2499 2500
                /*进行表单的预验证*/
                this.$refs.apply_addFormRef.validate(valid => {
                    // 未通过,表单预校验
2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 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 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570
                    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
2571
                        this.addForm.oci=[];
2572 2573 2574
                        return false;
                    }
小范 authored
2575 2576 2577 2578 2579 2580 2581 2582
                })
            },
            //新增主运单
            addFwb() {
                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
2583 2584 2585 2586 2587 2588
                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
2589
                this.form.acc.push(this.acc_info);
小范 authored
2590 2591 2592 2593
                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
2594 2595 2596
                /*进行表单的预验证*/
                this.$refs.apply_formRef.validate(valid => {
                    // 未通过,表单预校验
2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611
                    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
2612
                        this.form.oci=[];
2613 2614
                        return false;
                    }
小范 authored
2615 2616
                })
            },
2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627
            //获取主运单信息
            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
2628
                        return this.$message.success(res.data.msg);
2629 2630 2631 2632 2633
                    }
                }).catch((error) => {
                    alert(error);
                });
            },
小范 authored
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
            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
2660 2661 2662 2663

                    // ssr 适配 使用 join 方法并传入换行符 \n 作为分隔符
                    _this.ssr_content = _this.form.ssr.ssr_request_content.join("\n");
小范 authored
2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693
                    //获取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
2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721
                    _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
2722
            },
2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735
            //批量尺寸信息识别
            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");
朱兆平 authored
2736
                    text = text.replace(/\//g, 'x');
2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764
                    //去掉空白字符
                    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;
朱兆平 authored
2765 2766 2767 2768 2769 2770 2771 2772 2773 2774
                            let measurement_info = {
                              dim_measurement_code:'CMT',
                              //尺寸信息
                              dim_measurement_info:"" + dim_form.long + "-" + dim_form.wide + "-" + dim_form.height + "/" + dim_form.pic,
                              dim_weight:'',
                              dim_weightcode:'',
                            };

                            _this.form.rtd.dimensions.push(measurement_info)
2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796
                            _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
                    };
朱兆平 authored
2797
                }).catch((e) => {
2798
                    this.$message({
朱兆平 authored
2799 2800
                        type: 'error',
                        message: '已取消'+e.message
2801 2802 2803
                    });
                });
            },
小范 authored
2804 2805
            cancleBtn(){
                Object.assign(this.$data, this.$options.data());
小范 authored
2806
            }
2807
        },
小范 authored
2808 2809 2810 2811 2812 2813 2814 2815 2816 2817
        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
2818
        },
朱兆平 authored
2819 2820 2821 2822 2823 2824 2825 2826
        computed:{
          formattedSsrContent: {
            get() {
              return this.ssr_content;
            },
            set(value) {
              // 过滤掉所有非字母数字和中文字符以及换行符
              const filteredValue = value.replace(/[^A-Z1-9\n ]/g, '');
朱兆平 authored
2827
朱兆平 authored
2828 2829 2830
              const lines = value.split('\n');
              if (lines.length > 3) {
                this.$message.error('最多只能输入三行文本!');
朱兆平 authored
2831 2832 2833
                return;
              }
朱兆平 authored
2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844
              for (let line of lines) {
                if (line.length > 65) {
                  this.$message.error('每行不能超过65个字符!');
                  return;
                }
              }

              // 如果所有校验都通过了,更新 form.ssr.ssr_request_content
              this.form.ssr.ssr_request_content = lines;
              this.ssr_content = value; // 更新视图中的数据
            }
朱兆平 authored
2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870
          },
          flightNumber: {
            get() {
              // 返回拼接后的完整航班号
              return this.form.flt.cariier + this.form.flt.flightNumber;
            },
            set(value) {
              // 将输入值转换为大写并去除非法字符
              const cleanedValue = value.replace(/[^A-Za-z0-9]/g, '').toUpperCase();
              // 拆分航班号
              this.form.flt.cariier = cleanedValue.slice(0, 2);
              this.form.flt.flightNumber = cleanedValue.slice(2);
            }
          },
          flightNumber2: {
            get() {
              // 返回拼接后的完整航班号
              return this.form.flt.cariier2 + this.form.flt.flightNumber2;
            },
            set(value) {
              // 将输入值转换为大写并去除非法字符
              const cleanedValue = value.replace(/[^A-Za-z0-9]/g, '').toUpperCase();
              // 拆分航班号
              this.form.flt.cariier2 = cleanedValue.slice(0, 2);
              this.form.flt.flightNumber2 = cleanedValue.slice(2);
            }
朱兆平 authored
2871 2872 2873 2874 2875 2876 2877 2878
          }
        },
        watch:{
          ssr_content: {
            handler(newVal) {
              this.formattedSsrContent = newVal; // 触发计算属性的setter
            },
            immediate: true // 立即执行监听器
朱兆平 authored
2879 2880
          }
        }
小范 authored
2881 2882 2883 2884
    }
</script>

<style scoped>
小范 authored
2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897
    .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
2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926
    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
2927
        border: 0px;
小范 authored
2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941
    }
    .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
2942
        border-top: 25px solid white;
小范 authored
2943 2944 2945 2946 2947 2948 2949 2950
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        width: 180px;
        margin-top: -1px;
        display: inline-block;
        margin-left: 40px;
    }
</style>
小范 authored
2951