index.js 12.1 KB
Newer Older
zhoutian committed
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
lianyang committed
3
import Pub from "../Public"   //引入公共面板
zhoutian committed
4

5 6 7
export default class Brtdck {
  constructor() {
    this.data = {
lianyang committed
8

9
      setmod: new Pub().data.Setmod,  //加入公共面板账务字段
10
      mtabut: new Pub().data.Mtabut,
11 12 13 14 15 16 17
      trnmod: new Pub().data.Trnmod,   //加入公共面板面函的字段 
      brtapll2blk: "", //加入公共面板面函的字段
      brtapll1blk: "",
      brtrogl1blk: "",
      brtapll3blk: "",
      brtrogl2blk: "",
      liaall: new Pub().data.Liaall,    //加入公共面板表外字段
lianyang committed
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
      oridoclab: "",			//  Label original		.oridoclab
      oriaddlab: "",			//  Label original		.oriaddlab
      brdgrp: {
        rec: {
          ownref: "",			//  单据参考号		.brdgrp.rec.ownref
          nam: "",			//  Name of Bill Contract		.brdgrp.rec.nam
          rcvdat: "",			//  Date of Receipt of Documents		.brdgrp.rec.rcvdat
          advdat: "",			//  到单日期		.brdgrp.rec.advdat
          docflg: "",			//  Document Type		.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
          shpdat: "",			//  Date of Shipment		.brdgrp.rec.shpdat
          dscinsflg: "",			//  Enter Docs, Discrep. and Instructions		.brdgrp.rec.dscinsflg
          docprbrol: "",			//  Presented by		.brdgrp.rec.docprbrol
          payrol: "",			//  Payer		.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
          relgodflg: "",			//  Release of Goods		.brdgrp.rec.relgodflg
          reltyp: "",			//  Release Type		.brdgrp.rec.reltyp
          relgoddat: "",			//  issue date		.brdgrp.rec.relgoddat
          expdat: "",			//  Expiry Date of Shipping Guarantee		.brdgrp.rec.expdat
          trpdoctyp: "",			//  Transport Doc. Type		.brdgrp.rec.trpdoctyp
          trpdocnum: "",			//  Transport Doc. No.		.brdgrp.rec.trpdocnum
          tradat: "",			//  shipment date		.brdgrp.rec.tradat
          tramod: "",			//  Mode of Transport		.brdgrp.rec.tramod
          rtoaplflg: "",			//  Release Goods to Applicant ?		.brdgrp.rec.rtoaplflg
          ngrcod: "",			//  Goods code		.brdgrp.rec.ngrcod
          blnum: "",			//  B/L Number		.brdgrp.rec.blnum
        },
        cbs: {
          max: {
            cur: "",			//  Document Amount		.brdgrp.cbs.max.cur
            amt: "",			//  Document Amount		.brdgrp.cbs.max.amt
          },
          opn1: {
            cur: "",			//  单据余额		.brdgrp.cbs.opn1.cur
            amt: "",			//  Balance		.brdgrp.cbs.opn1.amt
          },
          opn2: {
            cur: "",			//  附加金额		.brdgrp.cbs.opn2.cur
          },
          max2: {
            amt: "",			//  附加金额		.brdgrp.cbs.max2.amt
          },
        },
        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
        },
        blk: {
83
          prsdoc:"",			// brdgrp.blk.prsdoc
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 153 154 155 156 157 158 159 160
          matper: "",			//  Maturity Period		.brdgrp.blk.matper
          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
          vesnam: "",			//  Vessel Name		.brdgrp.blk.vesnam
          pordis: "",			//  Port of Discharge		.brdgrp.blk.pordis
          delplc: "",			//  Place of Delivery		.brdgrp.blk.delplc
          roggod: "",			//  Covered Goods		.brdgrp.blk.roggod
          relstoadr: "",			//  Release to Address		.brdgrp.blk.relstoadr
          porlod: "",			//  Port of loading		.brdgrp.blk.porlod
          voynum: "",			//  Voyage numer		.brdgrp.blk.voynum
          notpty: "",			//  Notify Party		.brdgrp.blk.notpty
          carnam: "",			//  Carrier		.brdgrp.blk.carnam
        },
        shp: {
          pts: new Pts().data,
          namelc: "",			//  名称		.brdgrp.shp.namelc
          adrelc: "",			//  地址		.brdgrp.shp.adrelc
          dbfadrblkcn: "",			//  Chinese address		.brdgrp.shp.dbfadrblkcn
        },
      },
      lidgrp: {
        rec: {
          ownref: "",			//  信用证编号		.lidgrp.rec.ownref
          expdat: "",			//  Date of Expiry		.lidgrp.rec.expdat
          utlnbr: "",			//  Count of Received Document Sets		.lidgrp.rec.utlnbr
          aplref: "",			//  Applicant Reference		.lidgrp.rec.aplref
        },
        cbs: {
          opn1: {
            cur: "",			//  Currency		.lidgrp.cbs.opn1.cur
            amt: "",			//  Balance		.lidgrp.cbs.opn1.amt
          },
        },
      },
      brtp: {
        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
            },
          },
        },
        setnowflg: "",			//  Register to Send and Settle Document		.brtp.setnowflg
        docgrdm: {
          docdsclab: "",			//  Label of document description		.brtp.docgrdm.docdsclab
161
          docgrd: "",                   //brtp.docgrdm.docgrd
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 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 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
        },
        cre752flg: "",			//  Create 752		.brtp.cre752flg
        furide: "",			//  Further Identification		.brtp.furide
        cre732flg: "",			//  Create MT 732		.brtp.cre732flg
        shpp: {
          ptsget: {
            sdamod: {
              seainf: "",			//  		.brtp.shpp.ptsget.sdamod.seainf
              dadsnd: "",			//  Drag  Drop Sender		.brtp.shpp.ptsget.sdamod.dadsnd
            },
          },
        },
        connum: "",			//  Contract Number		.brtp.connum
      },
      oldbrdgrp: {
        cbs: {
          max: {
            amt: "",			//  Balance		.oldbrdgrp.cbs.max.amt
          },
          max2: {
            amt: "",			//  Balance		.oldbrdgrp.cbs.max2.amt
          },
        },
      },
      mhtyp: "",			//  Transaction Type		.mhtyp
      days: "",			//  days		.days
      // 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
      // 	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
      // 	},
      // },
      // setmod:{
      // 	docamttyplab:"",			//  settled amount description as label		.setmod.docamttyplab
      // 	retmsg:"",			//  Label showing Retry overflow condition		.setmod.retmsg
      // 	ref:"",			//  our reference		.setmod.ref
      // 	doccur:"",			//  document currency		.setmod.doccur
      // 	docamt:"",			//  document amount		.setmod.docamt
      // 	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
      // },
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269
      // 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
      //     },
      //   },
      // },
270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288
      // 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
      // 	},
      // },
      pageId: ""			// ctx的key
zhoutian committed
289
    }
290
  }
zhoutian committed
291
}