index.js 5.3 KB
Newer Older
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
zhujiazhan committed
3
import Liaall from "../Public/Liaall";
4
import Setmod from "~/components/business/setmod/model";
zhujiazhan committed
5 6
import Mtabut from "../Public/Mtabut";
import Trnmod from "../Public/Trnmod";
7 8 9 10 11 12

export default class Brtlat{
    constructor () {
        this.data = {
						brtapll1blk:"",			//  XMLPanel brtapll1的内置block		.brtapll1blk
						brdgrp:{
zhujiazhan committed
13 14 15 16 17 18
							shp:{
								pts:new Pts().data,
								namelc:"",			//  名称		.brdgrp.shp.namelc
								adrelc:"",			//  地址		.brdgrp.shp.adrelc
								dbfadrblkcn:"",			//  Chinese address		.brdgrp.shp.dbfadrblkcn
							},
19
							rec:{
zhoutian committed
20 21 22 23 24 25 26 27 28
								ownref:"",			//  单据参考号		.brdgrp.rec.ownref
								nam:"",			//  Name of Bill Contract		.brdgrp.rec.nam
								rcvdat:"",			//  到单日期		.brdgrp.rec.rcvdat
								advdat:"",			//  Date of Advice of Payment		.brdgrp.rec.advdat
								docflg:"",			//  单据类型		.brdgrp.rec.docflg
								docsta:"",			//  单据状态		.brdgrp.rec.docsta
								matdat:"",			//  Maturity Date		.brdgrp.rec.matdat
								tenmaxday:"",			//  Tenor day		.brdgrp.rec.tenmaxday
								stadat:"",			//  远期单据到期日		.brdgrp.rec.stadat
zhujiazhan committed
29 30 31 32 33 34 35 36 37 38 39 40 41
								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
42 43 44 45
							},
							cbs:{
								max:{
									cur:"",			//  单据金额		.brdgrp.cbs.max.cur
zhujiazhan committed
46
									amt:"",			//  单据金额		.brdgrp.cbs.max.amt
47
								},
zhoutian committed
48 49 50 51
								opn1:{
									cur:"",			//  单据余额		.brdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.brdgrp.cbs.opn1.amt
								},
52
							},
zhoutian committed
53 54 55 56 57 58 59 60 61 62 63 64
							apl:{
								pts:new Pts().data,
							},
							ben:{
								pts:new Pts().data,
							},
							prb:{
								pts:new Pts().data,
							},
							blk:{
								prsdoc:"",			//  Documents Presented		.brdgrp.blk.prsdoc
								aplins:"",			//  Instructions Received from Applicant		.brdgrp.blk.aplins
zhujiazhan committed
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
								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
zhoutian committed
80 81 82 83 84 85 86 87 88 89 90 91 92
							},
						},
						lidgrp:{
							rec:{
								ownref:"",			//  信用证编号		.lidgrp.rec.ownref
								expdat:"",			//  Date of Expiry		.lidgrp.rec.expdat
							},
							cbs:{
								opn1:{
									cur:"",			//  Currency		.lidgrp.cbs.opn1.cur
									amt:"",			//  Balance		.lidgrp.cbs.opn1.amt
								},
							},
93 94
						},
						brtp:{
zhoutian committed
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
							lidget:{
								sdamod:{
									seainf:"",			//  		.brtp.lidget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.brtp.lidget.sdamod.dadsnd
								},
							},
							recget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.brtp.recget.sdamod.dadsnd
									seainf:"",			//  		.brtp.recget.sdamod.seainf
								},
							},
							matp:{
								mattxtlab:"",			//  Label for MATTXT		.brtp.matp.mattxtlab
							},
zhujiazhan committed
110
							prbp:{
zhoutian committed
111 112
								ptsget:{
									sdamod:{
zhujiazhan committed
113 114
										seainf:"",			//  		.brtp.prbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.brtp.prbp.ptsget.sdamod.dadsnd
zhoutian committed
115 116 117
									},
								},
							},
118 119 120 121 122 123 124 125
							shpp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.brtp.shpp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.brtp.shpp.ptsget.sdamod.dadsnd
									},
								},
							},
zhujiazhan committed
126 127 128 129 130 131
							docgrdm:{
								docgrd:"",
								docdsclab:"",			//  Label of document description		.brtp.docgrdm.docdsclab
							},
							prechkdat:"",			//  预计核验日期		.brtp.prechkdat
							ischktyp:"",			//  是否需要核验		.brtp.ischktyp
132 133
							connum:"",			//  Contract Number		.brtp.connum
						},
zhujiazhan committed
134
						setmod:new Setmod().data,
zhoutian committed
135
						gleflg:"",			//  系统内付款且过�'�		.gleflg
zhujiazhan committed
136 137 138
						trnmod:new Trnmod().data,
						liaall:new Liaall().data,
						mtabut:new Mtabut().data,
139 140 141 142
						pageId: ""			// ctx的key
				}
    }
}