default.js 742 Bytes
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
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
import moment from 'moment';
import commonDepend from "~/mixin/commonDepend";
import Dtaret from '../../../../components/business/commonModel/dtaret';
export default {
  mixins: [commonFunctions, commonDepend],
  methods: {
    initFields() {
      if (!this.isInDisplay) {
        // 处理标志 新增
        this.model.jsdgrp.rec.chlibz = "2";
        // 交易日期
        this.model.jsdgrp.rec.opndat = new Date();
        // 大小额标志 0-小额 1-大额
        this.model.jsdgrp.rec.shfobz = '1';
      } else {
        this.model.dtaret = new Dtaret().data;
        // 获取返回信息
        this.getDtaret();
      }
    }
  },
}