index.js 14.1 KB
Newer Older
zhengxiaokui committed
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
Eivi committed
3
import Pub from "../Public"
zhengxiaokui committed
4

Eivi committed
5 6
export default class Letrsv {
    constructor() {
zhengxiaokui committed
7
        this.data = {
Eivi committed
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 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287
            ledgrp: {
                rec: {
                    ownref: "", //  Reference		.ledgrp.rec.ownref
                    nam: "", //  Name		.ledgrp.rec.nam
                    lcrtyp: "", //  Form of L/C		.ledgrp.rec.lcrtyp
                    collflg: "", //  Collateralized L/C		.ledgrp.rec.collflg
                    nomtop: "", //  Amount Tolerance +/-		.ledgrp.rec.nomtop
                    nomton: "", //  Amount Tolerance - Negative		.ledgrp.rec.nomton
                    nomspc: "", //  Amount Specification		.ledgrp.rec.nomspc
                    inctrf: "", //  Incoming Transfer		.ledgrp.rec.inctrf
                    resflg: "", //  Reserved Contract		.ledgrp.rec.resflg
                    opndat: "", //  Issued on		.ledgrp.rec.opndat
                    preadvdt: "", //  Date Pre-advised		.ledgrp.rec.preadvdt
                    shpdat: "", //  Shipment Date		.ledgrp.rec.shpdat
                    advdat: "", //  Released on		.ledgrp.rec.advdat
                    expdat: "", //  Expiring on		.ledgrp.rec.expdat
                    expplc: "", //  in (Place)/ counters of		.ledgrp.rec.expplc
                    cnfdet: "", //  Confirmation Instruct.		.ledgrp.rec.cnfdet
                    apprul: "", //  Applicable Rules		.ledgrp.rec.apprul
                    apprultxt: "", //  Other Applicable Rules		.ledgrp.rec.apprultxt
                    shppar: "", //  Partial Shipment		.ledgrp.rec.shppar
                    shptrs: "", //  Transshipment		.ledgrp.rec.shptrs
                    revflg: "", //  Revolving Flag		.ledgrp.rec.revflg
                    nonban: "", //  Non-Bank Issuer		.ledgrp.rec.nonban
                    teskeyunc: "", //  Test Key Unconfirmity		.ledgrp.rec.teskeyunc
                    dbtflg: "", //  Authorization to Debit		.ledgrp.rec.dbtflg
                    oppbnk: "", //  境内外对手行代码		.ledgrp.rec.oppbnk
                    shppars18: "", //  Partial Shipment		.ledgrp.rec.shppars18
                    shptrss18: "", //  Transshipment		.ledgrp.rec.shptrss18
                    avbwth: "", //  Available with		.ledgrp.rec.avbwth
                    avbby: "", //  Available by		.ledgrp.rec.avbby
                    shpfro: "", //  Dispatch from		.ledgrp.rec.shpfro
                    porloa: "", //  Air-/Port of Departure		.ledgrp.rec.porloa
                    pordis: "", //  Air-/Port of Destination		.ledgrp.rec.pordis
                    shpto: "", //  Final Destination		.ledgrp.rec.shpto
                    chato: "", //  Own Charges Borne by		.ledgrp.rec.chato
                    stacty: "", //  Country Code for Statistics		.ledgrp.rec.stacty
                    tenmaxday: "", //  Maximum Tenor		.ledgrp.rec.tenmaxday
                    prepers18: "", //  Days of presentation period		.ledgrp.rec.prepers18
                    prepertxts18: "", //  Presentation period text		.ledgrp.rec.prepertxts18
                    cnfins: "", //  Confirm. Instruct.		.ledgrp.rec.cnfins
                    aplbnkdirsnd: "", //  Send Directly to Applicant's Bank		.ledgrp.rec.aplbnkdirsnd
                    stagod: "", //  Goods Code 		.ledgrp.rec.stagod
                    spcbenflg: "", //  Special payment conditions for beneficiary exists		.ledgrp.rec.spcbenflg
                    spcrcbflg: "", //  Special Payment Conditions for specified Bank only		.ledgrp.rec.spcrcbflg
                    redclsflg: "", //  Red/Green Clause		.ledgrp.rec.redclsflg
                    revtyp: "", //  Revolving Type		.ledgrp.rec.revtyp
                    revcum: "", //  Credit is Marked as Cumulative		.ledgrp.rec.revcum
                    revtimes: "", //  Revolve Times		.ledgrp.rec.revtimes
                    revnbr: "", //  Revolving Count		.ledgrp.rec.revnbr
                    revdat: "", //  Next Revolve Date		.ledgrp.rec.revdat
                },
                cbs: {
                    nom1: {
                        cur: "", //  Nominal Amount		.ledgrp.cbs.nom1.cur
                        amt: "", //  Nominal Amount		.ledgrp.cbs.nom1.amt
                    },
                    max: {
                        cur: "", //  Maximum Amount		.ledgrp.cbs.max.cur
                        amt: "", //  Maximum Amount		.ledgrp.cbs.max.amt
                    },
                    max2: {
                        cur: "", //  Additional Amount		.ledgrp.cbs.max2.cur
                        amt: "", //  Additional Amount		.ledgrp.cbs.max2.amt
                    },
                    opn2: {
                        cur: "", //  Open Add. Amount		.ledgrp.cbs.opn2.cur
                        amt: "", //  Open Add. Amount		.ledgrp.cbs.opn2.amt
                    },
                },
                preadvflg: "", //  PreAdvice or Notification		.ledgrp.preadvflg
                ben: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.ledgrp.ben.namelc
                    adrelc: "", //  地址		.ledgrp.ben.adrelc
                    dbfadrblkcn: "", //  Chinese address		.ledgrp.ben.dbfadrblkcn
                },
                iss: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.ledgrp.iss.namelc
                    adrelc: "", //  地址		.ledgrp.iss.adrelc
                    dbfadrblkcn: "", //  Chinese address		.ledgrp.iss.dbfadrblkcn
                },
                apl: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.ledgrp.apl.namelc
                    adrelc: "", //  地址		.ledgrp.apl.adrelc
                    dbfadrblkcn: "", //  Chinese address		.ledgrp.apl.dbfadrblkcn
                },
                avb: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.ledgrp.avb.namelc
                    adrelc: "", //  地址		.ledgrp.avb.adrelc
                    dbfadrblkcn: "", //  Chinese address		.ledgrp.avb.dbfadrblkcn
                },
                blk: {
                    avbwthtxt: "", //  Available in		.ledgrp.blk.avbwthtxt
                    defdet: "", //  Deferred Payment Details		.ledgrp.blk.defdet
                    dftat: "", //  Drafts at		.ledgrp.blk.dftat
                    shpper: "", //  Shipment Period		.ledgrp.blk.shpper
                    mixdet: "", //  Mixed Payment Details		.ledgrp.blk.mixdet
                    preper: "", //  Presentation Period		.ledgrp.blk.preper
                    feetxt: "", //  Additional Details to Code for Charges CHATO		.ledgrp.blk.feetxt
                    lcrgod: "", //  Description of Goods		.ledgrp.blk.lcrgod
                    lcrdoc: "", //  Documents Required		.ledgrp.blk.lcrdoc
                    adlcnd: "", //  Additional Conditions		.ledgrp.blk.adlcnd
                    insbnk: "", //  Instructions to Pay.,		.ledgrp.blk.insbnk
                    revcls: "", //  Revolving Clause		.ledgrp.blk.revcls
                    revnotes: "", //  Notes to Beneficiary		.ledgrp.blk.revnotes
                    addamtcov: "", //  Covered		.ledgrp.blk.addamtcov
                    spcben: "", //  Special Payment Cond.		.ledgrp.blk.spcben
                    spcrcb: "", //  Special Payment Cond.		.ledgrp.blk.spcrcb
                },
                drw: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.ledgrp.drw.namelc
                    adrelc: "", //  地址		.ledgrp.drw.adrelc
                    dbfadrblkcn: "", //  Chinese address		.ledgrp.drw.dbfadrblkcn
                },
                adv: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.ledgrp.adv.namelc
                    adrelc: "", //  地址		.ledgrp.adv.adrelc
                    dbfadrblkcn: "", //  Chinese address		.ledgrp.adv.dbfadrblkcn
                },
                a2b: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.ledgrp.a2b.namelc
                    adrelc: "", //  地址		.ledgrp.a2b.adrelc
                    dbfadrblkcn: "", //  Chinese address		.ledgrp.a2b.dbfadrblkcn
                },
                apb: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.ledgrp.apb.namelc
                    adrelc: "", //  地址		.ledgrp.apb.adrelc
                    dbfadrblkcn: "", //  Chinese address		.ledgrp.apb.dbfadrblkcn
                },
                rmb: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.ledgrp.rmb.namelc
                    adrelc: "", //  地址		.ledgrp.rmb.adrelc
                    dbfadrblkcn: "", //  Chinese address		.ledgrp.rmb.dbfadrblkcn
                },
                con: {
                    pts: new Pts().data,
                },
            },
            letp: {
                recget: {
                    sdamod: {
                        seainf: "", //  		.letp.recget.sdamod.seainf
                        dadsnd: "", //  Drag  Drop Sender		.letp.recget.sdamod.dadsnd
                    },
                },
                usr: {
                    extkey: "", //  Responsible User		.letp.usr.extkey
                },
                usrget: {
                    sdamod: {
                        seainf: "", //  		.letp.usrget.sdamod.seainf
                    },
                },
                aamp: {
                    aammod: {
                        addamtflg: "", //  Add. Amount		.letp.aamp.aammod.addamtflg
                    },
                },
                benp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.letp.benp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.letp.benp.ptsget.sdamod.dadsnd
                        },
                    },
                },
                issp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.letp.issp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.letp.issp.ptsget.sdamod.dadsnd
                        },
                    },
                },
                aplp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.letp.aplp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.letp.aplp.ptsget.sdamod.dadsnd
                        },
                    },
                },
                oppbnkl: "", //  对手行代码		.letp.oppbnkl
                avbp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.letp.avbp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.letp.avbp.ptsget.sdamod.dadsnd
                        },
                    },
                },
                drwp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.letp.drwp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.letp.drwp.ptsget.sdamod.dadsnd
                        },
                    },
                },
                labdefdet: "", //  DEFDAT LAbel		.letp.labdefdet
                advp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.letp.advp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.letp.advp.ptsget.sdamod.dadsnd
                        },
                    },
                },
                a2bp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.letp.a2bp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.letp.a2bp.ptsget.sdamod.dadsnd
                        },
                    },
                },
                apbp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.letp.apbp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.letp.apbp.ptsget.sdamod.dadsnd
                        },
                    },
                },
                rmbp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.letp.rmbp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.letp.rmbp.ptsget.sdamod.dadsnd
                        },
                    },
                },
                ptsaddp: {
                    ptsaddg: [], //  		.letp.ptsaddp.ptsaddg
                },
                conp: {
                    ptsget: {
                        sdamod: {
                            dadsnd: "", //  Drag  Drop Sender		.letp.conp.ptsget.sdamod.dadsnd
                            seainf: "", //  		.letp.conp.ptsget.sdamod.seainf
                        },
                    },
                },
            },
            mtabut: {
                coninf: {
                    oitinf: {
                        labinftxt: "", //  Label for INFTXT		.mtabut.coninf.oitinf.labinftxt
                        oit: {
                            inftxt: "", //  Infotext		.mtabut.coninf.oitinf.oit.inftxt
                            inflev: "", //  Infotext Level		.mtabut.coninf.oitinf.oit.inflev
                        },
                    },
                    oitset: {
                        labinftxt: "", //  Label for INFTXT		.mtabut.coninf.oitset.labinftxt
                        oit: {
                            inftxt: "", //  Infotext		.mtabut.coninf.oitset.oit.inftxt
                            inflev: "", //  Infotext Level		.mtabut.coninf.oitset.oit.inflev
                        },
                    },
                    conexedat: "", //  执行日期		.mtabut.coninf.conexedat
                    usr: {
                        extkey: "", //  User ID		.mtabut.coninf.usr.extkey
                    },
                },
            },
            pageId: "", // ctx的key
            trnmod: new Pub().data.Trnmod,
            setmod: new Pub().data.Setmod,
            liaall: new Pub().data.Liaall,
        }
zhengxiaokui committed
288 289
    }
}