default.js 1.7 KB
Newer Older
fukai 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
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
import moment from 'moment';
import commonDepend from "~/mixin/commonDepend";
export default {
	mixins: [commonFunctions, commonDepend],
	methods: {
    initData() {
      this.model.bcdgrp.rec.ownref='IC3500240199AG',
      this.model.bcdgrp.rmi.pts.extkey='EVERCNBJBUS-001',
      this.model.bcdgrp.rmi.pts.adrblk='CHINA EVERBRIGHT BANK\n100031 BEIJING\nCHINA',
      this.model.bcdgrp.drr.pts.extkey='999900507709',
      this.model.bcdgrp.drr.pts.adrblk='重庆市四川县',
      this.model.bcdgrp.dre.pts.extkey='2001562307-002',
      this.model.bcdgrp.dre.pts.adrblk='China power Complete Equipment co.,\nltd No.32 Haidiannan Street Beijing\nChina',
      this.model.bcdgrp.rmi.pts.ref='3456345',
      this.model.bcdgrp.dre.pts.ref='123111',
      // this.model.bcdgrp.rec.invref='1556782537',
      this.model.bcdgrp.rec.matdat=moment(new Date()).format("YYYY-MM-DD"),
      // this.model.bcdgrp.rec.matpercnt='10',
      // this.model.bcdgrp.rec.matpertyp='D',
      // this.model.bcdgrp.rec.matperbeg='FD',
      // this.model.bcdgrp.blk.bcgdet='进口代收注销后激活',
      // this.model.bctp.usr.extkey='010187',
      this.model.bcdgrp.cbs.max.cur='CNY',
      this.model.bcdgrp.cbs.max.amt='100000.00',
      this.model.bcdgrp.cbs.opn1.cur='CNY',
      this.model.bcdgrp.cbs.opn1.amt='100000.00',
      this.model.bcdgrp.rec.rcvdat=moment(new Date()).format("YYYY-MM-DD"),
      this.model.bcdgrp.rec.predat=moment(new Date()).format("YYYY-MM-DD"),
      this.model.bcdgrp.rec.advdat=moment(new Date()).format("YYYY-MM-DD"),
      this.model.bcdgrp.rec.doctypcod='A',
      this.model.bcdgrp.rec.docsta='A'
    }
		
	},
}