index.js 4.91 KB
Newer Older
ccx committed
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
3
import Pub from "../Public"
ccx committed
4 5 6
export default class Bctdav{
    constructor () {
        this.data = {
panziyi committed
7 8 9 10 11 12
			bctdrrl1blk:"",
			bctdrel1blk:"",
			bctdrel2blk:"",
			bctrogl1blk:"",
			bctrogl2blk:"",

13 14 15 16 17 18 19
						cnybop:{
							cnyflg:"",
							traflg:"",
							outflg:"",
							libflg:"",
							vouflg:"",
						},
ccx committed
20
						bcdgrp:{
21 22 23
							co2:{
								pts:new Pts().data,	
							},
24 25 26
							srm:{
								djutyp:"",
							},
ccx committed
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
							rec:{
								ownref:"",			//  Reference		.bcdgrp.rec.ownref
								resflg:"",			//  Reserved Contract		.bcdgrp.rec.resflg
								dftgarflg:"",			//  Draft to be Guaranteed		.bcdgrp.rec.dftgarflg
								rcvdat:"",			//  Docs received on		.bcdgrp.rec.rcvdat
								predat:"",			//  Date of Remittance Lt.		.bcdgrp.rec.predat
								advdat:"",			//  Advised on		.bcdgrp.rec.advdat
								oridre:"",			//  Send Original Documents to Drawee		.bcdgrp.rec.oridre
								doctypcod:"",			//  Collection Condition		.bcdgrp.rec.doctypcod
								matdat:"",			//  Maturity Date		.bcdgrp.rec.matdat
								matpercnt:"",			//  Tenor Specification		.bcdgrp.rec.matpercnt
								matpertyp:"",			//  Days/Months or Years for Maturity Period		.bcdgrp.rec.matpertyp
								matperbeg:"",			//  Tenor Starting from		.bcdgrp.rec.matperbeg
								stacty:"",			//  Country Code Risk Country		.bcdgrp.rec.stacty
								nam:"",			//  Name		.bcdgrp.rec.nam
								invtyp:"",			//  发票类型		.bcdgrp.rec.invtyp
								chato:"",			//  Our Charges to		.bcdgrp.rec.chato
								focflg:"",			//  Free of Payment		.bcdgrp.rec.focflg
								waicolcod:"",			//  Waive Collecting Bank Charges		.bcdgrp.rec.waicolcod
								wairmtcod:"",			//  Waive Remitting Bank Charges		.bcdgrp.rec.wairmtcod
								othins:"",			//  Defer Payment until		.bcdgrp.rec.othins
								stagod:"",			//  Good's Code (for Statistics)		.bcdgrp.rec.stagod
								proins:"",			//  Protest Instructions		.bcdgrp.rec.proins
							},
							cbs:{
								max:{
									cur:"",			//  Document Amount		.bcdgrp.cbs.max.cur
									amt:"",			//  Document Amount		.bcdgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.bcdgrp.cbs.opn1.cur
									amt:"",			//  Open Amount		.bcdgrp.cbs.opn1.amt
								},
							},
							blk:{
62
								docpre:"",
ccx committed
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
								bcgdet:"",			//  Maturity Text		.bcdgrp.blk.bcgdet
								bcgdetflg:"",			//  BC Tenor Details modified		.bcdgrp.blk.bcgdetflg
								colins:"",			//  Collection Instructions		.bcdgrp.blk.colins
								dftins:"",			//  Draft Instructions		.bcdgrp.blk.dftins
								othins:"",			//  Other Instructions		.bcdgrp.blk.othins
								chgtxt:"",			//  Charges Text		.bcdgrp.blk.chgtxt
							},
							dre:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bcdgrp.dre.namelc
								adrelc:"",			//  地址		.bcdgrp.dre.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bcdgrp.dre.dbfadrblkcn
							},
							rmi:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bcdgrp.rmi.namelc
								adrelc:"",			//  地址		.bcdgrp.rmi.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bcdgrp.rmi.dbfadrblkcn
							},
							drr:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bcdgrp.drr.namelc
								adrelc:"",			//  地址		.bcdgrp.drr.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bcdgrp.drr.dbfadrblkcn
							},
						},
						bctp:{
							recget:{
								sdamod:{
									seainf:"",			//  		.bctp.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.bctp.recget.sdamod.dadsnd
								},
							},
							usrget:{
								sdamod:{
									seainf:"",			//  		.bctp.usrget.sdamod.seainf
								},
							},
							usr:{
								extkey:"",			//  Responsible User		.bctp.usr.extkey
							},
							docgrdm:{
								docdsclab:"",			//  Label of document description		.bctp.docgrdm.docdsclab
106 107
								docgrd:[],	
							
ccx committed
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
							},
							drep:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bctp.drep.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bctp.drep.ptsget.sdamod.dadsnd
									},
								},
							},
							rmip:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bctp.rmip.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bctp.rmip.ptsget.sdamod.dadsnd
									},
								},
							},
							drrp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bctp.drrp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bctp.drrp.ptsget.sdamod.dadsnd
									},
								},
							},
							sblx:"",			//  申报类型		.bctp.sblx
							acttyplab:"",			//  款项去向		.bctp.acttyplab
							acttyp:"",			//  ACTTYP		.bctp.acttyp
						},
						outlen:{
							szflg:"",			//  申报类型		.outlen.szflg
						},
140 141 142
						setmod:new Pub().data.Setmod,
						liaall:new Pub().data.Liaall,
						mtabut:new Pub().data.Mtabut,
wangna committed
143
						trnmod:new Pub().data.Trnmod,
ccx committed
144 145 146 147
						pageId: ""			// ctx的key
				}
    }
}