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

Eivi committed
5 6
export default class Bftdcr {
    constructor() {
liumin 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
            advrefflg: "", //  Advice of Refusal MT734		.advrefflg
            bfdgrp: {
                rec: {
                    advdocflg: "", //  Return of Documents		.bfdgrp.rec.advdocflg
                    payrol: "", //  Payer		.bfdgrp.rec.payrol
                    docprbrol: "", //  Presented by		.bfdgrp.rec.docprbrol
                    ownref: "", //  单据参考号		.bfdgrp.rec.ownref
                    doctypcod: "", //  单据类型		.bfdgrp.rec.doctypcod
                    matdat: "", //  远期单据到期日		.bfdgrp.rec.matdat
                    rcvdat: "", //  到单日期		.bfdgrp.rec.rcvdat
                    predat: "", //  Presentation Date		.bfdgrp.rec.predat
                    docsta: "", //  单据状态		.bfdgrp.rec.docsta
                    nam: "", //  Externally Displayed Name to Identify the Contract		.bfdgrp.rec.nam
                },
                cbs: {
                    max: {
                        cur: "", //  单据金额		.bfdgrp.cbs.max.cur
                        amt: "", //  单据金额		.bfdgrp.cbs.max.amt
                    },
                    opn1: {
                        cur: "", //  单据余额		.bfdgrp.cbs.opn1.cur
                        amt: "", //  Balance		.bfdgrp.cbs.opn1.amt
                    },
                },
                prb: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.bfdgrp.prb.namelc
                    adrelc: "", //  地址		.bfdgrp.prb.adrelc
                    dbfadrblkcn: "", //  Chinese address		.bfdgrp.prb.dbfadrblkcn
                },
                ben: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.bfdgrp.ben.namelc
                    adrelc: "", //  地址		.bfdgrp.ben.adrelc
                    dbfadrblkcn: "", //  Chinese address		.bfdgrp.ben.dbfadrblkcn
                },
                iss: {
                    pts: new Pts().data,
                },
                apl: {
                    pts: new Pts().data,
                },
                oth: {
                    pts: new Pts().data,
                },
                blk: {
                    intdis: "", //  Internal Discrepancies		.bfdgrp.blk.intdis
                    docdis: "", //  Discrepancies		.bfdgrp.blk.docdis
                    docdisflg: "", //  Discrepancies modified		.bfdgrp.blk.docdisflg
                },
            },
            mtabut: {
                clsflg: "", //  Close Flag		.mtabut.clsflg
                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
                    },
                },
            },
            bftp: {
                dedget: {
                    sdamod: {
                        dadsnd: "", //  Drag  Drop Sender		.bftp.dedget.sdamod.dadsnd
                        seainf: "", //  		.bftp.dedget.sdamod.seainf
                    },
                },
                recget: {
                    sdamod: {
                        dadsnd: "", //  Drag  Drop Sender		.bftp.recget.sdamod.dadsnd
                        seainf: "", //  		.bftp.recget.sdamod.seainf
                    },
                },
                prbp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.bftp.prbp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.bftp.prbp.ptsget.sdamod.dadsnd
                        },
                    },
                },
                docgrdm: {
                    docdsclab: "", //  Label of document description		.bftp.docgrdm.docdsclab
105
                    docgrd: "", //.bftp.docgrdm.docgrd
Eivi committed
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                },
            },
            dedgrp: {
                rec: {
                    ownref: "", //  参考号		.dedgrp.rec.ownref
                    kzref: "", //  信用证编号		.dedgrp.rec.kzref
                },
                cbs: {
                    opn1: {
                        cur: "", //  Currency		.dedgrp.cbs.opn1.cur
                        amt: "", //  Balance		.dedgrp.cbs.opn1.amt
                    },
                },
            },
            advdisflg: "", //  Advice of Discrepancy MT750		.advdisflg
            rejpenins: "", //  Rejection pending instructions		.rejpenins
            liaall: new Pub().data.Liaall,
            pageId: "", // ctx的key
            setmod: new Pub().data.Setmod,
            trnmod: new Pub().data.Trnmod,
        }
liumin committed
127 128
    }
}