index.js 5.21 KB
Newer Older
jianglong committed
1
import Api from "~/service/Api";
zxg committed
2
import Pts from "../Common/Pts"
jianglong committed
3 4
import Dids from "../Public/Dids"
import Pub from "../Public"
zxg committed
5

jianglong committed
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
export default class Ditdav {
	constructor() {
		this.data = {
			didgrp:{
				rec:{
					ownref:"",			//  参考号		.didgrp.rec.ownref
					nam:"",			//  Externally Displayed Name to Identify the Contract		.didgrp.rec.nam
					avbby:"",			//  兑付方式		.didgrp.rec.avbby
					opndat:"",			//  开证日期		.didgrp.rec.opndat
					shpdat:"",			//  Shipment Date		.didgrp.rec.shpdat
					expdat:"",			//  到期日/到期地点		.didgrp.rec.expdat
					lcrtyp:"",			//  信用证类型		.didgrp.rec.lcrtyp
					expplc:"",			//  到期日/到期地点		.didgrp.rec.expplc
				},
				cbs:{
					nom1:{
						cur:"",			//  信用证金额		.didgrp.cbs.nom1.cur
						amt:"",			//  信用证金额		.didgrp.cbs.nom1.amt
					},
					opn1:{
						cur:"",			//  单据余额		.didgrp.cbs.opn1.cur
						amt:"",			//  Balance		.didgrp.cbs.opn1.amt
					},
				},
				avbnam:"",			//  指定银行		.didgrp.avbnam
			},
			bdtp:{
				didget:{
					sdamod:{
						seainf:"",			//  		.bdtp.didget.sdamod.seainf
						dadsnd:"",			//  Drag  Drop Sender		.bdtp.didget.sdamod.dadsnd
					},
				},
				zchday:"",			//  最迟装运/服务提供日		.bdtp.zchday
				recget:{
					sdamod:{
						seainf:"",			//  		.bdtp.recget.sdamod.seainf
						dadsnd:"",			//  Drag  Drop Sender		.bdtp.recget.sdamod.dadsnd
					},
				},
				setnowflg:"",			//  Register to Send and Settle Document		.bdtp.setnowflg
				dcrflg:"",			//  Register to Handle Discrepancies		.bdtp.dcrflg
				prbp:{
					ptsget:{
						sdamod:{
							seainf:"",			//  		.bdtp.prbp.ptsget.sdamod.seainf
							dadsnd:"",			//  Drag  Drop Sender		.bdtp.prbp.ptsget.sdamod.dadsnd
zxg committed
53
						},
jianglong committed
54 55 56 57 58 59 60
					},
				},
				acbp:{
					ptsget:{
						sdamod:{
							seainf:"",			//  		.bdtp.acbp.ptsget.sdamod.seainf
							dadsnd:"",			//  Drag  Drop Sender		.bdtp.acbp.ptsget.sdamod.dadsnd
zxg committed
61
						},
jianglong committed
62 63 64 65 66 67 68
					},
				},
				rmbp:{
					ptsget:{
						sdamod:{
							seainf:"",			//  		.bdtp.rmbp.ptsget.sdamod.seainf
							dadsnd:"",			//  Drag  Drop Sender		.bdtp.rmbp.ptsget.sdamod.dadsnd
zxg committed
69
						},
jianglong committed
70 71 72 73 74 75 76
					},
				},
				bebp:{
					ptsget:{
						sdamod:{
							seainf:"",			//  		.bdtp.bebp.ptsget.sdamod.seainf
							dadsnd:"",			//  Drag  Drop Sender		.bdtp.bebp.ptsget.sdamod.dadsnd
zxg committed
77
						},
jianglong committed
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 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
					},
				},
			},
			bddgrp:{
				apl:{
					pts:new Pts().data,
				},
				ben:{
					pts:new Pts().data,
				},
				prb:{
					pts:new Pts().data,
					namelc:"",			//  名称		.bddgrp.prb.namelc
					adrelc:"",			//  地址		.bddgrp.prb.adrelc
					dbfadrblkcn:"",			//  Chinese address		.bddgrp.prb.dbfadrblkcn
				},
				rec:{
					ownref:"",			//  Document Reference		.bddgrp.rec.ownref
					advtyp:"",			//  Type of Advice		.bddgrp.rec.advtyp
					advdat:"",			//  Payment advised on		.bddgrp.rec.advdat
					disdat:"",			//  Discrep. advised on		.bddgrp.rec.disdat
					docprbrol:"",			//  Presented by		.bddgrp.rec.docprbrol
					nam:"",			//  Name		.bddgrp.rec.nam
					totcur:"",			//  Total Amount Claimed		.bddgrp.rec.totcur
					totamt:"",			//  Total Amount to be Paid		.bddgrp.rec.totamt
					totdat:"",			//  Date to be Paid		.bddgrp.rec.totdat
				},
				cbs:{
					max:{
						cur:"",			//  单据金额		.bddgrp.cbs.max.cur
						amt:"",			//  Balance		.bddgrp.cbs.max.amt
					},
					opn2:{
						cur:"",			//  附加金额		.bddgrp.cbs.opn2.cur
					},
					max2:{
						amt:"",			//  附加金额		.bddgrp.cbs.max2.amt
					},
				},
				blk:{
					chaded:"",			//  Charges Deducted		.bddgrp.blk.chaded
					chaadd:"",			//  Charges		.bddgrp.blk.chaadd
					docdis:"",			//  Discrepancies		.bddgrp.blk.docdis
					docdisflg:"",			//  discrepancies modified		.bddgrp.blk.docdisflg
					nartxt77a:"",			//  Narrative TAG 77A of MT754		.bddgrp.blk.nartxt77a
				},
				acb:{
					pts:new Pts().data,
					namelc:"",			//  名称		.bddgrp.acb.namelc
					adrelc:"",			//  地址		.bddgrp.acb.adrelc
					dbfadrblkcn:"",			//  Chinese address		.bddgrp.acb.dbfadrblkcn
				},
				rmb:{
					pts:new Pts().data,
					namelc:"",			//  名称		.bddgrp.rmb.namelc
					adrelc:"",			//  地址		.bddgrp.rmb.adrelc
					dbfadrblkcn:"",			//  Chinese address		.bddgrp.rmb.dbfadrblkcn
				},
				beb:{
					pts:new Pts().data,
					namelc:"",			//  名称		.bddgrp.beb.namelc
					adrelc:"",			//  地址		.bddgrp.beb.adrelc
					dbfadrblkcn:"",			//  Chinese address		.bddgrp.beb.dbfadrblkcn
				},
			},
			setmod: new Pub().data.Setmod,
			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
zxg committed
151
						},
jianglong committed
152 153 154 155 156 157
					},
					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
zxg committed
158
						},
jianglong committed
159 160 161 162 163 164 165 166 167 168 169 170
					},
					conexedat: "",			//  执行日期		.mtabut.coninf.conexedat
					usr: {
						extkey: "",			//  User ID		.mtabut.coninf.usr.extkey
					},
				},
			},
			trnmod: new Pub().data.Trnmod,
			liaall: new Pub().data.Liaall,
			pageId: ""			// ctx的key
		}
	}
zxg committed
171
}