import Utils from "~/utils";
import Pts from '~/components/business/commonModel/Pts';
export default {
methods: {
onAmecur(){
this.model.swiadd.amecur = this.model.nidgrp.cbs.max.cur;
this.model.swiadd.newcur = this.model.nidgrp.cbs.max.cur;
},
changeSndmt(e) {
const restObj = {
pts: new Pts().data,
namelc: "", // 名称 .fremsg.othcc.namelc
adrelc: "", // 地址 .fremsg.othcc.adrelc
dbfadrblkcn: "", // Chinese address .fremsg.othcc.dbfadrblkcn
}
if (e != undefined) {
this.model.fremsg.ccrol = '';
this.model.fremsg.msgrol = '';
Utils.copyValueFromVoData(this.model.fremsg.othmsg, restObj);
Utils.copyValueFromVoData(this.model.fremsg.othcc, restObj);
}
if (e == undefined) {
return;
}
this.changeReldir();
this.onSndmt();
}
},
}