index.js 3.3 KB
Newer Older
孟冬雪 committed
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 Lttcan {
	constructor() {
		this.data = {
			lttp0: {
				recget: {
					sdamod: {
						dadsnd: "",			//  Drag  Drop Sender		.lttp0.recget.sdamod.dadsnd
						seainf: "",			//  		.lttp0.recget.sdamod.seainf
					},
				},
				ledget: {
					sdamod: {
						seainf: "",			//  		.lttp0.ledget.sdamod.seainf
					},
				},
				aammod: {
					addamtflg: "",			//  Add. Amount		.lttp0.aammod.addamtflg
				},
			},
			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
					shpdat: "",			//  Shipment Date		.ltdgrp.rec.shpdat
					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
				},
				cbs: {
					nom1: {
						cur: "",			//  Transfer 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
					},
				},
				avt: {
					pts: new Pts().data,
				},
				be1: {
					pts: new Pts().data,
				},
				be2: {
					pts: new Pts().data,
				},
				adt: {
					pts: new Pts().data,
				},
			},
			lttcanp: {
				trnrec: {
					strinf: "",			//  Narrative		.lttcanp.trnrec.strinf
				},
			},
			sndmsg: "",			//  Send Message		.sndmsg
			rmbclm: {
				rmbrmb: {
					pts: new Pts().data,
					namelc: "",			//  名称		.rmbclm.rmbrmb.namelc
					adrelc: "",			//  地址		.rmbclm.rmbrmb.adrelc
					dbfadrblkcn: "",			//  Chinese address		.rmbclm.rmbrmb.dbfadrblkcn
				},
				rmbp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.rmbclm.rmbp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.rmbclm.rmbp.ptsget.sdamod.dadsnd
孟冬雪 committed
81
						},
82 83 84 85 86 87 88 89 90 91 92 93 94
					},
				},
				acwacw: {
					pts: new Pts().data,
					namelc: "",			//  名称		.rmbclm.acwacw.namelc
					adrelc: "",			//  地址		.rmbclm.acwacw.adrelc
					dbfadrblkcn: "",			//  Chinese address		.rmbclm.acwacw.dbfadrblkcn
				},
				acwp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.rmbclm.acwp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.rmbclm.acwp.ptsget.sdamod.dadsnd
孟冬雪 committed
95
						},
96 97 98 99 100 101 102 103 104 105 106 107 108
					},
				},
				bebbeb: {
					pts: new Pts().data,
					namelc: "",			//  名称		.rmbclm.bebbeb.namelc
					adrelc: "",			//  地址		.rmbclm.bebbeb.adrelc
					dbfadrblkcn: "",			//  Chinese address		.rmbclm.bebbeb.dbfadrblkcn
				},
				bebp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.rmbclm.bebp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.rmbclm.bebp.ptsget.sdamod.dadsnd
孟冬雪 committed
109
						},
110 111 112 113 114 115 116 117 118 119 120 121 122 123
					},
				},
				rmbrol: "",			//  偿付行		.rmbclm.rmbrol
				valdat: "",			//  value date		.rmbclm.valdat
			},
			pageId: "",			// ctx的key
			lttbe1l1blk: "",
			lttbe2l1blk: "",
			trnmod: new Pub().data.Trnmod,
			setmod: new Pub().data.Setmod,
			liaall: new Pub().data.Liaall,
			mtabut: new Pub().data.Mtabut,
		}
	}
孟冬雪 committed
124
}