importcommonFunctionsfrom'~/mixin/commonFunctions.js';exportdefault{mixins:[commonFunctions],methods:{checkAndSetSeamtFr(){// if amt to is a numberif(!isNaN(this.model.seaamtto)){// if amount to is a number, while amount from it not, then set amt from default value 0.00.if(this.model.seaamtfr===''||isNaN(this.model.seaamtfr)){this.model.seaamtfr=0.00;}}},// if seapty has changed, set the seaptyNotEmpty flagseaptyChange(){if(this.model.seapty!=null&&this.model.seapty!=''){this.seaptyNotEmpty=true;}else{this.seaptyNotEmpty=false;}},// if ptyExtkey has changed, set the ptyExtkeyNotEmpty flagptyExtkeyChange(){// this.queryNam()if(this.model.ptyExtkey!=null&&this.model.ptyExtkey!=''){this.ptyExtkeyNotEmpty=true;}else{this.ptyExtkeyNotEmpty=false;}},},}//你可以添加自动default处理