index.js 6.86 KB
Newer Older
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
Eivi committed
3 4 5
import Pub from "../Public"
export default class Bftdrv {
    constructor() {
6
        this.data = {
Eivi committed
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
            oridoclab: "", //  Label original		.oridoclab
            bfdgrp: {
                rec: {
                    doctypcod: "", //  单据类型		.bfdgrp.rec.doctypcod
                    rcvdat: "", //  到单日期		.bfdgrp.rec.rcvdat
                    orddat: "", //  收单日期		.bfdgrp.rec.orddat
                    matdat: "", //  远期单据到期日		.bfdgrp.rec.matdat
                    shpdat: "", //  到期日		.bfdgrp.rec.shpdat
                    dscinsflg: "", //  Enter Docs, Discrep. and Instructions		.bfdgrp.rec.dscinsflg
                    payrol: "", //  Payer		.bfdgrp.rec.payrol
                    docprbrol: "", //  Presented by		.bfdgrp.rec.docprbrol
                    ownref: "", //  单据参考号		.bfdgrp.rec.ownref
                    predat: "", //  Presentation Date		.bfdgrp.rec.predat
                    docsta: "", //  单据状态		.bfdgrp.rec.docsta
                    nam: "", //  Externally Displayed Name to Identify the Contract		.bfdgrp.rec.nam
                    anobnkcod: "", //  交单批注行行号		.bfdgrp.rec.anobnkcod
                    anodat: "", //  交单批注日期		.bfdgrp.rec.anodat
                    anodsp: "", //  交单批注描述		.bfdgrp.rec.anodsp
                    lescom: "", //  Less comm.		.bfdgrp.rec.lescom
                    expmno: "", //  快递单号		.bfdgrp.rec.expmno
                },
                cbs: {
                    max: {
                        cur: "", //  单据金额		.bfdgrp.cbs.max.cur
                        amt: "", //  单据金额		.bfdgrp.cbs.max.amt
                    },
                    opn1: {
                        cur: "", //  单据余额		.bfdgrp.cbs.opn1.cur
                        amt: "", //  Balance		.bfdgrp.cbs.opn1.amt
                    },
                },
                blk: {
                    matper: "", //  Maturity Period		.bfdgrp.blk.matper
                    sndrmk: "", //  寄单�'�汇修改备注		.bfdgrp.blk.sndrmk
                    intdis: "", //  Internal Discrepancies		.bfdgrp.blk.intdis
                    docdis: "", //  Discrepancies		.bfdgrp.blk.docdis
                    docdisflg: "", //  Discrepancies modified		.bfdgrp.blk.docdisflg
                },
                prb: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.bfdgrp.prb.namelc
                    adrelc: "", //  地址		.bfdgrp.prb.adrelc
                    dbfadrblkcn: "", //  Chinese address		.bfdgrp.prb.dbfadrblkcn
                },
51 52 53 54 55 56
                ben: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.bfdgrp.ben.namelc
                    adrelc: "", //  地址		.bfdgrp.ben.adrelc
                    dbfadrblkcn: "", //  Chinese address		.bfdgrp.ben.dbfadrblkcn
                },
Eivi committed
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
                iss: {
                    pts: new Pts().data,
                },
                apl: {
                    pts: new Pts().data,
                },
                oth: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.bfdgrp.oth.namelc
                    adrelc: "", //  地址		.bfdgrp.oth.adrelc
                    dbfadrblkcn: "", //  Chinese address		.bfdgrp.oth.dbfadrblkcn
                },
            },
            oldbfdgrp: {
                cbs: {
                    max: {
                        amt: "", //  Balance		.oldbfdgrp.cbs.max.amt
                    },
                },
            },
            dedgrp: {
                rec: {
                    utlnbr: "", //  No. of Existing and not Completely Processed  Document Sets		.dedgrp.rec.utlnbr
                    ownref: "", //  参考号		.dedgrp.rec.ownref
                    kzref: "", //  信用证编号		.dedgrp.rec.kzref
                },
                cbs: {
                    opn1: {
                        cur: "", //  Currency		.dedgrp.cbs.opn1.cur
                        amt: "", //  Balance		.dedgrp.cbs.opn1.amt
                    },
                },
            },
            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
                        },
                    },
                },
                zydate: "", //  装运日期\\服务提供日		.bftp.zydate
                msgtyp: "", //  报文类型		.bftp.msgtyp
                docgrdm: {
                    docdsclab: "", //  Label of document description		.bftp.docgrdm.docdsclab
                },
                folwupopt: "", //  Processing Options		.bftp.folwupopt
                othp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.bftp.othp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.bftp.othp.ptsget.sdamod.dadsnd
                        },
                    },
                },
            },
            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
            setmod: new Pub().data.Setmod,
            trnmod: new Pub().data.Trnmod,
            liaall: new Pub().data.Liaall,
        }
153 154
    }
}