// 利用 ref 获取相关组件中的数值checkInfo(){let Insured = this.$refs.Insured.mastdata; //参保量let technology = this.$refs.drugs.mastdata; //技术let business = this.$refs.business.mastdata; //商务return new Promise((resolve,reject) => {if (!Insured.username) reject("基本医保参保人口不能为空");else if (Insured.zhongzaicost === "") reject("中再通道费不能为空");// else if (!technology.jstouru) reject("技术开发投入不能为空");// else if (!business.businesscoefficient) reject("商务系数不能为空");// else resolve()})},async preservation() {try{await this.checkInfo()}catch(e){this.$Message.info(e)}}