index.js 17.5 KB
Newer Older
lianyang committed
1 2 3 4 5 6 7 8 9
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"   //引入公共面板

export default class Brtudp {
  constructor() {
    this.data = {
      //加入引入的公共面板的字段
      trnmod: new Pub().data.Trnmod,//面函
10 11 12 13 14 15 16 17 18 19
      brtrogl1blk:"",
      brta2bl1blk:"",
      brtapll3blk:"",
      brtapll1blk:"",
      brtapll2blk:"",
      brtprbl1blk:"",
      brtrogl2blk:"",
      brtapll4blk:"",
      brtrogl3blk:"",
      brtprbl2blk:"",
lianyang committed
20 21 22 23
      setmod: new Pub().data.Setmod,//帐务、分录
      liaall: new Pub().data.Liaall,//表外
      mtabut: new Pub().data.Mtabut,//附言
      
24 25 26 27 28
      oldbrdgrp:{
        rec:{
          predat:"",//oldbrdgrp.rec.predat
        },
      },
lianyang committed
29 30

      brdgrp: {
huangxin committed
31 32 33 34 35 36
        shp: {
          pts: new Pts().data,
          namelc: "",			//  名称		.brdgrp.shp.namelc
          adrelc: "",			//  地址		.brdgrp.shp.adrelc
          dbfadrblkcn: "",			//  Chinese address		.brdgrp.shp.dbfadrblkcn
        },
lianyang committed
37
        rec: {
huangxin committed
38 39 40 41 42 43 44 45 46 47 48 49
          ngrcod:"",
          rtoaplflg:"",
          blnum:"",
          tramod:"",
          tradat:"",
          trpdocnum:"",
          trpdoctyp:"",
          expdat:"",
          relgoddat:"",
          reltyp:"",
          relgodflg:"",
          dscinsflg:"",
lianyang committed
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
          ownref: "",			//  单据参考号		.brdgrp.rec.ownref
          nam: "",			//  Name of Bill Contract		.brdgrp.rec.nam
          rcvdat: "",			//  Received on		.brdgrp.rec.rcvdat
          advdat: "",			//  到单日期		.brdgrp.rec.advdat
          docflg: "",			//  Document Condition		.brdgrp.rec.docflg
          docsta: "",			//  单据状态		.brdgrp.rec.docsta
          matdat: "",			//  Maturity Date		.brdgrp.rec.matdat
          tenmaxday: "",			//  单据类型		.brdgrp.rec.tenmaxday
          stadat: "",			//  远期单据到期日		.brdgrp.rec.stadat
          predat: "",			//  Presentation Date		.brdgrp.rec.predat
          docprbrol: "",			//  Presented by		.brdgrp.rec.docprbrol
          payrol: "",			//  Select MT to be sent to presenting bank		.brdgrp.rec.payrol
          igndisflg: "",			//  Ignore Discrepancies		.brdgrp.rec.igndisflg
          advtyp: "",			//  Type of Advice Received		.brdgrp.rec.advtyp
          totdat: "",			//  付款日期		.brdgrp.rec.totdat
          disdat: "",			//  Discrepancy Advice Dated		.brdgrp.rec.disdat
          approvcod: "",			//  Documents on Approval Basis		.brdgrp.rec.approvcod
67 68
          totcur:"",			//  Total Amount Claimed		.brdgrp.rec.totcur
					totamt:"",			//  Total Amount to be Paid		.brdgrp.rec.totamt
69
          mattxtflg:"",     //brdgrp.rec.mattxtflg   maturityDate是否高亮可显字段
70
          acpnowflg:"",       //brdgrp.rec.acpnowflg    Doc. Amount Part 金额是否高亮可显 
lianyang committed
71 72 73 74 75 76 77 78 79 80 81 82 83
        },
        cbs: {
          max: {
            cur: "",			//  单据金额		.brdgrp.cbs.max.cur
            amt: "",			//  单据金额		.brdgrp.cbs.max.amt
          },
          opn1: {
            cur: "",			//  单据余额		.brdgrp.cbs.opn1.cur
            amt: "",			//  Balance		.brdgrp.cbs.opn1.amt
          },
          opn2: {
            cur: "",			//  附加金额		.brdgrp.cbs.opn2.cur
          },
84 85 86
          max2:{
            amt:"",			//  附加金额		.brdgrp.cbs.max2.amt
          },
lianyang committed
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
        },
        apl: {
          pts: new Pts().data,
        },
        ben: {
          pts: new Pts().data,
        },
        prb: {
          pts: new Pts().data,
          namelc: "",			//  名称		.brdgrp.prb.namelc
          adrelc: "",			//  地址		.brdgrp.prb.adrelc
          dbfadrblkcn: "",			//  Chinese address		.brdgrp.prb.dbfadrblkcn
        },
        tag72add: "",			//  TAG72		.brdgrp.tag72add
        blk: {
huangxin committed
102 103 104 105 106 107 108 109 110
          notpty:"",
          relstoadr:"",
          carnam:"",
          voynum:"",
          porlod:"",
          roggod:"",
          delplc:"",
          pordis:"",
          vesnam:"",
111
          prsdoc: "",   //brdgrp.blk.prsdoc
lianyang committed
112 113 114 115
          comcon: "",			//  Comments and Conclusions		.brdgrp.blk.comcon
          setinsbr: "",			//  Settlement Instructions BR		.brdgrp.blk.setinsbr
          docdis: "",			//  Discrepancies		.brdgrp.blk.docdis
          docdisflg: "",			//  discrepancies modified		.brdgrp.blk.docdisflg
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
          chaded:"",			//  Charges Deducted		.brdgrp.blk.chaded
					chaadd:"",			//  Charges		.brdgrp.blk.chaadd
					nartxt77a:"",			//  Narrative TAG 77A of MT754		.brdgrp.blk.nartxt77a
        },
        acb:{
          pts:new Pts().data,
          namelc:"",			//  名称		.brdgrp.acb.namelc
          adrelc:"",			//  地址		.brdgrp.acb.adrelc
          dbfadrblkcn:"",			//  Chinese address		.brdgrp.acb.dbfadrblkcn
        },
        rmb:{
          pts:new Pts().data,
          namelc:"",			//  名称		.brdgrp.rmb.namelc
          adrelc:"",			//  地址		.brdgrp.rmb.adrelc
          dbfadrblkcn:"",			//  Chinese address		.brdgrp.rmb.dbfadrblkcn
        },
        beb:{
          pts:new Pts().data,
          namelc:"",			//  名称		.brdgrp.beb.namelc
          adrelc:"",			//  地址		.brdgrp.beb.adrelc
          dbfadrblkcn:"",			//  Chinese address		.brdgrp.beb.dbfadrblkcn
lianyang committed
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
        },
      },
      lidgrp: {
        rec: {
          ownref: "",			//  信用证编号		.lidgrp.rec.ownref
          expdat: "",			//  Date of Expiry		.lidgrp.rec.expdat
        },
        cbs: {
          opn1: {
            cur: "",			//  Currency		.lidgrp.cbs.opn1.cur
            amt: "",			//  Balance		.lidgrp.cbs.opn1.amt
          },
        },
      },
      brtp: {
huangxin committed
152
        connum:"",
lianyang committed
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
        lidget: {
          sdamod: {
            seainf: "",			//  		.brtp.lidget.sdamod.seainf
            dadsnd: "",			//  Drag  Drop Sender		.brtp.lidget.sdamod.dadsnd
          },
        },
        recget: {
          sdamod: {
            dadsnd: "",			//  Drag  Drop Sender		.brtp.recget.sdamod.dadsnd
            seainf: "",			//  		.brtp.recget.sdamod.seainf
          },
        },
        matp: {
          mattxtlab: "",			//  Label for MATTXT		.brtp.matp.mattxtlab
        },
        prbp: {
          ptsget: {
            sdamod: {
              seainf: "",			//  		.brtp.prbp.ptsget.sdamod.seainf
              dadsnd: "",			//  Drag  Drop Sender		.brtp.prbp.ptsget.sdamod.dadsnd
            },
          },
        },
        oth: {
          pts: new Pts().data,
          namelc: "",			//  名称		.brtp.oth.namelc
          adrelc: "",			//  地址		.brtp.oth.adrelc
          dbfadrblkcn: "",			//  Chinese address		.brtp.oth.dbfadrblkcn
        },
        othp: {
          ptsget: {
            sdamod: {
              seainf: "",			//  		.brtp.othp.ptsget.sdamod.seainf
              dadsnd: "",			//  Drag  Drop Sender		.brtp.othp.ptsget.sdamod.dadsnd
            },
          },
        },
        docgrdm: {
          docdsclab: "",			//  Label of document description		.brtp.docgrdm.docdsclab
192
          docgrd: "",                    //brtp.docgrdm.docgrd
lianyang committed
193 194 195 196
        },
        cre752flg: "",			//  Create 752		.brtp.cre752flg
        furide: "",			//  Further Identification		.brtp.furide
        cre732flg: "",			//  Create MT 732		.brtp.cre732flg
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
        acbp:{
          ptsget:{
            sdamod:{
              seainf:"",			//  		.brtp.acbp.ptsget.sdamod.seainf
              dadsnd:"",			//  Drag  Drop Sender		.brtp.acbp.ptsget.sdamod.dadsnd
            },
          },
        },
        rmbp:{
          ptsget:{
            sdamod:{
              seainf:"",			//  		.brtp.rmbp.ptsget.sdamod.seainf
              dadsnd:"",			//  Drag  Drop Sender		.brtp.rmbp.ptsget.sdamod.dadsnd
            },
          },
        },
        bebp:{
          ptsget:{
            sdamod:{
              seainf:"",			//  		.brtp.bebp.ptsget.sdamod.seainf
              dadsnd:"",			//  Drag  Drop Sender		.brtp.bebp.ptsget.sdamod.dadsnd
            },
          },
        },
lianyang committed
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
      },
      aamset: {
        utlamt: "",			//  单据金额		.aamset.utlamt
        utlamt2: "",			//  附加金额		.aamset.utlamt2
      },
      // setmod: {
      //   docamt: "",			//  document amount		.setmod.docamt
      //   doccur: "",			//  document currency		.setmod.doccur
      //   docamttyplab: "",			//  settled amount description as label		.setmod.docamttyplab
      //   retmsg: "",			//  Label showing Retry overflow condition		.setmod.retmsg
      //   ref: "",			//  our reference		.setmod.ref
      //   dspflg: "",			//  Type of settlement		.setmod.dspflg
      //   xreflg: "",			//  Recalculate Rates		.setmod.xreflg
      //   setglg: {
      //     labdspflg: "",			//  Label for Type of Settlement		.setmod.setglg.labdspflg
      //   },
      //   zmqacclab: "",			//  主�'�号LABEL		.setmod.zmqacclab
      //   zmqacc: "",			//  自�'�区主�'�号		.setmod.zmqacc
      //   glemod: {
      //     gleshwstm: "",			//  Booking stream to Display		.setmod.glemod.gleshwstm
      //   },
      // },
      sftmt: "",			//  Which MT		.sftmt
      // liaall: {
      //   misamt: "",			//  Amount not yet assigned		.liaall.misamt
      //   concur: "",			//  External Booking Amount		.liaall.concur
      //   outpct: "",			//  Sight Amount Percentage		.liaall.outpct
      //   outamt: "",			//  Sight Amount		.liaall.outamt
      //   exttotoldamt: "",			//  Old Amount booked externally		.liaall.exttotoldamt
      //   exttotamt: "",			//  Total booking amount external assinged		.liaall.exttotamt
      //   liaccv: {
      //     newamt: "",			//  合同金额		.liaall.liaccv.newamt
      //     concur: "",			//  应付保证金金额		.liaall.liaccv.concur
      //     totcovamt: "",			//  金额总和		.liaall.liaccv.totcovamt
      //     newresamt: "",			//  Reserved Amount		.liaall.liaccv.newresamt
      //     addinf: "",			//  Additional Information 		.liaall.liaccv.addinf
      //     cshpct: "",			//  保证金应收比例		.liaall.liaccv.cshpct
      //     relcshpct: "",			//  保证金实收比例		.liaall.liaccv.relcshpct
      //     gleflg: "",			//  Create gle flag		.liaall.liaccv.gleflg
      //     chgcurflg: "",			//  Change currency flag		.liaall.liaccv.chgcurflg
      //     pctresamt: "",			//  reserve amount based percent		.liaall.liaccv.pctresamt
      //   },
      //   limmod: {
      //     limpts: {
      //       wrklab: "",			//  Label		.liaall.limmod.limpts.wrklab
      //       othlab: "",			//  Label		.liaall.limmod.limpts.othlab
      //       othlabss: "",			//  Label		.liaall.limmod.limpts.othlabss
      //       wrk: {
      //         pts: new Pts().data,
      //       },
      //       oth: {
      //         pts: new Pts().data,
      //       },
      //       lsh: "",			//  合同流�'号		.liaall.limmod.limpts.lsh
      //       nonrevflg1: "",			//  Flag to Mark Non-revolving Limits		.liaall.limmod.limpts.nonrevflg1
      //       pfcod1: "",			//  合同流�'号		.liaall.limmod.limpts.pfcod1
      //       nonrevflg2: "",			//  Flag to Mark Non-revolving Limits		.liaall.limmod.limpts.nonrevflg2
      //       pfcod2: "",			//  合同流�'号		.liaall.limmod.limpts.pfcod2
      //     },
      //     wrkp: {
      //       ptsget: {
      //         sdamod: {
      //           dadsnd: "",			//  Drag  Drop Sender		.liaall.limmod.wrkp.ptsget.sdamod.dadsnd
      //           seainf: "",			//  		.liaall.limmod.wrkp.ptsget.sdamod.seainf
      //         },
      //       },
      //     },
      //     othp: {
      //       ptsget: {
      //         sdamod: {
      //           dadsnd: "",			//  Drag  Drop Sender		.liaall.limmod.othp.ptsget.sdamod.dadsnd
      //           seainf: "",			//  		.liaall.limmod.othp.ptsget.sdamod.seainf
      //         },
      //       },
      //     },
      //     ownref: "",			//  国结业务编号		.liaall.limmod.ownref
      //     comamt: "",			//  业务余额		.liaall.limmod.comamt
      //     ccvamt: "",			//  保证金余额		.liaall.limmod.ccvamt
      //     ecifno: "",			//  ECIFNO		.liaall.limmod.ecifno
      //   },
      // },
      // 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
      //     },
      //   },
      // },
      // trnmod: {
      //   trndoc: {
      //     advlabel: "",			//  ADVLABEL		.trnmod.trndoc.advlabel
      //     amdnam: "",			//  AMDNAM		.trnmod.trndoc.amdnam
      //     advdoc: "",			//  国内证通知书		.trnmod.trndoc.advdoc
      //     advnam: "",			//  国内证落款		.trnmod.trndoc.advnam
      //     amdapl: "",			//  修改申请人名称		.trnmod.trndoc.amdapl
      //     doclbl: "",			//  Lable for CONDOCSTM		.trnmod.trndoc.doclbl
      //     doctrestm: "",			//  Document tree		.trnmod.trndoc.doctrestm
      //     shwinc: "",			//  Show Incoming Messages		.trnmod.trndoc.shwinc
      //     shwout: "",			//  Show Outgoing Messages		.trnmod.trndoc.shwout
      //     condocstm: "",			//  Connected Documents		.trnmod.trndoc.condocstm
      //     rcvatt: {
      //       seainf: "",			//  		.trnmod.trndoc.rcvatt.seainf
      //     },
      //     filrecv: "",			//  File Receiver		.trnmod.trndoc.filrecv
      //   },
      // },
      cfabrt: {
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400
        cfaflg:"",			//  数据采集标志		.cfabrt.cfaflg
        basflg:"",			//  签约信息		.cfabrt.basflg
        ownextkey:"",			//  地区机构号		.cfabrt.ownextkey
        dclflg:"",			//  变动信息		.cfabrt.dclflg
        cfabrttxt:"",			//  不报送原因		.cfabrt.cfabrttxt
        cfatyp:"",        //  数据提取操作类型            .cfabrt.cfatyp
        recgrp:{
          bas:{
            appname:"",			//  开证申请人名称		.cfabrt.recgrp.bas.appname
            creditorcode:"",			//  债权人代码		.cfabrt.recgrp.bas.creditorcode
            creditortype:"",			//  债权人类型代码		.cfabrt.recgrp.bas.creditortype
            creditorname:"",			//  债权人中文名称		.cfabrt.recgrp.bas.creditorname
            creditornamen:"",			//  债权人英文名称		.cfabrt.recgrp.bas.creditornamen
            crehqcode:"",			//  债权人总部所在国家(地区)代码		.cfabrt.recgrp.bas.crehqcode
            opercode:"",			//  债权人经营地所在国家(地区)代码		.cfabrt.recgrp.bas.opercode
            exdebtcode:"",			//  外债编号		.cfabrt.recgrp.bas.exdebtcode
            actiontype:"",			//  操作类型		.cfabrt.recgrp.bas.actiontype
            debtorcode:"",			//  债务人代码		.cfabrt.recgrp.bas.debtorcode
            debtype:"",			//  债务类型		.cfabrt.recgrp.bas.debtype
            valuedate:"",			//  起息日		.cfabrt.recgrp.bas.valuedate
            contractcurr:"",			//  签约金额		.cfabrt.recgrp.bas.contractcurr
            actiondesc:"",			//  删除原因		.cfabrt.recgrp.bas.actiondesc
            maturity:"",			//  到期日		.cfabrt.recgrp.bas.maturity
            spapfeboindex:"",			//  是否不纳入跨境融资风险加权余额计算		.cfabrt.recgrp.bas.spapfeboindex
            contractamount:"",			//  签约金额		.cfabrt.recgrp.bas.contractamount
            appcode:"",			//  开证申请人代码		.cfabrt.recgrp.bas.appcode
            remark:"",			//  备注		.cfabrt.recgrp.bas.remark
            credittype:"",			//  相关业务类型		.cfabrt.recgrp.bas.credittype
            billsn:"",			//  是否附有银行承兑汇票		.cfabrt.recgrp.bas.billsn
            relation:"",			//  对方与本机构的关系		.cfabrt.recgrp.bas.relation
          },
        },
        recp:{
          pubp:{
            creditcodwarn:"",			//  CREDITORCODE WARNING		.cfabrt.recp.pubp.creditcodwarn
            acp:"",			//  确认		.cfabrt.recp.pubp.acp
          },
          dclp:{                //外债远期信用证(含即期单证相符)-变动信息-页面的外债编号字段 
                                  //--在后端是一个list,后端在VO中加一个list类型的字段即可,在Earp.java中具体展现
                                  //但在前端中要具体展现
            exdebtcode:"",       //.cfabrt.recp.dclp.exdebtcode外债编号
            changeno:"",        //.cfabrt.recp.dclp.changeno变动编号
            changtype:"",       //.cfabrt.recp.dclp.changtype 变动类型
            actiontype:"",      //.cfabrt.recp.dclp.actiontype操作类型
            actiondesc:"",        //.cfabrt.recp.dclp.actiondesc  删除原因
            buscode:"",    //.cfabrt.recp.dclp.buscode银行业务参号
            chdate:"",      //.cfabrt.recp.dclp.chdate 变动日期
            chcurrency:"",    //.cfabrt.recp.dclp.chcurrency 变动币种
            chamount:"",      //.cfabrt.recp.dclp.chamount 变动金额
            fairvalue:"",       //.cfabrt.recp.dclp.fairvalue 公允价值
            remark:"",            //.cfabrt.recp.dclp.remark 备注
            acp:"",             //.cfabrt.recp.dclp.acp 确认
            sta:"",            //.cfabrt.recp.dclp.sta  接口状态
            infflg:"",             //.cfabrt.recp.dclp.infflg  历史数据标志
            invflg:"",                //.cfabrt.recp.dclp.invflg 页面是否可见
            rowflg:"",                 //.cfabrt.recp.dclp.rowflg   ROW FLG
          },
        },
lianyang committed
401 402 403 404 405
      },
      pageId: ""			// ctx的key
    }
  }
}