|  | @@ -115,7 +115,12 @@ export default {
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    components: { detailPage },
 | 
	
		
			
				|  |  |    async created() {
 | 
	
		
			
				|  |  | -    this.option =await this.getColumnData(this.getColumnName(0),option);
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * 已定义全局方法,直接使用,getColumnData获取列数据,参数传值(表格名称,引入的本地JSON的数据定义的名称)
 | 
	
		
			
				|  |  | +     * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
 | 
	
		
			
				|  |  | +     * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    this.option = await this.getColumnData(this.getColumnName(0), option);
 | 
	
		
			
				|  |  |      let _this = this;
 | 
	
		
			
				|  |  |      this.option.column.forEach(e => {
 | 
	
		
			
				|  |  |        if (e.prop == "exchangeRate") {
 | 
	
	
		
			
				|  | @@ -218,12 +223,15 @@ export default {
 | 
	
		
			
				|  |  |         * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
 | 
	
		
			
				|  |  |         * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
 | 
	
		
			
				|  |  |         */
 | 
	
		
			
				|  |  | -     const inSave=await this.saveColumnData(this.getColumnName(0),this.option)
 | 
	
		
			
				|  |  | -     if(inSave){
 | 
	
		
			
				|  |  | -       this.$message.success("保存成功");
 | 
	
		
			
				|  |  | -       //关闭窗口
 | 
	
		
			
				|  |  | -       this.$refs.crud.$refs.dialogColumn.columnBox = false;
 | 
	
		
			
				|  |  | -     }
 | 
	
		
			
				|  |  | +      const inSave = await this.saveColumnData(
 | 
	
		
			
				|  |  | +        this.getColumnName(0),
 | 
	
		
			
				|  |  | +        this.option
 | 
	
		
			
				|  |  | +      );
 | 
	
		
			
				|  |  | +      if (inSave) {
 | 
	
		
			
				|  |  | +        this.$message.success("保存成功");
 | 
	
		
			
				|  |  | +        //关闭窗口
 | 
	
		
			
				|  |  | +        this.$refs.crud.$refs.dialogColumn.columnBox = false;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  };
 |