index.js 7.4 KB
Newer Older
fukai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161

import Pub from "~/components/business/commonModel/index.js";
import Ltdgrp from "~/components/business/commonModel/ltdgrp";
import Ledgrp from "~/components/business/commonModel/ledgrp";
import Rmbclm from '~/components/business/commonModel/rmbclm';
import Lttp from '~/components/business/commonModel/lttp';

export default class Lttame {
  constructor() {
    this.data = {
      ltdgrp: new Ltdgrp().data,
      lttamep: {
        lcrgodamep: {
          modflg: "",
          modmanflg: "",
          lcrgod: "",//原本应该是usrblk,但是组件写的是lcrgod,该字段只是在前端使用
        },
        spcrcbamep: {
          usrblk: "",
          modflg: "",
          modmanflg: "",
          spcrcb: ""
        },
        spcbenamep: {
          usrblk: "",
          modflg: "",
          modmanflg: "",
          spcben: "",
        },
        lcrdocamep: {
          usrblk: "",
          modflg: "",
          modmanflg: "",
          lcrdoc: "",
        },
        adlcndamep: {
          usrblk: "",
          modflg: "",
          modmanflg: "",
          adlcnd: "",
        },
        amenbr: "", //  Current Amendm. No.		.lttamep.amenbr
        engamt: "", //  Total Amendment		.lttamep.engamt
        maxamt: "", //  New Maximum Amount		.lttamep.maxamt
        ramrol: "", //  Send Request to		.lttamep.ramrol
        benconflg: "", //  Beneficiary's Confirmation Required		.lttamep.benconflg
      },
      swiadd: {
        amedat: '', //  Amendment Date		.trnmod.swiadd.amedat
        amenbr: '0', //  Amend. No Received		.trnmod.swiadd.amenbr
        amestatxt: "",
        amecur: '', //  Amended		.trnmod.swiadd.amecur
        ameamt: 0, //  Amended		.trnmod.swiadd.ameamt
        newcur: '', //  New Data		.trnmod.swiadd.newcur
        newamt: 0, //  New Data		.trnmod.swiadd.newamt
        newnomtop: '', //  New positive tolerance		.trnmod.swiadd.newnomtop
        newnomton: '', //  New negative tolerance		.trnmod.swiadd.newnomton
        nomspc: '', //  Amount Specification		.trnmod.swiadd.nomspc
        newexpdat: '', //  New Expiry Date		.trnmod.swiadd.newexpdat
        newshpdat: '', //  New Shipment Date		.trnmod.swiadd.newshpdat
        shpper: '', //  Shipment Period		.trnmod.swiadd.shpper
        shpfro: '', //  Dispatch from		.trnmod.swiadd.shpfro
        porloa: '', //  Air-/Port of Loading		.trnmod.swiadd.porloa
        pordis: '', //  Air-/Port of Discharge		.trnmod.swiadd.pordis
        purpos: '', //   Purpose of message           trnmod.swiadd.purpos
        shpto: '', //  Final Destination		.trnmod.swiadd.shpto
        addamtcov: '', //  Amounts Covered		.trnmod.swiadd.addamtcov
        addamt: '', //  Amounts Covered		.trnmod.swiadd.addamt
        addamecur: '',
        addameamt: '',
        addnewcur: '',
        addnewamt: '',
        insbnk: '', //  Instruction to P/A/N Bank amendment		.trnmod.swiadd.insbnk
        nartxt: '',
        newnomtopame: '',
        newnomtoname: '',
        prepers18: '', //New Presentation Period
        prepertxts18: '', //交单期限描述 .trnmod.swiadd.prepertxts18
        strinf: '', //  Narrative of Maturity		.trnmod.swiadd.strinf
        trnchato: '', //费用承担人修改Amendm.charge by   .trnmod.swiadd.trnchato
        newmatpercnt: '', //  New Tenor Data		.trnmod.swiadd.newmatpercnt
        newmatpertyp: '', //  Days/Month or Year for Maturity Period		.trnmod.swiadd.newmatpertyp
        newmatperbeg: '', //  Start of Maturity Period		.trnmod.swiadd.newmatperbeg
        newmatdat: '', //  New Maturity Date		.trnmod.swiadd.newmatdat
        ametxt: '', //  Further Amendments		.trnmod.swiadd.ametxt
        shptoelc: '', //  货物目的地/交货地(港)		.trnmod.swiadd.shptoelc
        shpfroelc: '', //  Shipment from		.trnmod.swiadd.shpfroelc
        //nartxtflg: "",			//  Narrative modified		.trnmod.swiadd.nartxtflg
        lcrgod: '', //  Description of Goods amendment		.trnmod.swiadd.lcrgod
        lcrdoc: '', //  Documents Required amendment		.trnmod.swiadd.lcrdoc
        //adlcnd: "",			//  Additional Conditions amendment		.trnmod.swiadd.adlcnd
        purposamein: '', //  Inc. Purpose of amend.		.trnmod.swiadd.purposamein
        purposame: '', //  Purpose of amend.		.trnmod.swiadd.purposame
        orddat: '', //  Order from		.trnmod.swiadd.orddat
        ameblk: '', //  Text for Amendments		.trnmod.swiadd.ameblk
        reqcan: '', //  Cancellation Request		.trnmod.swiadd.reqcan
        amemsgdonflg: '', //  Create Amendment Message		.trnmod.swiadd.amemsgdonflg
        addamtflg: '', //  Add. Amount Flag		.trnmod.swiadd.addamtflg
        addcur: '', //  Additional Currency		.trnmod.swiadd.addcur
        addamtcovs20: '', //  Additional Amount Covered		.trnmod.swiadd.addamtcovs20
        redrea: '', //  Reason for Reduce / Discharge		.trnmod.swiadd.redrea
        exptyp: '', //  New Expiry Type 		.trnmod.swiadd.exptyp
        exptxt: '', //  New Expiry Condition		.trnmod.swiadd.exptxt
        liatypc: '', //  New Liability Type 		.trnmod.swiadd.liatypc
        newliadat: '', //  New Liability Date		.trnmod.swiadd.newliadat
        liatxtc: '', //  New Liability Condition		.trnmod.swiadd.liatxtc
        newdtaappexpdat: '', //  New appr. Expiry Date		.trnmod.swiadd.newdtaappexpdat
        ameblkc: '', //  Text for Amendments		.trnmod.swiadd.ameblkc
        amecurc: '', //  Amended Amount		.trnmod.swiadd.amecurc
        ameamtc: '', //  Increase of Local Guarantee Amount		.trnmod.swiadd.ameamtc
        newcurc: '', //  Local Undertaking		.trnmod.swiadd.newcurc
        newamtc: '', //  New Amount Local Guarantee		.trnmod.swiadd.newamtc
        addamtflgc: '', //  Additional Amount Flag Seq. C		.trnmod.swiadd.addamtflgc
        addcurc: '', //  Additional Currency Seq. C		.trnmod.swiadd.addcurc
        addamtc: '', //  Additional Amount Seq. C		.trnmod.swiadd.addamtc
        addamtcovc: '', //  Add. Amount Covered 		.trnmod.swiadd.addamtcovc
        newexpflg: '', //  Unlimited Validity		.trnmod.swiadd.newexpflg
        newliaflg: '', //  Unlimited Liability		.trnmod.swiadd.newliaflg
        chaamt: '', //  charges amount          .trnmod.swiadd.chaamt
        chacur: '', //Amount of Charges         .trnmod.swiadd.chacur
        tracur: '',
        traamt: '',
        strinfs20: '',
        expplc: '',//ltdgrp.rec.expplc(New Expiry Place)
        shppars18: '',//ltdgrp.rec.shppars18(New Partial Shipment)
        shptrss18: '',//ltdgrp.rec.shptrss18(New Transhipment)
        apprul: '',//ltdgrp.rec.apprul(New Applicable Rules)
        apprultxt: '',//ltdgrp.rec.apprultxt(New Other Applicable Rules)
        cnfins: '',//ltdgrp.rec.cnfins(New Confirm. Instructions)
        stacty: '',//ltdgrp.rec.stacty(New Country Code)
        lcrtyp: '',//ltdgrp.rec.lcrtyp
        trnfeetxt: '',
      },
      oldltdgrp: new Ltdgrp().data,
      lttp: new Lttp().data,
      ledgrp: new Ledgrp().data,
      rmbclm: new Rmbclm().data,

      godAddDelRep: "",
      docAddDelRep: "",
      adcAddDelRep: "",
      benAddDelRep: "",
      bnkAddDelRep: "",

      setmod: new Pub().data.Setmod,
      mtabut: new Pub().data.Mtabut,
      trnmod: new Pub().data.Trnmod,
      liaall: new Pub().data.Liaall,
      liaccv: new Pub().data.Liaccv,
      docpan: new Pub().data.Docpan,
      doctre: new Pub().data.Doctre,
      umdmod: new Pub().data.Umdmod,
      trndia: new Pub().data.Trndia,
      rmbbop: new Pub().data.Rmbbop,
      cfagit: new Pub().data.Cfagit,
      ypnmod: new Pub().data.Ypnmod,
      entmod: new Pub().data.Entmod,
      pageId: "", // ctx的key
    };
  }
}