/**
 * Nctfre Default规则
 */
import Pts from '~/components/business/commonModel/Pts';
import Utils from "~/utils";

export default {
  methods: {

    changeNewexpdat() {
      if (this.model.extpay == "") {
        this.model.gcdgrp.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);
				},
  }
}