index.js 6.86 KB
Newer Older
1 2 3 4 5 6 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 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
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
import Cpdgrp from '~/components/business/commonModel/cpdgrp/index.js';

export default class Cptrej {
    constructor() {
        this.data = {
            isSptLoad: false,
            inifrm: "CPTREJ", //交易代码
            cpdgrp: new Cpdgrp().data,
            setmod: new Pub().data.Setmod,
            rmbbop: new Pub().data.Rmbbop,
            docpan: new Pub().data.Docpan,
            liaall: new Pub().data.Liaall,
            trndia: new Pub().data.Trndia,
            sysmod: {
                usr: {
                    ownbchcod: "",
                    extkey: ""
                }
            },
            reason: "",
            cptp: {
                yhnglbh: "", // 原行内关联编号
                benoptflg: "", //  Use Option F for Beneficiary		.cptp.benoptflg
                gryflg: "", //  可疑名单		.cptp.gryflg
                sjzslst: "",
            },
            fremsg: {
                sndmt: "", //  Message Type		.fremsg.sndmt
                fulmt: "", //  MT to Send		.fremsg.fulmt
                reldat: "", //  Date of Message		.fremsg.reldat
                strinf: "", //  Narrative		.fremsg.strinf
                msgrol: "", //  发送给		.fremsg.msgrol
                fmo: {
                    pts: new Pts().data
                },
                ccrol: "", //  抄送至		.fremsg.ccrol
                fmc: {
                    pts: new Pts().data
                },
                reldir: "", //  relevant message sent/received		.fremsg.reldir
                relmt: "", //  Related MT		.fremsg.relmt
                relref: "", //  Related Reference(21)		.fremsg.relref
                paytyp: "", //  查询渠道		.fremsg.paytyp
                erxmod: {
                    ersp: {
                        mantyp: "", //  关联类型		.fremsg.erxmod.ersp.mantyp
                        dontyp: "", //  事务类型		.fremsg.erxmod.ersp.dontyp
                        reutyp: "", //  退汇应答状态		.fremsg.erxmod.ersp.reutyp
                        contxt: "", //  事务附言		.fremsg.erxmod.ersp.contxt
                        sermsg: "", //  查询对象		.fremsg.erxmod.ersp.sermsg
                        yhnglbh: "", //  原行内关联编号		.fremsg.erxmod.ersp.yhnglbh
                        bwbsh: "", //  原报文标识号		.fremsg.erxmod.ersp.bwbsh
                        hnglbh: "", //  行内关联编号		.fremsg.erxmod.ersp.hnglbh
                        qsfsqd: "", //  发送渠道		.fremsg.erxmod.ersp.qsfsqd
                        contxtn95: "", //  事务附言		.fremsg.erxmod.ersp.contxtn95
                        contxtn99: "", //  事务附言		.fremsg.erxmod.ersp.contxtn99
                        reason: "", //  止付原因		.fremsg.erxmod.ersp.reason
                        rejdue: "", //  理由		.fremsg.erxmod.ersp.rejdue
                        sbhdm: "", //  原收/发报行		.fremsg.erxmod.ersp.sbhdm
                        reasontxt: "" //  止付原因代码指令		.fremsg.erxmod.ersp.reasontxt
                    }
                },
                det: "", //  Query/ Answer		.fremsg.det
                tag77a: "", //  Narrative (77A)		.fremsg.tag77a
                tag22d: "", //  Form of Undertaking		.fremsg.tag22d
                tag23: "", //  Undertaking Number		.fremsg.tag23
                issrol: "", //  Issuer Role 		.fremsg.issrol
                iss: {
                    pts: new Pts().data
                },
                tag23h: "", //  Function		.fremsg.tag23h
                tag45d: "", //  Narrative for MT 759		.fremsg.tag45d
                tag23x: "", //  Tag23X		.fremsg.tag23x
                tag23xtxt: "" //  Tag23X details		.fremsg.tag23xtxt
            },
            cptfrel1blk: "", //  XMLPanel cptfrel1的内置block		.cptfrel1blk
            cptfrel2blk: "", //  XMLPanel cptfrel2的内置block		.cptfrel2blk
            bifp: {
                lab6: "", //  其他交易关联银行		.bifp.lab6
                lab7: "", //  其他交易关联方国别/地区		.bifp.lab7
                lab8: "", //  其他交易关联方		.bifp.lab8
                lab9: "", //  IMO NO.		.bifp.lab9
                bif: {
                    bennam: "", //  交易对手名称		.bifp.bif.bennam
                    traclicty: "", //  交易对手国别		.bifp.bif.traclicty
                    trabnknum: "", //  交易对手银行号		.bifp.bif.trabnknum
                    trabnknam: "", //  交易对手银行名		.bifp.bif.trabnknam
                    stacty: "", //  起运国		.bifp.bif.stacty
                    endcty: "", //  目的国		.bifp.bif.endcty
                    goddes: "", //  货描		.bifp.bif.goddes
                    convey: "", //  运输工具名称		.bifp.bif.convey
                    godnum: "", //  �'�物数量		.bifp.bif.godnum
                    godamt: "", //  �'�物单价		.bifp.bif.godamt
                    tramod: "", //  运输方式		.bifp.bif.tramod
                    sender: "", //  发�'�人		.bifp.bif.sender
                    recver: "", //  收�'�人		.bifp.bif.recver
                    tracom: "", //  运输公司		.bifp.bif.tracom
                    payway: "", //  付款方式		.bifp.bif.payway
                    trbtyp: "" //  �'�物�'�易		.bifp.bif.trbtyp
                },
                recgrp: {
                    rec: {
                        harbor: "", //  港口		.bifp.recgrp.rec.harbor
                        warflg: "", //  是否预警		.bifp.recgrp.rec.warflg
                        selref: "", //  金融制裁筛查编号		.bifp.recgrp.rec.selref
                        matchd: "", //  匹配度		.bifp.recgrp.rec.matchd
                        warrea: "", //  预警原因		.bifp.recgrp.rec.warrea
                        sta: "", //  状态		.bifp.recgrp.rec.sta
                        dattim: "" //  预警匹配度		.bifp.recgrp.rec.dattim
                    }
                },
                warnumber: "", //  中预警次数		.bifp.warnumber
                stacty: "", //  Country Code Risk Country		.bifp.stacty
                banflg: "", //  无行号标志		.bifp.banflg
                bnklst: [], //  		.bifp.bnklst
                ptylst: [], //  		.bifp.ptylst
                gblst: [], //  		.bifp.gblst
                lab1: "", //  报关单标签		.bifp.lab1
                lab3: "", //  合同标签		.bifp.lab3
                lab4: "", //  发票标签		.bifp.lab4
                lab2: "", //  �'�物品类标签		.bifp.lab2
                lab5: "", //  运输单据信息		.bifp.lab5
                bghlst: [], //  		.bifp.bghlst
                hwplst: [], //  		.bifp.hwplst
                hthlst: [], //  		.bifp.hthlst
                fphlst: [], //  		.bifp.fphlst
                ydhlst: [] //  		.bifp.ydhlst
            },
            pageId: "" // ctx的key
        };
    }
}