index.js 6.41 KB
Newer Older
m  
1198835488@qq.com committed
1
import Api from "~/service/Api"
2
import Pts from "../Common/Pts"
m  
1198835488@qq.com committed
3 4 5 6 7 8 9 10 11 12 13
import Pub from "../Public"


export default class Bttdrv{
    constructor () {
        this.data = {
						ltdgrp:{
							rec:{
								ownref:"",			//  Transfer Reference		.ltdgrp.rec.ownref
								utlnbr:"",			//  Number of Utilizations		.ltdgrp.rec.utlnbr
							},
14 15 16
						},
						mtabut: new Pub().data.Mtabut,
						setmod: new Pub().data.Setmod,
m  
1198835488@qq.com committed
17
						liaall: new Pub().data.Liaall,
18
						trnmod: new Pub().data.Liaall,
m  
1198835488@qq.com committed
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
						bttp:{
							ltdget:{
								sdamod:{
									seainf:"",			//  		.bttp.ltdget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.bttp.ltdget.sdamod.dadsnd
								},
							},
							ledget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.bttp.ledget.sdamod.dadsnd
									seainf:"",			//  		.bttp.ledget.sdamod.seainf
								},
							},
							recget:{
								sdamod:{
									seainf:"",			//  		.bttp.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.bttp.recget.sdamod.dadsnd
								},
							},
							aammod:{
								addamtflg:"",			//  Add. Amount		.bttp.aammod.addamtflg
							},
							docgrdmbe1:{
								docdsclab:"",			//  Label of document description		.bttp.docgrdmbe1.docdsclab
							},
							docgrdmbe2:{
								docdsclab:"",			//  Label of document description		.bttp.docgrdmbe2.docdsclab
							},
							othp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bttp.othp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bttp.othp.ptsget.sdamod.dadsnd
									},
								},
							},
							prbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bttp.prbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bttp.prbp.ptsget.sdamod.dadsnd
									},
								},
							},
							prpp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bttp.prpp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bttp.prpp.ptsget.sdamod.dadsnd
									},
								},
							},
71
							futhndflg:"",			//  further handling		.bttp.futhndflg
m  
1198835488@qq.com committed
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 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
						},
						ledgrp:{
							rec:{
								ownref:"",			//  L/C Reference		.ledgrp.rec.ownref
							},
						},
						btdgrp:{
							rec:{
								ownref:"",			//  Doc. Set Reference		.btdgrp.rec.ownref
								nam:"",			//  Name of Bill Contract		.btdgrp.rec.nam
								doctypcod:"",			//  Document Type		.btdgrp.rec.doctypcod
								matdat:"",			//  Maturity Date		.btdgrp.rec.matdat
								predat:"",			//  Presentation Date		.btdgrp.rec.predat
								docsta:"",			//  Document Set Status		.btdgrp.rec.docsta
								rcvdatbe1:"",			//  Date of Receipt 1st Beneficiary		.btdgrp.rec.rcvdatbe1
								orddatbe1:"",			//  Order Date 1st Beneficiary		.btdgrp.rec.orddatbe1
								rcvdatbe2:"",			//  Date of Receipt 2nd Beneficiary		.btdgrp.rec.rcvdatbe2
								orddatbe2:"",			//  Order Date 2nd Beneficiary		.btdgrp.rec.orddatbe2
								shpdat:"",			//  Date of Shipment		.btdgrp.rec.shpdat
								dscinsflg:"",			//  Enter Docs, Discrep. and Instructions		.btdgrp.rec.dscinsflg
								payrol:"",			//  Payer		.btdgrp.rec.payrol
								docprbrol:"",			//  Presented by		.btdgrp.rec.docprbrol
								docprbrolbe1:"",			//  Presented by 1st Ben-Side		.btdgrp.rec.docprbrolbe1
							},
							cbs:{
								max:{
									cur:"",			//  Total Document		.btdgrp.cbs.max.cur
									amt:"",			//  Balance		.btdgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.btdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.btdgrp.cbs.opn1.amt
								},
								max2:{
									cur:"",			//  Total Additional		.btdgrp.cbs.max2.cur
									amt:"",			//  Total Additional		.btdgrp.cbs.max2.amt
								},
								opnbe1amt:{
									cur:"",			//  Difference Document		.btdgrp.cbs.opnbe1amt.cur
									amt:"",			//  Balance		.btdgrp.cbs.opnbe1amt.amt
								},
								opnbe1amt2:{
									cur:"",			//  Difference Additional		.btdgrp.cbs.opnbe1amt2.cur
									amt:"",			//  Difference Additional		.btdgrp.cbs.opnbe1amt2.amt
								},
							},
							be1:{
								pts:new Pts().data,
							},
							be2:{
								pts:new Pts().data,
							},
							prb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.btdgrp.prb.namelc
								adrelc:"",			//  地址		.btdgrp.prb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.btdgrp.prb.dbfadrblkcn
							},
							be2amt:"",			//  Document Amount		.btdgrp.be2amt
							be2amt2:"",			//  Additional Amount		.btdgrp.be2amt2
							oth:{
								pts:new Pts().data,
								namelc:"",			//  名称		.btdgrp.oth.namelc
								adrelc:"",			//  地址		.btdgrp.oth.adrelc
								dbfadrblkcn:"",			//  Chinese address		.btdgrp.oth.dbfadrblkcn
							},
							prp:{
								pts:new Pts().data,
								namelc:"",			//  名称		.btdgrp.prp.namelc
								adrelc:"",			//  地址		.btdgrp.prp.adrelc
								dbfadrblkcn:"",			//  Chinese address		.btdgrp.prp.dbfadrblkcn
							},
144 145 146 147 148 149 150
							blk:{
								intdis:"",			//  Internal Discrepancies		.btdgrp.blk.intdis
								comcon:"",			//  Comments and Conclusions		.btdgrp.blk.comcon
								setinsbt:"",			//  Settlement Instructions transaction field		.btdgrp.blk.setinsbt
								docdis:"",			//  Discrepancies		.btdgrp.blk.docdis
								docdisflg:"",			//  discrepancies modified		.btdgrp.blk.docdisflg
							},
m  
1198835488@qq.com committed
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
						},
						be2addlab:"",			//  Label for Additionan Amount 2nd Beneficiary		.be2addlab
						be2doclab:"",			//  Label for Document Amount 2nd Beneficiary		.be2doclab
						oridoclab:"",			//  Label original		.oridoclab
						oriaddlab:"",			//  Label original		.oriaddlab
						oldbtdgrp:{
							cbs:{
								max:{
									amt:"",			//  Balance		.oldbtdgrp.cbs.max.amt
								},
								max2:{
									amt:"",			//  Balance		.oldbtdgrp.cbs.max2.amt
								},
								opnbe1amt:{
									amt:"",			//  Balance		.oldbtdgrp.cbs.opnbe1amt.amt
								},
								opnbe1amt2:{
									amt:"",			//  Balance		.oldbtdgrp.cbs.opnbe1amt2.amt
								},
							},
							be2amt:"",			//  Document Amount for 2nd Ben.		.oldbtdgrp.be2amt
							be2amt2:"",			//  Additional Amount for 2nd Ben.		.oldbtdgrp.be2amt2
						},
						be1doclab:"",			//  Label for Document Amount 1st Beneficiary		.be1doclab
						be1addlab:"",			//  Label for Additional Amount 1st Beneficiary		.be1addlab
						pageId: ""			// ctx的key
				}
    }
}