index.js 5.8 KB
Newer Older
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
3
import Pub from "~/model/Public";
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

export default class Bttdck{
    constructor () {
        this.data = {
						ltdgrp:{
							rec:{
								ownref:"",			//  Transfer Reference		.ltdgrp.rec.ownref
							},
						},
						bttp:{
							ltdget:{
								sdamod:{
									seainf:"",			//  		.bttp.ltdget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.bttp.ltdget.sdamod.dadsnd
								},
							},
20 21 22 23 24
							docgrdmbe1:{
								docgrd:"",
								docdsclab:"",
							},
							docgrdmbe2:{
25 26 27
								docgrd:"",
								docdsclab:"",
							},
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
							ledget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.bttp.ledget.sdamod.dadsnd
									seainf:"",			//  		.bttp.ledget.sdamod.seainf
								},
							},
							recget:{
								sdamod:{
									seainf:"",			//  Doc. Set Reference		.bttp.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.bttp.recget.sdamod.dadsnd
								},
							},
							aammod:{
								addamtflg:"",			//  Add. Amount		.bttp.aammod.addamtflg
							},
							prpp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bttp.prpp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bttp.prpp.ptsget.sdamod.dadsnd
									},
								},
							},
							docgrdmbe1:{
52
								docdsclab:"123",			//  Label of document description		.bttp.docgrdmbe1.docdsclab
53 54 55
								docgrd:[],			//  		.bttp.docgrdmbe1.docgrd
							},
							docgrdmbe2:{
56
								docdsclab:"321",			//  Label of document description		.bttp.docgrdmbe2.docdsclab
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 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
								docgrd:[],			//  		.bttp.docgrdmbe2.docgrd
							},
							futhndflg:"",			//  further handling		.bttp.futhndflg
							acbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bttp.acbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bttp.acbp.ptsget.sdamod.dadsnd
									},
								},
							},
							rmtp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bttp.rmtp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bttp.rmtp.ptsget.sdamod.dadsnd
									},
								},
							},
						},
						ledgrp:{
							rec:{
								ownref:"",			//  L/C Reference		.ledgrp.rec.ownref
							},
						},
						btdgrp:{
							rec:{
								ownref:"",			//  Document Set Number		.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 Ben.)		.btdgrp.rec.rcvdatbe1
								orddatbe1:"",			//  Order Date (1st Ben.)		.btdgrp.rec.orddatbe1
								dscinsflg:"",			//  Enter Docs, Discrep. and Instructions		.btdgrp.rec.dscinsflg
								docprbrolbe1:"",			//  Presented by 1st Ben-Side		.btdgrp.rec.docprbrolbe1
								totcur:"",			//  Total Amount Claimed		.btdgrp.rec.totcur
								totamt:"",			//  Total Amount to be Paid		.btdgrp.rec.totamt
								totdat:"",			//  Date to be Paid		.btdgrp.rec.totdat
							},
							cbs:{
								max:{
									cur:"",			//  Document Amount		.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:"",			//  Additional Amount		.btdgrp.cbs.max2.cur
									amt:"",			//  附加金额		.btdgrp.cbs.max2.amt
								},
								opnbe1amt:{
									cur:"",			//  Document Amount		.btdgrp.cbs.opnbe1amt.cur
									amt:"",			//  Balance		.btdgrp.cbs.opnbe1amt.amt
								},
								opnbe1amt2:{
									cur:"",			//  Additional Amount		.btdgrp.cbs.opnbe1amt2.cur
									amt:"",			//  Additional Amount		.btdgrp.cbs.opnbe1amt2.amt
								},
								opn2:{
									cur:"",			//  附加金额		.btdgrp.cbs.opn2.cur
								},
							},
							be1:{
								pts:new Pts().data,
							},
							be2:{
								pts:new Pts().data,
							},
							prb:{
								pts:new Pts().data,
							},
							be2amt:"",			//  Document Amount		.btdgrp.be2amt
							be2amt2:"",			//  Additional Amount		.btdgrp.be2amt2
							prp:{
								pts:new Pts().data,
								namelc:"",			//  名称		.btdgrp.prp.namelc
								adrelc:"",			//  地址		.btdgrp.prp.adrelc
								dbfadrblkcn:"",			//  Chinese address		.btdgrp.prp.dbfadrblkcn
							},
							blk:{
141 142
								prsdocbe1:"",        //加表格字段////path字段
					            prsdocbe2:"",       //加表格字段////path字段
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
								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
								chaded:"",			//  Charges Deducted		.btdgrp.blk.chaded
								chaadd:"",			//  Charges Added		.btdgrp.blk.chaadd
								nartxt77a:"",			//  Narrative Tag77A of MT754		.btdgrp.blk.nartxt77a
							},
							acb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.btdgrp.acb.namelc
								adrelc:"",			//  地址		.btdgrp.acb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.btdgrp.acb.dbfadrblkcn
							},
							rmt:{
								pts:new Pts().data,
								namelc:"",			//  名称		.btdgrp.rmt.namelc
								adrelc:"",			//  地址		.btdgrp.rmt.adrelc
								dbfadrblkcn:"",			//  Chinese address		.btdgrp.rmt.dbfadrblkcn
							},
						},
165 166 167 168
						setmod: new Pub().data.Setmod,
						mtabut: new Pub().data.Mtabut,
						trnmod: new Pub().data.Trnmod,
						liaall: new Pub().data.Liaall,
169
						oldbe2amt:"",
170 171 172 173
						pageId: ""			// ctx的key
				}
    }
}