作者 朱兆平

add:

1. 增加通知人的信息表单
@@ -534,6 +534,72 @@ @@ -534,6 +534,72 @@
534 </span> 534 </span>
535 </el-col> 535 </el-col>
536 </el-row> 536 </el-row>
  537 + <!-- 收货人信息-->
  538 + <el-row style="padding-top: 10px">
  539 + <el-col :span="22" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 25px">
  540 + <span style="font-size: 12px">
  541 + Notify Name and Address
  542 + <el-button type="primary" plain size="mini" style="margin-top: 5px" @click="getCneFwb()">通知人</el-button>
  543 + </span>
  544 + <el-row>
  545 + <el-col style="width: 38%">
  546 + <el-form-item>
  547 + <el-input minlength="1" maxlength="35"
  548 + oninput="this.value=this.value.replace(/[^A-Za-z0-9_\S]/g,'').toUpperCase();"
  549 + v-model="form.nfy.nfy_name" auto-complete="off" placeholder="名称" size="mini"></el-input>
  550 + </el-form-item>
  551 + </el-col>
  552 + <el-col style="width: 40%;margin-left: 5px">
  553 + <el-form-item>
  554 + <el-input minlength="1" maxlength="25"
  555 + oninput="this.value=this.value.replace(/[^0-9]/g,'');"
  556 + v-model="nfy_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
  557 + </el-form-item>
  558 + </el-col>
  559 + </el-row>
  560 + <el-row>
  561 + <el-col style="width: 25%">
  562 + <el-form-item>
  563 + <el-input minlength="1" maxlength="9"
  564 + oninput="this.value=this.value.replace(/[^0-9]/g,'');"
  565 + v-model="form.nfy.nfy_postcode" auto-complete="off" placeholder="邮编"></el-input>
  566 + </el-form-item>
  567 + </el-col>
  568 + <el-col style="width: 25%;margin-left: 10px">
  569 + <el-form-item>
  570 + <el-input minlength="1" maxlength="17"
  571 + oninput="this.value=this.value.replace(/[^A-Za-z0-9_\s]/g,'').toUpperCase();"
  572 + v-model="form.nfy.nfy_LOC_city" auto-complete="off" placeholder="城市"></el-input>
  573 + </el-form-item>
  574 + </el-col>
  575 + <el-col style="width: 25%;margin-left: 10px">
  576 + <el-form-item>
  577 + <el-input minlength="2" maxlength="2"
  578 + oninput="this.value=this.value.replace(/[^A-Z]/g,'').toUpperCase();"
  579 + v-model="form.nfy.nfy_country" auto-complete="off" placeholder="国家代码"></el-input>
  580 + </el-form-item>
  581 + </el-col>
  582 + </el-row>
  583 + <el-row>
  584 + <el-col style="width: 80%">
  585 + <el-form-item>
  586 + <el-input minlength="1" maxlength="35"
  587 + oninput="this.value=this.value.replace(/[^A-Z0-9_\s]/g,'').toUpperCase();"
  588 + v-model="form.nfy.nfy_ADR" auto-complete="off" placeholder="地址"></el-input>
  589 + </el-form-item>
  590 + </el-col>
  591 + </el-row>
  592 + <el-row style="margin-bottom: -5px">
  593 + <el-col style="width: 80%">
  594 + <el-form-item>
  595 + <el-input minlength="1" maxlength="65" onkeyup="this.value=this.value.toUpperCase()"
  596 + @keyup.native="cne_oci.oci_csrc_info=cne_oci.oci_csrc_info.replace(/[^A-Za-z0-9_\s]/g,'')"
  597 + v-model="cne_oci.oci_csrc_info" auto-complete="off" placeholder="企业编码"></el-input>
  598 + </el-form-item>
  599 + </el-col>
  600 + </el-row>
  601 + </el-col>
  602 + </el-row>
537 <!-- 处理信息--> 603 <!-- 处理信息-->
538 <el-row style="padding-top: 10px"> 604 <el-row style="padding-top: 10px">
539 <el-col :span="22" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding: 5px"> 605 <el-col :span="22" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding: 5px">
@@ -2584,6 +2650,7 @@ Handling Information @@ -2584,6 +2650,7 @@ Handling Information
2584 this.form.oci=[]; 2650 this.form.oci=[];
2585 this.form.shp.shp_contacts=[]; 2651 this.form.shp.shp_contacts=[];
2586 this.form.cne.cne_contacts=[]; 2652 this.form.cne.cne_contacts=[];
  2653 + this.form.nfy.nfy_contacts = [];
2587 this.shp_oci.oci_country_code=this.form.shp.shp_country; 2654 this.shp_oci.oci_country_code=this.form.shp.shp_country;
2588 this.cne_oci.oci_country_code=this.form.cne.cne_country; 2655 this.cne_oci.oci_country_code=this.form.cne.cne_country;
2589 this.form.acc.push(this.acc_info); 2656 this.form.acc.push(this.acc_info);
@@ -2591,6 +2658,7 @@ Handling Information @@ -2591,6 +2658,7 @@ Handling Information
2591 this.form.shp.shp_contacts.push(this.shp_contact); 2658 this.form.shp.shp_contacts.push(this.shp_contact);
2592 this.form.oci.push(this.cne_oci); 2659 this.form.oci.push(this.cne_oci);
2593 this.form.cne.cne_contacts.push(this.cne_contact); 2660 this.form.cne.cne_contacts.push(this.cne_contact);
  2661 + this.form.nfy.nfy_contacts.push(this.nfy_contact);
2594 /*进行表单的预验证*/ 2662 /*进行表单的预验证*/
2595 this.$refs.apply_formRef.validate(valid => { 2663 this.$refs.apply_formRef.validate(valid => {
2596 // 未通过,表单预校验 2664 // 未通过,表单预校验