index.js 8.7 KB
Newer Older
1
import Api from "~/service/Api";
fukai committed
2
import Pts from "../Common/Pts"
3 4
import Dids from "../Public/Dids"
import Pub from "../Public"
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 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
export default class Ditame{
    constructor () {
        this.data = {
						ditamep:{
							ramrollab:"",			//  Label for RAMROL		.ditamep.ramrollab
							recget:{
								sdamod:{
									seainf:"",			//  参考号		.ditamep.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.ditamep.recget.sdamod.dadsnd
								},
							},
							engcur:"",			//  修改总金额		.ditamep.engcur
							engamt:"",			//  修改总金额		.ditamep.engamt
							maxcur:"",			//  Currency of Maximum Amount		.ditamep.maxcur
							maxamt:"",			//  New Maximum Amount		.ditamep.maxamt
							cre707flg:"",			//  Create Amendment Message		.ditamep.cre707flg
							ramrol:"",			//  Request of Amendment send to		.ditamep.ramrol
							amenbr:"",			//  实际修改次数		.ditamep.amenbr
							hwzydi:"",			//  槧运装运地/服务提供低		.ditamep.hwzydi
							zchday:"",			//  最迟装运/服务提供日		.ditamep.zchday
							newday:"",			//  新最迟日期		.ditamep.newday
							hfmdes:"",			//  槧物/服务槸易描述		.ditamep.hfmdes
						},
						didgrp:{
							rec:{
								ownref:"",			//  Reference		.didgrp.rec.ownref
								nam:"",			//  Externally Displayed Name to Identify the Contract		.didgrp.rec.nam
								opndat:"",			//  Date L/C Opened/Issued		.didgrp.rec.opndat
								shpdat:"",			//  Shipment Date		.didgrp.rec.shpdat
								expdat:"",			//  Date of Expiry		.didgrp.rec.expdat
								resflg:"",			//  Reserved Contract		.didgrp.rec.resflg
								nomtop:"",			//  Amount Tolerance - Positive		.didgrp.rec.nomtop
								nomton:"",			//  Amount Tolerance - Negative		.didgrp.rec.nomton
								expplc:"",			//  Place of Expiry		.didgrp.rec.expplc
								elcflg:"",			//  是否通过电证系统		.didgrp.rec.elcflg
								guaflg:"",			//  货押标识		.didgrp.rec.guaflg
								jyqflg:"",			//  假远期信用证		.didgrp.rec.jyqflg
								mytype:"",			//  槸易类型		.didgrp.rec.mytype
								dkflg:"",			//  开证类型		.didgrp.rec.dkflg
								idcode:"",			//  申请人统一社会信用代码		.didgrp.rec.idcode
								avbby:"",			//  Available by		.didgrp.rec.avbby
								shppar:"",			//  Partial Shipment		.didgrp.rec.shppar
								shptrs:"",			//  Transshipment		.didgrp.rec.shptrs
								conno:"",			//  合同编号		.didgrp.rec.conno
								concur:"",			//  合同币种		.didgrp.rec.concur
								shpfro:"",			//  Shipment from		.didgrp.rec.shpfro
								shpto:"",			//  For Transportation to		.didgrp.rec.shpto
								shppro:"",			//  服务提供地点		.didgrp.rec.shppro
								tenmaxday:"",			//  Maximum tenor in days		.didgrp.rec.tenmaxday
								tratyp:"",			//  运输方式		.didgrp.rec.tratyp
								fqtime:"",			//  分期时镧表		.didgrp.rec.fqtime
								sdsrfs:"",			//  输入运输方式		.didgrp.rec.sdsrfs
								fqzytgfw:"",			//  分期装运/提供服务		.didgrp.rec.fqzytgfw
								conamt:"",			//  合同金额		.didgrp.rec.conamt
								redclsflg:"",			//  Red/Green Clause		.didgrp.rec.redclsflg
								tzref:"",			//  通知行编号		.didgrp.rec.tzref
								avbwth:"",			//  指定的有关银行  		.didgrp.rec.avbwth
								fenctg:"",			//  是否可议付		.didgrp.rec.fenctg
								bdflg:"",			//  是否可保兑		.didgrp.rec.bdflg
								lcrtyp:"",			//  Form of Documentary Credit		.didgrp.rec.lcrtyp
							},
							cbs:{
								nom1:{
									cur:"",			//  Currency		.didgrp.cbs.nom1.cur
									amt:"",			//  信用证金额		.didgrp.cbs.nom1.amt
								},
								max:{
									cur:"",			//  Currency		.didgrp.cbs.max.cur
									amt:"",			//  信用证最大金额		.didgrp.cbs.max.amt
								},
							},
							apl:{
								pts:new Pts().data,
								namelc:"",			//  名称		.didgrp.apl.namelc
								adrelc:"",			//  地址		.didgrp.apl.adrelc
								dbfadrblkcn:"",			//  Chinese address		.didgrp.apl.dbfadrblkcn
							},
							ben:{
								pts:new Pts().data,
								namelc:"",			//  名称		.didgrp.ben.namelc
								adrelc:"",			//  地址		.didgrp.ben.adrelc
								dbfadrblkcn:"",			//  Chinese address		.didgrp.ben.dbfadrblkcn
							},
							beb:{
								pts:new Pts().data,
							},
							apb:{
								pts:new Pts().data,
							},
							blk:{
								defdet:"",			//  Deferred Payment Details		.didgrp.blk.defdet
								preper:"",			//  Presentation Period		.didgrp.blk.preper
								preperflg:"",			//  Presentation Period modified		.didgrp.blk.preperflg
								lcrgod:"",			//  Description of Goods		.didgrp.blk.lcrgod
								lcrdoc:"",			//  Documents Required		.didgrp.blk.lcrdoc
								adlcnd:"",			//  Additional Conditions		.didgrp.blk.adlcnd
								insbnk:"",			//  Instructions to Paying/Accepting/Negotiating Bank		.didgrp.blk.insbnk
								lcrgodame:"",			//  Description of Goods Amendment History		.didgrp.blk.lcrgodame
								lcrdocame:"",			//  Documents Required Amendment History		.didgrp.blk.lcrdocame
								adlcndame:"",			//  Additional  Conditions Amendment History		.didgrp.blk.adlcndame
								insbnkame:"",			//  Instructions to P/A/N Amendment History		.didgrp.blk.insbnkame
106
							    stamet:"",
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
							},
							adv:{
								pts:new Pts().data,
							},
							iss:{
								pts:new Pts().data,
							},
							apc:{
								pts:new Pts().data,
							},
							avb:{
								pts:new Pts().data,
							},
							cmb:{
								pts:new Pts().data,
							},
							rmb:{
								pts:new Pts().data,
							},
						},
127
						trnmod: new Pub().data.Trnmod,
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 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
						olddidgrp:{
							cbs:{
								nom1:{
									amt:"",			//  信用证金额		.olddidgrp.cbs.nom1.amt
								},
								max:{
									cur:"",			//  Currency		.olddidgrp.cbs.max.cur
									amt:"",			//  Balance		.olddidgrp.cbs.max.amt
								},
							},
							rec:{
								nomtop:"",			//  Amount Tolerance - Positive		.olddidgrp.rec.nomtop
								nomton:"",			//  Amount Tolerance - Negative		.olddidgrp.rec.nomton
								expdat:"",			//  到期日		.olddidgrp.rec.expdat
								shpdat:"",			//  Shipment Date		.olddidgrp.rec.shpdat
							},
							blk:{
								narhis:"",			//  Historic Overview of Narratives		.olddidgrp.blk.narhis
							},
						},
						ditp:{
							recget:{
								sdamod:{
									seainf:"",			//  		.ditp.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.ditp.recget.sdamod.dadsnd
								},
							},
							usr:{
								extkey:"",			//  User ID		.ditp.usr.extkey
							},
							usrget:{
								sdamod:{
									seainf:"",			//  		.ditp.usrget.sdamod.seainf
								},
							},
							aplp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.ditp.aplp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.ditp.aplp.ptsget.sdamod.dadsnd
									},
								},
							},
							benp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.ditp.benp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.ditp.benp.ptsget.sdamod.dadsnd
									},
								},
							},
							zchday:"",			//  最迟装运/服务提供日		.ditp.zchday
							amt:"",			//  大写金额		.ditp.amt
							fenzhu:"",			//  分期装运		.ditp.fenzhu
							hwzydi:"",			//  槧运装运地/服务提供低		.ditp.hwzydi
							sdysfs:"",			//  手输运输方式/服务提供方式		.ditp.sdysfs
							hwfwms:"",			//  槧物/服务描述		.ditp.hwfwms
							signam:"",			//  name of authorized signatory		.ditp.signam
							bennam:"",			//  english name		.ditp.bennam
							aplname:"",			//  apl english name		.ditp.aplname
							remark:"",			//  Remark		.ditp.remark
						},
190
						liaall: new Pub().data.Liaall,
191
						setmod: new Pub().data.Setmod,
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
						ameadvrmk:"",			//  特殊规定条件		.ameadvrmk
						litameadv:"",			//  特殊规定		.litameadv
						bchname:"",			//  branch  name		.bchname
						issadr:"",			//  ADDRESS		.issadr
						pobzip:"",			//  ZIP Code Used when Addressing Postbox		.pobzip
						tel:"",			//  TEL PHONE		.tel
						fax:"",			//  FAX		.fax
						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
									},
								},
								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
								},
							},
						},
潘际乾 committed
221
						pageId: ""			// ctx的key
222 223 224
				}
    }
}