index.js 6.41 KB
Newer Older
liumin committed
1 2 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 81 82 83 84 85
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"

export default class Detdrv{
    constructor () {
        this.data = {
						bfdgrp:{
							blk:{
								intdis:"",			//  Internal Discrepancies		.bfdgrp.blk.intdis
								docdis:"",			//  不符点		.bfdgrp.blk.docdis
								docdisflg:"",			//  Discrepancies modified		.bfdgrp.blk.docdisflg
								chaded:"",			//  Charges Deducted		.bfdgrp.blk.chaded
								chaadd:"",			//  Charges Added		.bfdgrp.blk.chaadd
								nartxt77a:"",			//  Narrative TAG 77A of Incoming MT754		.bfdgrp.blk.nartxt77a
								matper:"",			//  Maturity Period		.bfdgrp.blk.matper
							},
							rec:{
								payrol:"",			//  Payer		.bfdgrp.rec.payrol
								lescom:"",			//  Less comm.		.bfdgrp.rec.lescom
								expmno:"",			//  快递单号		.bfdgrp.rec.expmno
								totcur:"",			//  Total Amount Claimed		.bfdgrp.rec.totcur
								totamt:"",			//  Total Amount to be Paid		.bfdgrp.rec.totamt
								totdat:"",			//  付款日期		.bfdgrp.rec.totdat
								ownref:"",			//  单据编号		.bfdgrp.rec.ownref
								doctypcod:"",			//  单据类型		.bfdgrp.rec.doctypcod
								matdat:"",			//  到期日		.bfdgrp.rec.matdat
								rcvdat:"",			//  收单日期		.bfdgrp.rec.rcvdat
								predat:"",			//  到单日期		.bfdgrp.rec.predat
								docsta:"",			//  单据状态		.bfdgrp.rec.docsta
								nam:"",			//  Externally Displayed Name to Identify the Contract		.bfdgrp.rec.nam
								orddat:"",			//  Order Date		.bfdgrp.rec.orddat
								shpdat:"",			//  Date of Shipment		.bfdgrp.rec.shpdat
								dscinsflg:"",			//  Enter Docs, Discrep. and Instructions		.bfdgrp.rec.dscinsflg
								docprbrol:"",			//  Presented by		.bfdgrp.rec.docprbrol
								invtyp:"",			//  发票类型		.bfdgrp.rec.invtyp
							},
							oth:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bfdgrp.oth.namelc
								adrelc:"",			//  地址		.bfdgrp.oth.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bfdgrp.oth.dbfadrblkcn
							},
							cbs:{
								max:{
									cur:"",			//  单据金额		.bfdgrp.cbs.max.cur
									amt:"",			//  Balance		.bfdgrp.cbs.max.amt
								},
								opn2:{
									cur:"",			//  附加金额		.bfdgrp.cbs.opn2.cur
								},
								max2:{
									amt:"",			//  附加金额		.bfdgrp.cbs.max2.amt
								},
								opn1:{
									cur:"",			//  单据余额		.bfdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.bfdgrp.cbs.opn1.amt
								},
							},
							acb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bfdgrp.acb.namelc
								adrelc:"",			//  地址		.bfdgrp.acb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bfdgrp.acb.dbfadrblkcn
							},
							rmb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bfdgrp.rmb.namelc
								adrelc:"",			//  地址		.bfdgrp.rmb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bfdgrp.rmb.dbfadrblkcn
							},
							prb:{
								pts:new Pts().data,
							},
							iss:{
								pts:new Pts().data,
							},
							apl:{
								pts:new Pts().data,
							},
						},
						bftp:{
							docgrdm:{
								docdsclab:"",			//  Label of document description		.bftp.docgrdm.docdsclab
liuxin committed
86
                                docgrd:"",
liumin committed
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 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
							},
							folwupopt:"",			//  Processing Options		.bftp.folwupopt
							othp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bftp.othp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bftp.othp.ptsget.sdamod.dadsnd
									},
								},
							},
							acbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bftp.acbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bftp.acbp.ptsget.sdamod.dadsnd
									},
								},
							},
							rmbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bftp.rmbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bftp.rmbp.ptsget.sdamod.dadsnd
									},
								},
							},
							bebp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bftp.bebp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bftp.bebp.ptsget.sdamod.dadsnd
									},
								},
							},
							dedget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.bftp.dedget.sdamod.dadsnd
									seainf:"",			//  		.bftp.dedget.sdamod.seainf
								},
							},
							recget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.bftp.recget.sdamod.dadsnd
									seainf:"",			//  		.bftp.recget.sdamod.seainf
								},
							},
							imggrdm:{
								fftref:"",			//  影像编号		.bftp.imggrdm.fftref
							},
							invgrdm:{
								fftref:"",			//  影像编号		.bftp.invgrdm.fftref
							},
						},
						dedgrp:{
							rec:{
								kzref:"",			//  信用证编号		.dedgrp.rec.kzref
								ownref:"",			//  参考号		.dedgrp.rec.ownref
								utlnbr:"",			//  No. of Existing and not Completely Processed  Document Sets		.dedgrp.rec.utlnbr
								nam:"",			//  Externally Displayed Name to Identify the Contract		.dedgrp.rec.nam
								avbby:"",			//  兑付方式		.dedgrp.rec.avbby
								opndat:"",			//  开证日期		.dedgrp.rec.opndat
								shpdat:"",			//  Shipment Date		.dedgrp.rec.shpdat
								expdat:"",			//  最迟交单日期/交单地		.dedgrp.rec.expdat
								expplc:"",			//  最迟交单日期/交单地		.dedgrp.rec.expplc
								lcrtyp:"",			//  信用证类型		.dedgrp.rec.lcrtyp
							},
							beb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.dedgrp.beb.namelc
								adrelc:"",			//  地址		.dedgrp.beb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.dedgrp.beb.dbfadrblkcn
							},
							cbs:{
								opn1:{
									cur:"",			//  信用证余额		.dedgrp.cbs.opn1.cur
									amt:"",			//  Balance		.dedgrp.cbs.opn1.amt
								},
								nom1:{
									cur:"",			//  信用证金额		.dedgrp.cbs.nom1.cur
									amt:"",			//  Balance		.dedgrp.cbs.nom1.amt
								},
							},
							avbnam:"",			//  指定银行		.dedgrp.avbnam
						},
						letprbl1blk:"",			//  XMLPanel letprbl1的内置block		.letprbl1blk
						letissl1blk:"",			//  XMLPanel letissl1的内置block		.letissl1blk
						zcdat:"",			//  装船日期/服务提供日		.zcdat
						pageId: "",			// ctx的key
						setmod: new Pub().data.Setmod,
			            mtabut: new Pub().data.Mtabut,
			            trnmod: new Pub().data.Trnmod,
			            liaall: new Pub().data.Liaall
				}
    }
}