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, } } }