// 利用 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)}}