default.js 830 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 25 26 27 28 29 30 31 32 33 34 35
/**
 * Nctfre Default规则
 */
import Pts from '~/components/business/commonModel/Pts';
import Utils from "~/utils";

export default {
  methods: {

    changeNewexpdat() {
      if (this.model.extpay == "") {
        this.model.ncdgrp.rec.newexpdat = "";
      }
		},

				sndmtChange(e) {
					const restObj = {
						pts: new Pts().data,
						namelc: "", //  名称		.fremsg.othcc.namelc
						adrelc: "", //  地址		.fremsg.othcc.adrelc
						dbfadrblkcn: "", //  Chinese address		.fremsg.othcc.dbfadrblkcn
					}
					if(e==undefined){
						return;
					}
					this.onSndmt();
					this.changeReldir();

					this.model.fremsg.ccrol = '';
					this.model.fremsg.msgrol = '';
					Utils.copyValueFromVoData(this.model.fremsg.othmsg, restObj);
					Utils.copyValueFromVoData(this.model.fremsg.othcc, restObj);
				},
  }
}