index.js 7.53 KB
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Letame {
    constructor() {
        this.data = {
            number: '',
            oldledgrp: {
                rec: {
                    expdat: '',
                    nomton: '',
                    shpdat: '',
                    nomtop: '',
                    prepertxts18: '',
                    prepers18: ''
                },
                cbs: {
                    opn2: {
                        cur: '',
                        amt: ''
                    },
                    max: {
                        cur: '',
                        amt: ''
                    },
                    nom1: {
                        cur: '',
                        amt: ''
                    },
                    max2: {
                        cur: '',
                        amt: ''
                    }
                },
                rol: {
                    pts: new Pts().data,
                }
            },
            letp: {
              swiftflg:'',
                usr: {
                    extkey: ''
                },
                aamp: {
                    aammod: {
                        addamtflg: '',
                        addamtcov: '',
                    }
                }
            },
            letamep: {
				maxcur: '',
				engcur: '',
                amenbr: '',
                cre707flg: '',
                lcrdocame: {
                    buttxmsel: ''
                },
                benaccflg: '',
                lcrdocamep: {
                    modflg: '',
                    modmanflg: '',
                    usrblk: ''
                },
                adlcndame: {
                    buttxmsel: ''
                },
                lcrgodamep: {
                    modflg: '',
                    modmanflg: '',
                    usrblk: ''
                },
                maxamt: '',
                adlcndamep: {
                    modflg: '',
                    modmanflg: '',
                    usrblk: ''
                },
                engamt: '',
                lcrgodame: {
                    buttxmsel: ''
                },
            },
            rmbclm: {
                acwacw: {
                    pts: {
                        ref: ''
                    }
                },
                valdat: '',
                rmbrmb: {
                    pts: {
                        ref: ''
                    }
                },
                bebbeb: {
                    pts: {
                        ref: ''
                    }
                },
                rmbrol: ''
            },
            advdisflg: '',
            ledgrp: {
                adv: {
                    pts: new Pts().data,
                },
                a2b: {
                    pts: new Pts().data,
                },
                apb: {
                    pts: new Pts().data,
                },
                rmb: {
                    pts: {
                        ref: ''
                    }
                },
                con: {
                    pts: new Pts().data,
                },
                blk: {
                    insbnk: '',
                    revnotes: '',
                    feetxt: '',
                    mixdet: '',
                    revcls: '',
                    adlcnd: '',
                    shpper: '',
                    addamtcov: '',
                    avbwthtxt: '',
                    defdet: '',
                    lcrdoc: '',
                    lcrgod: '',
                    lcrdocame: '',
                    dftat: '',
                    adlcndame: '',
                    lcrgodame: ''
                },
                rec: {
                    tenmaxday: '',
                    nomton: '',
                    expplc: '',
                    stacty: '',
                    revtyp: '',
                    revtimes: '',
                    opndat: '',
                    nomtop: '',
                    avbwth: '',
                    revflg: '',
                    spcbenflg: '',
                    dbtflg: '',
                    shpdat: '',
                    revdat: '',
                    nam: '',
                    prepertxts18: '',
                    redclsflg: '',
                    cnfins: '',
                    nomspc: '',
                    shptrss18: '',
                    spcrcbflg: '',
                    collflg: '',
                    inctrf: '',
                    shpfro: '',
                    lcrtyp: '',
                    nonban: '',
                    ownref: '',
                    teskeyunc: '',
                    preadvdt: '',
                    avbby: '',
                    pordis: '',
                    apprul: '',
                    shppar: '',
                    prepers18: '',
                    expdat: '',
                    shpto: '',
                    revnbr: '',
                    chato: '',
                    cnfdet: '',
                    revcum: '',
                    aplbnkdirsnd: '',
                    advdat: '',
                    porloa: '',
                    apprultxt: '',
                    inr: '',
                },
                cbs: {
                    opn2: {
                        cur: '',
                        amt: ''
                    },
                    max: {
                        cur: '',
                        amt: ''
                    },
                    nom1: {
                        cur: '',
                        amt: ''
                    },
                    max2: {
                        cur: '',
                        amt: ''
                    }
                },
                iss: {
                    pts: {
                        ref: '',
                        nam: ''
                    }
                },
                drw: {
                    pts: {
                        extkey: '',
                        adrblk: ''
                    }
                },
                preadvflg: '',
                avb: {
                    pts: {
                        extkey: ''
                    }
                },
                prb: {
                    pts: new Pts().data,
                },
                apl:{
                    pts: new Pts().data,
                },
                ben:{
                    pts: new Pts().data,
                },
                oth:{
                    pts: new Pts().data,
                },
                acb:{
                    pts: new Pts().data,
                },
            },
            rejpenins: '',
            advrefflg: '',
            swiadd: {
                trnchato: '',
                newnomtop: '',
                purpos: '',
                amedat: '',
                addamtcov: '',
                newnomton: '',
                prepers18: '',
                amenbr: '',
                nartxt: '',
                addamt: '',
                amecur: '',
                newshpdat: '',
                newamt: '',
                newexpdat: '',
                trnfeetxt: '',
                ameamt: '',
                newcur: '',
                prepertxts18: '',
                nomspc: '',
                reqcan: ''
            },
            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,
        };
    }
}