index.js 4.46 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 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 144
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"

export default class Bftacc{
    constructor () {
        this.data = {
						bfdgrp:{
							cbs:{
								max:{
									cur:"",			//  单据金额		.bfdgrp.cbs.max.cur
									amt:"",			//  单据金额		.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
								},
							},
							blk:{
								chaded:"",			//  Charges Deducted		.bfdgrp.blk.chaded
								chaadd:"",			//  Charges Added		.bfdgrp.blk.chaadd
								docdis:"",			//  不符点		.bfdgrp.blk.docdis
								docdisflg:"",			//  Discrepancies modified		.bfdgrp.blk.docdisflg
								nartxt77a:"",			//  Narrative TAG 77A of Incoming MT754		.bfdgrp.blk.nartxt77a
							},
							rec:{
								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:"",			//  Presentation Date		.bfdgrp.rec.predat
								docsta:"",			//  单据状态		.bfdgrp.rec.docsta
								nam:"",			//  Externally Displayed Name to Identify the Contract		.bfdgrp.rec.nam
							},
							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:{
							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
								},
							},
						},
						dedgrp:{
							beb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.dedgrp.beb.namelc
								adrelc:"",			//  地址		.dedgrp.beb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.dedgrp.beb.dbfadrblkcn
							},
							rec:{
								ownref:"",			//  参考号		.dedgrp.rec.ownref
								kzref:"",			//  信用证编号		.dedgrp.rec.kzref
							},
							cbs:{
								opn1:{
									cur:"",			//  Currency		.dedgrp.cbs.opn1.cur
									amt:"",			//  Balance		.dedgrp.cbs.opn1.amt
								},
							},
						},
						trnmod:{
							swiadd:{
								strinf:"",			//  收到报文		.trnmod.swiadd.strinf
							},
						},
						aamset:{
							utlamt:"",			//  单据金额		.aamset.utlamt
							utlamt2:"",			//  附加金额		.aamset.utlamt2
						},
						setmod:{
							doccur:"",			//  扣减金额		.setmod.doccur
							docamt:"",			//  承兑金额		.setmod.docamt
							redamt:"",			//  Reduction Amount		.setmod.redamt
						},
						pageId: "",			// ctx的key
						setmod: new Pub().data.Setmod,
			            mtabut: new Pub().data.Mtabut,
			            trnmod: new Pub().data.Trnmod,
			            liaall: new Pub().data.Liaall
				}
    }
}