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

Eivi committed
5 6
export default class Betdcr {
    constructor() {
jinqian 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
            betp: {
                ledget: {
                    sdamod: {
                        dadsnd: "", //  Drag  Drop Sender		.betp.ledget.sdamod.dadsnd
                        seainf: "", //  		.betp.ledget.sdamod.seainf
                    },
                },
                recget: {
                    sdamod: {
                        dadsnd: "", //  Drag  Drop Sender		.betp.recget.sdamod.dadsnd
                        seainf: "", //  		.betp.recget.sdamod.seainf
                    },
                },
                adaflg: "", //  Add. amount		.betp.adaflg
                othp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.betp.othp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.betp.othp.ptsget.sdamod.dadsnd
                        },
                    },
                },
                prbp: {
                    ptsget: {
                        sdamod: {
                            seainf: "", //  		.betp.prbp.ptsget.sdamod.seainf
                            dadsnd: "", //  Drag  Drop Sender		.betp.prbp.ptsget.sdamod.dadsnd
                        },
                    },
                },
                docgrdm: {
                    docdsclab: "", //  Label of document description		.betp.docgrdm.docdsclab
40
                    docgrd: "", //betp.docgrdm.docgrd
Eivi committed
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
                },
            },
            ledgrp: {
                rec: {
                    ownref: "", //  参考号		.ledgrp.rec.ownref
                },
                cbs: {
                    opn1: {
                        cur: "", //  Currency		.ledgrp.cbs.opn1.cur
                        amt: "", //  Balance		.ledgrp.cbs.opn1.amt
                    },
                },
            },
            bedgrp: {
                rec: {
                    ownref: "", //  单据参考号		.bedgrp.rec.ownref
                    doctypcod: "", //  单据类型		.bedgrp.rec.doctypcod
                    matdat: "", //  到期日		.bedgrp.rec.matdat
                    rcvdat: "", //  到单日期		.bedgrp.rec.rcvdat
                    predat: "", //  Presentation Date		.bedgrp.rec.predat
                    docsta: "", //  单据状态		.bedgrp.rec.docsta
                    nam: "", //  Externally Displayed Name to Identify the Contract		.bedgrp.rec.nam
                    advdocflg: "", //  Return of Documents		.bedgrp.rec.advdocflg
                    payrol: "", //  Payer		.bedgrp.rec.payrol
                    docprbrol: "", //  Presented by		.bedgrp.rec.docprbrol
                },
                cbs: {
                    max: {
                        cur: "", //  单据金额		.bedgrp.cbs.max.cur
                        amt: "", //  单据金额		.bedgrp.cbs.max.amt
                    },
                    opn1: {
                        cur: "", //  单据余额		.bedgrp.cbs.opn1.cur
                        amt: "", //  Balance		.bedgrp.cbs.opn1.amt
                    },
                },
                prb: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.bedgrp.prb.namelc
                    adrelc: "", //  地址		.bedgrp.prb.adrelc
                    dbfadrblkcn: "", //  Chinese address		.bedgrp.prb.dbfadrblkcn
                },
                iss: {
                    pts: new Pts().data,
                },
                apl: {
                    pts: new Pts().data,
                },
                oth: {
                    pts: new Pts().data,
                    namelc: "", //  名称		.bedgrp.oth.namelc
                    adrelc: "", //  地址		.bedgrp.oth.adrelc
                    dbfadrblkcn: "", //  Chinese address		.bedgrp.oth.dbfadrblkcn
                },
                blk: {
                    intdis: "", //  Internal Discrepancies		.bedgrp.blk.intdis
                    docdis: "", //  Discrepancies		.bedgrp.blk.docdis
                    docdisflg: "", //  Discrepancies modified		.bedgrp.blk.docdisflg
                    docins: "", //  Reasons for Rejection		.bedgrp.blk.docins
                    disdoc: "", //  Disposal of Documents		.bedgrp.blk.disdoc
Eivi committed
101
                    prsdoc: "", //.bedgrp.blk.prsdoc
Eivi committed
102 103 104 105 106 107 108 109 110
                },
            },
            advrefflg: "", //  Advice of Refusal MT734		.advrefflg
            advdisflg: "", //  Advice of Discrepancy MT750		.advdisflg
            rejpenins: "", //  Rejection pending instructions		.rejpenins
            pageId: "", // ctx的key
            trnmod: new Pub().data.Trnmod,
            setmod: new Pub().data.Setmod,
            liaall: new Pub().data.Liaall,
111
            mtabut: new Pub().data.Mtabut
Eivi committed
112
        }
jinqian committed
113 114
    }
}