index.js 4.99 KB
Newer Older
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
3 4 5 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 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
import Pub from "../Public"
export default class Lttdav {
	constructor() {
		this.data = {
			btdgrp: {
				rec: {
					ownref: "",			//  Document Reference		.btdgrp.rec.ownref
					advdat: "",			//  Payment advised on		.btdgrp.rec.advdat
					disdat: "",			//  Discrep. advised on		.btdgrp.rec.disdat
					dscinsflg: "",			//  Enter Docs, Discrep. and Instructions		.btdgrp.rec.dscinsflg
					docprbrol: "",			//  Presented by		.btdgrp.rec.docprbrol
					nam: "",			//  Name		.btdgrp.rec.nam
					advtyp: "",			//  Type of Advice		.btdgrp.rec.advtyp
					totcur: "",			//  Total Amount Claimed		.btdgrp.rec.totcur
					totamt: "",			//  Total Amount to be Paid		.btdgrp.rec.totamt
					docsta: "",			//  Document Set Status		.btdgrp.rec.docsta
					totdat: "",			//  Date to be Paid		.btdgrp.rec.totdat
				},
				prb: {
					pts: new Pts().data,
					namelc: "",			//  名称		.btdgrp.prb.namelc
					adrelc: "",			//  地址		.btdgrp.prb.adrelc
					dbfadrblkcn: "",			//  Chinese address		.btdgrp.prb.dbfadrblkcn
				},
				be1: {
					pts: new Pts().data,
				},
				be2: {
					pts: new Pts().data,
				},
				cbs: {
					max: {
						cur: "",			//  Document Amount		.btdgrp.cbs.max.cur
						amt: "",			//  Balance		.btdgrp.cbs.max.amt
					},
					opn2: {
						cur: "",			//  附加金额		.btdgrp.cbs.opn2.cur
					},
					max2: {
						amt: "",			//  附加金额		.btdgrp.cbs.max2.amt
					},
				},
				blk: {
					chaded: "",			//  Charges Deducted		.btdgrp.blk.chaded
					chaadd: "",			//  Charges Added		.btdgrp.blk.chaadd
					docdis: "",			//  Discrepancies		.btdgrp.blk.docdis
					docdisflg: "",			//  discrepancies modified		.btdgrp.blk.docdisflg
					intdis: "",			//  Internal Discrepancies		.btdgrp.blk.intdis
					comcon: "",			//  Comments and Conclusions		.btdgrp.blk.comcon
					setinsbt: "",			//  Settlement Instructions transaction field		.btdgrp.blk.setinsbt
					nartxt77a: "",			//  Narrative Tag77A of MT754		.btdgrp.blk.nartxt77a
				},
				acb: {
					pts: new Pts().data,
					namelc: "",			//  名称		.btdgrp.acb.namelc
					adrelc: "",			//  地址		.btdgrp.acb.adrelc
					dbfadrblkcn: "",			//  Chinese address		.btdgrp.acb.dbfadrblkcn
				},
				rmt: {
					pts: new Pts().data,
					namelc: "",			//  名称		.btdgrp.rmt.namelc
					adrelc: "",			//  地址		.btdgrp.rmt.adrelc
					dbfadrblkcn: "",			//  Chinese address		.btdgrp.rmt.dbfadrblkcn
				},
			},
			bttp: {
				recget: {
					sdamod: {
						seainf: "",			//  		.bttp.recget.sdamod.seainf
						dadsnd: "",			//  Drag  Drop Sender		.bttp.recget.sdamod.dadsnd
					},
				},
				setnowflg: "",			//  setttle now		.bttp.setnowflg
				prbp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.bttp.prbp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.bttp.prbp.ptsget.sdamod.dadsnd
81
						},
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
					},
				},
				ledget: {
					sdamod: {
						seainf: "",			//  		.bttp.ledget.sdamod.seainf
					},
				},
				ltdget: {
					sdamod: {
						seainf: "",			//  		.bttp.ltdget.sdamod.seainf
						dadsnd: "",			//  Drag  Drop Sender		.bttp.ltdget.sdamod.dadsnd
					},
				},
				aammod: {
					addamtflg: "",			//  Add. Amount		.bttp.aammod.addamtflg
				},
				acbp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.bttp.acbp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.bttp.acbp.ptsget.sdamod.dadsnd
103
						},
104 105 106 107
					},
				},
				docgrdmbe1: {
					docdsclab: "",			//  Label of document description		.bttp.docgrdmbe1.docdsclab
108
					docgrd: "",
109 110 111
				},
				docgrdmbe2: {
					docdsclab: "",			//  Label of document description		.bttp.docgrdmbe2.docdsclab
112
					docgrd: "",
113 114 115 116 117 118 119
				},
				futhndflg: "",			//  further handling		.bttp.futhndflg
				rmtp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.bttp.rmtp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.bttp.rmtp.ptsget.sdamod.dadsnd
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
					},
				},
			},
			ledgrp: {
				rec: {
					ownref: "",			//  L/C Reference		.ledgrp.rec.ownref
					nam: "",			//  Name		.ledgrp.rec.nam
				},
			},
			ltdgrp: {
				rec: {
					ownref: "",			//  Transfer Reference		.ltdgrp.rec.ownref
					nam: "",			//  Name		.ltdgrp.rec.nam
					avbby: "",			//  Available by		.ltdgrp.rec.avbby
					opndat: "",			//  Date Issued/Form		.ltdgrp.rec.opndat
					lcrtyp: "",			//  Date Issued/Form		.ltdgrp.rec.lcrtyp
					expdat: "",			//  Date / Place of Expiry		.ltdgrp.rec.expdat
					expplc: "",			//  Date / Place of Expiry		.ltdgrp.rec.expplc
					shpdat: "",			//  Shipment Date		.ltdgrp.rec.shpdat
				},
				cbs: {
					nom1: {
						cur: "",			//  L/C Amount		.ltdgrp.cbs.nom1.cur
						amt: "",			//  Balance		.ltdgrp.cbs.nom1.amt
					},
					opn1: {
						cur: "",			//  Open Amount		.ltdgrp.cbs.opn1.cur
						amt: "",			//  Balance		.ltdgrp.cbs.opn1.amt
					},
				},
				avbnam: "",			//  Available with		.ltdgrp.avbnam
			},
			pageId: "",			// ctx的key
			trnmod: new Pub().data.Trnmod,
			setmod: new Pub().data.Setmod,
			liaall: new Pub().data.Liaall,
			mtabut: new Pub().data.Mtabut,
		}
	}
160
}