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

export default class Bttdcr{
    constructor () {
        this.data = {
						bttp0:{
							ltdget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.bttp0.ltdget.sdamod.dadsnd
									seainf:"",			//  		.bttp0.ltdget.sdamod.seainf
								},
14
							},
m  
1198835488@qq.com committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
							ledget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.bttp0.ledget.sdamod.dadsnd
									seainf:"",			//  		.bttp0.ledget.sdamod.seainf
								},
							},
							recget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.bttp0.recget.sdamod.dadsnd
									seainf:"",			//  		.bttp0.recget.sdamod.seainf
								},
							},
							matp:{
								mattxtlab:"",			//  Label for MATTXT		.bttp0.matp.mattxtlab
							},
							aammod:{
								addamtflg:"",			//  Add. Amount		.bttp0.aammod.addamtflg
							},
33
						},
m  
1198835488@qq.com committed
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
						ltdgrp:{
							rec:{
								ownref:"",			//  Transfer Reference		.ltdgrp.rec.ownref
							},
						},
						ledgrp:{
							rec:{
								ownref:"",			//  L/C Reference		.ledgrp.rec.ownref
							},
						},
						btdgrp:{
							rec:{
								ownref:"",			//  Doc. Set Reference		.btdgrp.rec.ownref
								doctypcod:"",			//  Document Type		.btdgrp.rec.doctypcod
								matdat:"",			//  Maturity Date		.btdgrp.rec.matdat
								rcvdatbe2:"",			//  Received on 2nd Ben.		.btdgrp.rec.rcvdatbe2
								rcvdatbe1:"",			//  Received on 1st Ben.		.btdgrp.rec.rcvdatbe1
								docsta:"",			//  Document Set Status		.btdgrp.rec.docsta
								nam:"",			//  Name of Bill Contract		.btdgrp.rec.nam
								disdat:"",			//  Date of Discrepancy Advice		.btdgrp.rec.disdat
							},
							cbs:{
								max:{
									cur:"",			//  Document Amount		.btdgrp.cbs.max.cur
									amt:"",			//  Document Amount		.btdgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.btdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.btdgrp.cbs.opn1.amt
								},
							},
							be1:{
								pts:new Pts().data,
							},
							be2:{
								pts:new Pts().data,
							},
							blk:{
								docdis:"",			//  Discrepancies		.btdgrp.blk.docdis
								docdisflg:"",			//  discrepancies modified		.btdgrp.blk.docdisflg
								docins:"",			//  Reasons for Rejection		.btdgrp.blk.docins
								disdoc:"",			//  Disposal of Documents		.btdgrp.blk.disdoc
								docdisame:"",			//  DiscrepanciesAmendment History		.btdgrp.blk.docdisame
							},
						},
						rejpenins:"",			//  Rejection pending instructions		.rejpenins
						advdisflg:"",			//  Send Advice of Discrepancies		.advdisflg
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
						// mtabut:{
						// 	clsflg:"",			//  Close Flag		.mtabut.clsflg
						// 	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
						// 		},
						// 	},
						// },
						mtabut: new Pub().data.Mtabut,
m  
1198835488@qq.com committed
105 106
						accdisflg:"",			//  Accept to 2ben bank		.accdisflg
						furide:"",			//  (History)		.furide
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
						// liaall:{
						// 	misamt:"",			//  Amount not yet assigned		.liaall.misamt
						// 	concur:"",			//  External Booking Amount		.liaall.concur
						// 	outpct:"",			//  Sight Amount Percentage		.liaall.outpct
						// 	outamt:"",			//  Sight Amount		.liaall.outamt
						// 	exttotoldamt:"",			//  Old Amount booked externally		.liaall.exttotoldamt
						// 	exttotamt:"",			//  Total booking amount external assinged		.liaall.exttotamt
						// },
						liaall: new Pub().data.Liaall,
						// setmod:{
						// 	docamttyplab:"",			//  settled amount description as label		.setmod.docamttyplab
						// 	retmsg:"",			//  Label showing Retry overflow condition		.setmod.retmsg
						// 	ref:"",			//  our reference		.setmod.ref
						// 	doccur:"",			//  document currency		.setmod.doccur
						// 	docamt:"",			//  document amount		.setmod.docamt
						// 	dspflg:"",			//  Type of settlement		.setmod.dspflg
						// 	xreflg:"",			//  Recalculate Rates		.setmod.xreflg
						// 	setglg:{
						// 		labdspflg:"",			//  Label for Type of Settlement		.setmod.setglg.labdspflg
						// 	},
						// 	zmqacclab:"",			//  主�'�号LABEL		.setmod.zmqacclab
						// 	zmqacc:"",			//  自�'�区主�'�号		.setmod.zmqacc
						// 	glemod:{
						// 		gleshwstm:"",			//  Booking stream to Display		.setmod.glemod.gleshwstm
						// 	},
						// },
						setmod: new Pub().data.Setmod,
						// trnmod:{
						// 	trndoc:{
						// 		advlabel:"",			//  ADVLABEL		.trnmod.trndoc.advlabel
						// 		amdnam:"",			//  AMDNAM		.trnmod.trndoc.amdnam
						// 		advdoc:"",			//  国内证通知书		.trnmod.trndoc.advdoc
						// 		advnam:"",			//  国内证落款		.trnmod.trndoc.advnam
						// 		amdapl:"",			//  修改申请人名称		.trnmod.trndoc.amdapl
						// 		doclbl:"",			//  Lable for CONDOCSTM		.trnmod.trndoc.doclbl
						// 		doctrestm:"",			//  Document tree		.trnmod.trndoc.doctrestm
						// 		shwinc:"",			//  Show Incoming Messages		.trnmod.trndoc.shwinc
						// 		shwout:"",			//  Show Outgoing Messages		.trnmod.trndoc.shwout
						// 		condocstm:"",			//  Connected Documents		.trnmod.trndoc.condocstm
						// 		rcvatt:{
						// 			seainf:"",			//  		.trnmod.trndoc.rcvatt.seainf
						// 		},
						// 		filrecv:"",			//  File Receiver		.trnmod.trndoc.filrecv
						// 	},
						// },
						mtabut: new Pub().data.Mtabut,
						bttbe1l1blk:"",
						bttbe2l1blk:"",
m  
1198835488@qq.com committed
155 156 157 158
						pageId: ""			// ctx的key
				}
    }
}