index.js 2.99 KB
Newer Older
WF1020 committed
1 2 3 4 5 6 7 8 9
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: '',
      },
闫泽浩 committed
10
      newcnfamt: '',
WF1020 committed
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
      ledgrp: {
        rec: {
          partcon: '',
          ownref: '',
        },
        cbs: {
          opn1: {
            cur: '',
            amt: '',
          },
          cnf: {
            cur: '',
          },
        },
      },
      betp0: {
        matp: {
          mattxtlab: '',
        },
      },
      amcamt: '',
      mtabut: {
        coninf: {
          usr: {
            extkey: '',
          },
        },
      },
闫泽浩 committed
39
      
WF1020 committed
40
      bedgrp: {
panziyi committed
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
        // 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,
        // },
WF1020 committed
68 69 70
        rmb: {
          pts: new Pts().data,
        },
panziyi committed
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
        // 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: {
WF1020 committed
87 88 89 90 91 92
          pts: new Pts().data,
        },
        prb: {
          pts: new Pts().data,
        },
        rec: {
panziyi committed
93 94 95 96 97 98 99 100 101
          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
panziyi committed
102
          branchinr:"",
WF1020 committed
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
        },
        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,
    };
  }
}