index.js 3.14 KB
Newer Older
jianglong 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
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"

export default class Betamc{
    constructor () {
        this.data = {
						bedgrp:{
							rec:{
								ownref:"",			//  单据编号		.bedgrp.rec.ownref
								nam:"",			//  Externally Displayed Name to Identify the Contract		.bedgrp.rec.nam
								doctypcod:"",			//  单据类型		.bedgrp.rec.doctypcod
								matdat:"",			//  Maturity Date		.bedgrp.rec.matdat
								orddat:"",			//  到期日		.bedgrp.rec.orddat
								rcvdat:"",			//  到单日期		.bedgrp.rec.rcvdat
								predat:"",			//  Presentation Date		.bedgrp.rec.predat
								docsta:"",			//  单据状态		.bedgrp.rec.docsta
							},
							cbs:{
								max:{
									cur:"",			//  单据所占的保兑额度		.bedgrp.cbs.max.cur
									amt:"",			//  单据金额		.bedgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  单据余额		.bedgrp.cbs.opn1.cur
									amt:"",			//  Balance		.bedgrp.cbs.opn1.amt
								},
								opn2:{
									amt:"",			//  Balance		.bedgrp.cbs.opn2.amt
								},
							},
							ben:{
								pts:new Pts().data,
							},
							iss:{
								pts:new Pts().data,
							},
							apl:{
								pts:new Pts().data,
							},
						},
						betp0:{
							recget:{
								sdamod:{
									seainf:"",			//  		.betp0.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.betp0.recget.sdamod.dadsnd
								},
							},
							ledget:{
								sdamod:{
									seainf:"",			//  		.betp0.ledget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.betp0.ledget.sdamod.dadsnd
								},
							},
							matp:{
								mattxtlab:"",			//  Label for MATTXT		.betp0.matp.mattxtlab
							},
						},
						ledgrp:{
							rec:{
								ownref:"",			//  参考号		.ledgrp.rec.ownref
								partcon:"",			//  信用证保兑比例		.ledgrp.rec.partcon
							},
							cbs:{
								opn1:{
									cur:"",			//  Currency		.ledgrp.cbs.opn1.cur
									amt:"",			//  Balance		.ledgrp.cbs.opn1.amt
								},
								cnf:{
									cur:"",			//  释放后保兑金额余额		.ledgrp.cbs.cnf.cur
								},
							},
						},
						amcamt:"",			//  单据所占的保兑额度		.amcamt
						newcnfamt:"",			//  释放后保兑金额余额		.newcnfamt
						
						mtabut: {
							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
								},
							},
						},
						pageId: ""	,		// ctx的key
						trnmod: new Pub().data.Trnmod,
						setmod: new Pub().data.Setmod,
						liaall: new Pub().data.Liaall,
				}
    }
}