import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Betamc {
  constructor() {
    this.data = {
      betp: {
        furide: '',
        cre752flg: '',
      },
      newcnfamt: '',
      ledgrp: {
        rec: {
          partcon: '',
          ownref: '',
        },
        cbs: {
          opn1: {
            cur: '',
            amt: '',
          },
          cnf: {
            cur: '',
          },
        },
      },
      betp0: {
        matp: {
          mattxtlab: '',
        },
      },
      amcamt: '',
      mtabut: {
        coninf: {
          usr: {
            extkey: '',
          },
        },
      },
      
      bedgrp: {
        // ini: {
        //   pts: new Pts().data,
        // },
        // a2b: {
        //   pts: new Pts().data,
        // },
        // con: {
        //   pts: new Pts().data,
        // },
        // iss: {
        //   pts: new Pts().data,
        // },
        // ben: {
        //   pts: new Pts().data,
        // },
        // atb: {
        //   pts: new Pts().data,
        // },
        // avc: {
        //   pts: new Pts().data,
        // },
        // adv: {
        //   pts: new Pts().data,
        // },
        // apl: {
        //   pts: new Pts().data,
        // },
        rmb: {
          pts: new Pts().data,
        },
        // drw: {
        //   pts: new Pts().data,
        // },
        // ben: {
        //   pts: new Pts().data,
        // },
        // avb: {
        //   pts: new Pts().data,
        // },
        // cmb: {
        //   pts: new Pts().data,
        // },
        // own: {
        //   pts: new Pts().data,
        // },
        pub: {
          pts: new Pts().data,
        },
        prb: {
          pts: new Pts().data,
        },
        rec: {
          inr: "",
          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
          branchinr:"",
          ver:"",
        },
        cbs: {
          opn1: {
            cur: '',
            amt: '',
          },
          opn2: {
            amt: '',
          },
          max: {
            cur: '',
            amt: '',
          },
        },
        iss: {
          pts: new Pts().data,
        },
        ben: {
          pts: new Pts().data,
        },
        apl: {
          pts: new Pts().data,
        },
      },
      setmod: new Pub().data.Setmod,
      mtabut: new Pub().data.Mtabut,
      trnmod: new Pub().data.Trnmod,
      liaall: new Pub().data.Liaall,
      liaccv: new Pub().data.Liaccv,
      docpan: new Pub().data.Docpan,
    };
  }
}