import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Brteus {
  constructor() {
    this.data = {
      // brtp:{
      //   swiftflg: '',
      // },

      gidgrp:{
        ghd: {
          // wahnum: '',
          // remark: '',
          // bustyp: '',
          segtyp: '',
        },
        rec:{
          ownref:'',
          branchinr:'',
        },
        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,
        },
        apl: {
          pts: new Pts().data,
        },
        adv: {
          pts: new Pts().data,
        },
        ctr: {
          pts: new Pts().data,
        },
        cbs: {
          max: {
            cur: '',
            amt: '',
          },
        },
      },

      brdgrp: {
        ghd: {
          // wahnum: '',
          // remark: '',
          // bustyp: '',
          segtyp: '',
        },
        blk: {
          chaded: '',
          nartxt77a: '',
          docdisflg: '',
          chaadd: '',
          docdis: ''
        },
        prb: {
          pts: new Pts().data,
        },
        rec: {
          tenmaxday: '',
          rcvdat: '',
          totcur: '',
          docflg: '',
          advtyp: '',
          docsta: '',
          ownref: '',
          totamt: '0',
          totdat: '',
          advdat: '',
          stadat: '',
          matdat: '',
          nam: ''
        },
        cbs: {
          opn1: {
            cur: '',
            amt: ''
          },
          opn2: {
            cur: '',
            amt: ''
          },
          max: {
            cur: '',
            amt: ''
          },
          max2: {
            cur:'',
            amt: ''
          }
        },
        apl:{
          pts: new Pts().data,
        },
        ben:{
          pts: new Pts().data,
        },
        oth:{
          pts: new Pts().data,
        },
        acb:{
          pts: new Pts().data,
        },
      },
      strinf: '',
      lidgrp: {
        rec: {
          expdat: '',
          ownref: '',
          branchinr:"00000014",
          inr: '',
        },
        cbs: {
          opn1: {
            cur: '',
            amt: ''
          }
        }
      },

      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,

      // liaccvg: this.model.liaccv.liaccvg,
      // liaallg: this.model.liaall.liaallg,
      // setfog: this.model.setmod.setfog,
      // setfeg: this.model.setmod.setfeg,
      // setglg: this.model.setmod.setglg,
      // doceot: this.model.docpan.doceot,
      // spt: JSON.parse(localStorage.getItem('row_' + this.trnName)) || {},
      // gidgrp: this.model.gidgrp,
      // gitp: this.model.gitp,
      // lidgrp: this.model.lidgrp,
      // branchinr:this.model.gidgrp.rec.branchinr,
    };
  }
}