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

export default class Brtdcr{
    constructor () {
        this.data = {
						brdgrp:{
							rec:{
								ownref:"",			//  单据参考号		.brdgrp.rec.ownref
								nam:"",			//  Name of Bill Contract		.brdgrp.rec.nam
								rcvdat:"",			//  到单日期		.brdgrp.rec.rcvdat
								advdat:"",			//  Date of Advice of Payment		.brdgrp.rec.advdat
								docflg:"",			//  单据类型		.brdgrp.rec.docflg
								docsta:"",			//  单据状态		.brdgrp.rec.docsta
								matdat:"",			//  Maturity Date		.brdgrp.rec.matdat
								tenmaxday:"",			//  Tenor day		.brdgrp.rec.tenmaxday
								stadat:"",			//  远期单据到期日		.brdgrp.rec.stadat
								docprbrol:"",			//  Presented by		.brdgrp.rec.docprbrol
								payrol:"",			//  Payer		.brdgrp.rec.payrol
								orddat:"",			//  Order Date		.brdgrp.rec.orddat
								advdocflg:"",			//  Return of Documents		.brdgrp.rec.advdocflg
23 24
								totcur:"",			//  Amount to be Paid		.brdgrp.rec.totcur
								totamt:"",			//  Total Amount to be Paid		.brdgrp.rec.totamt
liuxin committed
25 26 27 28
							},
							cbs:{
								max:{
									cur:"",			//  单据金额		.brdgrp.cbs.max.cur
29
									amt:"",			//  Balance		.brdgrp.cbs.max.amt
liuxin committed
30 31 32 33 34
								},
								opn1:{
									cur:"",			//  单据余额		.brdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.brdgrp.cbs.opn1.amt
								},
35 36 37 38 39 40
								opn2:{
									cur:"",			//  附加金额		.brdgrp.cbs.opn2.cur
								},
								max2:{
									amt:"",			//  附加金额		.brdgrp.cbs.max2.amt
								},
liuxin committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54
							},
							apl:{
								pts:new Pts().data,
							},
							ben:{
								pts:new Pts().data,
							},
							prb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.brdgrp.prb.namelc
								adrelc:"",			//  地址		.brdgrp.prb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.brdgrp.prb.dbfadrblkcn
							},
							blk:{
55
								docpre:"",
liuxin committed
56 57
								disdoc:"",			//  Disposal of Documents		.brdgrp.blk.disdoc
								disdocflg:"",			//  Defaulted content of Disposal of Documents		.brdgrp.blk.disdocflg
58
								docdis:"",			//  不符点		.brdgrp.blk.docdis
liuxin committed
59
								docdisflg:"",			//  discrepancies modified		.brdgrp.blk.docdisflg
60 61 62 63 64 65 66 67
								chaded:"",			//  Charges Deducted		.brdgrp.blk.chaded
								chaadd:"",			//  Charges Added		.brdgrp.blk.chaadd
							},
							acb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.brdgrp.acb.namelc
								adrelc:"",			//  地址		.brdgrp.acb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.brdgrp.acb.dbfadrblkcn
liuxin committed
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
							},
						},
						lidgrp:{
							rec:{
								ownref:"",			//  信用证编号		.lidgrp.rec.ownref
								expdat:"",			//  Date of Expiry		.lidgrp.rec.expdat
							},
							cbs:{
								opn1:{
									cur:"",			//  Currency		.lidgrp.cbs.opn1.cur
									amt:"",			//  Balance		.lidgrp.cbs.opn1.amt
								},
							},
						},
						brtp:{
							lidget:{
								sdamod:{
									seainf:"",			//  		.brtp.lidget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.brtp.lidget.sdamod.dadsnd
								},
							},
							recget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.brtp.recget.sdamod.dadsnd
									seainf:"",			//  		.brtp.recget.sdamod.seainf
								},
							},
							matp:{
								mattxtlab:"",			//  Label for MATTXT		.brtp.matp.mattxtlab
							},
							prbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.brtp.prbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.brtp.prbp.ptsget.sdamod.dadsnd
									},
								},
							},
							oth:{
								pts:new Pts().data,
								namelc:"",			//  名称		.brtp.oth.namelc
								adrelc:"",			//  地址		.brtp.oth.adrelc
								dbfadrblkcn:"",			//  Chinese address		.brtp.oth.dbfadrblkcn
							},
							othp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.brtp.othp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.brtp.othp.ptsget.sdamod.dadsnd
									},
								},
							},
							docgrdm:{
121
								docgrd:"",
liuxin committed
122 123
								docdsclab:"",			//  Label of document description		.brtp.docgrdm.docdsclab
							},
124 125 126 127 128 129 130 131
							acbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.brtp.acbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.brtp.acbp.ptsget.sdamod.dadsnd
									},
								},
							},
liuxin committed
132 133 134 135 136 137 138
						},
						advrefflg:"",			//  Advice of Refusal MT734		.advrefflg
						refdocflg:"",			//  Refund Document Amount		.refdocflg
						advdisflg:"",			//  Advice of Discrepancy MT750		.advdisflg
						rejpenins:"",			//  Rejection pending instructions		.rejpenins
						rejtype:"",			//  退单方式		.rejtype
						swtdat:"",			//  SWIFT message dated		.swtdat
139
						setmod: new Pub().data.Setmod,
liuxin committed
140 141 142 143 144 145 146
                        mtabut: new Pub().data.Mtabut,
                        trnmod: new Pub().data.Trnmod,
                        liaall: new Pub().data.Liaall,
						pageId: ""			// ctx的key
				}
    }
}