index.js 6.75 KB
Newer Older
jianglong committed
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
3
import Pub from "../Public"
jianglong committed
4 5 6 7

export default class Bdtdcr {
	constructor() {
		this.data = {
8 9 10 11 12
			brtissl1blk: "",
			brtbenl1blk: "",
			brtbenl2blk: "",
			brtbenl3blk: "",
			brtbenl4blk: "",
jianglong committed
13 14
			bddgrp: {
				rec: {
15
					advdocflg: "",
jianglong committed
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
					docflg: "",			//  单据类型		.bddgrp.rec.docflg
					rcvdat: "",			//  到单日期		.bddgrp.rec.rcvdat
					predat: "",			//  到单日期		.bddgrp.rec.predat
					docprbrol: "",			//  单据类型		.bddgrp.rec.docprbrol
					payrol: "",			//  发送承付电		.bddgrp.rec.payrol
					ownref: "",			//  单据参考号		.bddgrp.rec.ownref
					nam: "",			//  Name of Bill Contract		.bddgrp.rec.nam
					docsta: "",			//  单据状态		.bddgrp.rec.docsta
					matdat: "",			//  Maturity Date		.bddgrp.rec.matdat
					tenmaxday: "",			//  单据到期日		.bddgrp.rec.tenmaxday
					stadat: "",			//  Start Date		.bddgrp.rec.stadat
					igndisflg: "",			//  Ignore Discrepancies		.bddgrp.rec.igndisflg
					advtyp: "",			//  Type of Advice Received		.bddgrp.rec.advtyp
					totdat: "",			//  付款日期		.bddgrp.rec.totdat
					disdat: "",			//  不符点通知日期		.bddgrp.rec.disdat
					approvcod: "",			//  Documents on Approval Basis		.bddgrp.rec.approvcod
					relgodflg: "",			//  Release of Goods		.bddgrp.rec.relgodflg
					reltyp: "",			//  Release Type		.bddgrp.rec.reltyp
					relgoddat: "",			//  issue date		.bddgrp.rec.relgoddat
					expdat: "",			//  Expiry Date of Shipping Guarantee		.bddgrp.rec.expdat
					trpdoctyp: "",			//  Transport Doc. Type		.bddgrp.rec.trpdoctyp
					trpdocnum: "",			//  Transport Doc. No.		.bddgrp.rec.trpdocnum
					tradat: "",			//  shipment date		.bddgrp.rec.tradat
					tramod: "",			//  Mode of Transport		.bddgrp.rec.tramod
					rtoaplflg: "",			//  Release Goods to Applicant ?		.bddgrp.rec.rtoaplflg
					ngrcod: "",			//  Goods code		.bddgrp.rec.ngrcod
					blnum: "",			//  B/L Number		.bddgrp.rec.blnum
					totcur: "",			//  Total Amount Claimed		.bddgrp.rec.totcur
					totamt: "",			//  Total Amount to be Paid		.bddgrp.rec.totamt
lianyang committed
45
          orddat:"",    //  通知日期		.bddgrp.rec.orddat
46

jianglong committed
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
				},
				cbs: {
					max: {
						cur: "",			//  单据金额		.bddgrp.cbs.max.cur
						amt: "",			//  单据金额		.bddgrp.cbs.max.amt
					},
					opn1: {
						cur: "",			//  单据余额		.bddgrp.cbs.opn1.cur
						amt: "",			//  Balance		.bddgrp.cbs.opn1.amt
					},
				},
				apl: {
					pts: new Pts().data,
				},
				ben: {
					pts: new Pts().data,
				},
				prb: {
					pts: new Pts().data,
				},
				blk: {
68
					prsdoc:"",
jianglong committed
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
					comcon: "",			//  Comments and Conclusions		.bddgrp.blk.comcon
					docdis: "",			//  Discrepancies		.bddgrp.blk.docdis
					docdisflg: "",			//  discrepancies modified		.bddgrp.blk.docdisflg
					accrmk: "",			//  到期付款确认备注		.bddgrp.blk.accrmk
					vesnam: "",			//  Vessel Name		.bddgrp.blk.vesnam
					pordis: "",			//  Port of Discharge		.bddgrp.blk.pordis
					delplc: "",			//  Place of Delivery		.bddgrp.blk.delplc
					roggod: "",			//  Covered Goods		.bddgrp.blk.roggod
					relstoadr: "",			//  Release to Address		.bddgrp.blk.relstoadr
					porlod: "",			//  Port of loading		.bddgrp.blk.porlod
					voynum: "",			//  Voyage numer		.bddgrp.blk.voynum
					notpty: "",			//  Notify Party		.bddgrp.blk.notpty
					carnam: "",			//  Carrier		.bddgrp.blk.carnam
					chaded: "",			//  Charges Deducted		.bddgrp.blk.chaded
					chaadd: "",			//  Charges		.bddgrp.blk.chaadd
lianyang committed
84
          disdoc:"",    //  拒付声明		.bddgrp.blk.disdoc
jianglong committed
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
				},
				shp: {
					pts: new Pts().data,
					namelc: "",			//  名称		.bddgrp.shp.namelc
					adrelc: "",			//  地址		.bddgrp.shp.adrelc
					dbfadrblkcn: "",			//  Chinese address		.bddgrp.shp.dbfadrblkcn
				},
				acb: {
					pts: new Pts().data,
					namelc: "",			//  名称		.bddgrp.acb.namelc
					adrelc: "",			//  地址		.bddgrp.acb.adrelc
					dbfadrblkcn: "",			//  Chinese address		.bddgrp.acb.dbfadrblkcn
				},
				beb: {
					pts: new Pts().data,
					namelc: "",			//  名称		.bddgrp.beb.namelc
					adrelc: "",			//  地址		.bddgrp.beb.adrelc
					dbfadrblkcn: "",			//  Chinese address		.bddgrp.beb.dbfadrblkcn
				},
			},
			advrefflg: "",			//  Advice of Refusal MT734		.advrefflg
			advdisflg: "",			//  Advice of Discrepancy MT750		.advdisflg
			mtabut: {
				clsflg: "",			//  Close Flag		.mtabut.clsflg
				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
					},
				},
			},
			rejpenins: "",			//  Rejection pending instructions		.rejpenins
			didgrp: {
				rec: {
					ownref: "",			//  信用证参考号		.didgrp.rec.ownref
					expdat: "",			//  Date of Expiry		.didgrp.rec.expdat
lianyang committed
135
          elcflg:"",  //    是否通过电证系统  决定是否发送213拒付报文是否高亮可显 .didgrp.rec.elcflg
jianglong committed
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 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
				},
				cbs: {
					opn1: {
						cur: "",			//  Currency		.didgrp.cbs.opn1.cur
						amt: "",			//  Balance		.didgrp.cbs.opn1.amt
					},
				},
			},
			bdtp: {
				didget: {
					sdamod: {
						seainf: "",			//  		.bdtp.didget.sdamod.seainf
						dadsnd: "",			//  Drag  Drop Sender		.bdtp.didget.sdamod.dadsnd
					},
				},
				recget: {
					sdamod: {
						dadsnd: "",			//  Drag  Drop Sender		.bdtp.recget.sdamod.dadsnd
						seainf: "",			//  		.bdtp.recget.sdamod.seainf
					},
				},
				matp: {
					mattxtlab: "",			//  Label for MATTXT		.bdtp.matp.mattxtlab
				},
				oth: {
					pts: new Pts().data,
					namelc: "",			//  名称		.bdtp.oth.namelc
					adrelc: "",			//  地址		.bdtp.oth.adrelc
					dbfadrblkcn: "",			//  Chinese address		.bdtp.oth.dbfadrblkcn
				},
				othp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.bdtp.othp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.bdtp.othp.ptsget.sdamod.dadsnd
						},
					},
				},
				docgrdm: {
					docdsclab: "",			//  Label of document description		.bdtp.docgrdm.docdsclab
176 177
					docgrdp: "",
					docgrd: "",
jianglong committed
178 179 180 181 182 183
				},
			},
			rejtype: "",			//  退单方式		.rejtype
			swtdat: "",			//  SWIFT发送时间		.swtdat
			advbwdflg: "",			//  是否发送213拒付报文		.advbwdflg
			expmno: "",			//  快递单号		.expmno
184 185 186
			liaall: new Pub().data.Liaall,
			trnmod: new Pub().data.Trnmod,
			setmod: new Pub().data.Setmod,
jianglong committed
187 188 189 190
			pageId: ""			// ctx的key
		}
	}
}