jwyu 1 年之前
父節點
當前提交
ee98fd3849
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/views/dataEntry_manage/databaseComponents/batchComputedSave.vue

+ 4 - 3
src/views/dataEntry_manage/databaseComponents/batchComputedSave.vue

@@ -167,7 +167,7 @@ export default {
 				13: `${item.EdbName}${this.formData.nNum}${item.Frequency.slice(0,1)}环差`,
 				35: `${item.EdbName}超季节性/${this.formData.nNum}年${this.formData.calendarType==='公历'?'':'/'+this.formData.calendarType}`,
 				52: `${item.EdbName}年化值`,
-				51: `${item.EdbName}/${item.Frequency.substr(0,1)}频`,
+				51: `${item.EdbName}/${this.formData.frequency.substr(0,1)}频`,
 				61:  `${item.EdbName}转季值`,
 				62:  `${item.EdbName}累计值/${this.formData.frequency}`,
 				63:  `${item.EdbName}累计值/${item.Frequency}`,
@@ -202,9 +202,10 @@ export default {
         // 频度变化 修改指标名
 		handleFrequencyChange(e){
 			if(!this.sourceTypeVal||![51,62].includes(this.sourceTypeVal)) return;
+            const obj=this.list[e.$index]
 			const name_map = {
-				51: `${obj.EdbName}/${this.formData.frequency.substr(0,1)}频`,
-				62:  `${obj.EdbName}累计值/${this.formData.frequency}`,
+				51: `${obj.EdbName}/${obj.frequency.substr(0,1)}频`,
+				62:  `${obj.EdbName}累计值/${obj.frequency}`,
 			}
 			this.list[e.$index].name=name_map[this.sourceTypeVal]
 		},