浏览代码

Merge branch 'ETA_1.5.8' into debug

zwxi 1 年之前
父节点
当前提交
fa923d4f95
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      controllers/data_manage/chart_info.go

+ 7 - 0
controllers/data_manage/chart_info.go

@@ -1030,6 +1030,13 @@ func (this *ChartInfoController) PreviewChartInfoDetail() {
 				}
 			}
 		}
+		if req.ChartEdbInfoList[k].IsConvert == 1 {
+			v.IsConvert = 1
+			v.ConvertType = req.ChartEdbInfoList[k].ConvertType
+			v.ConvertValue = req.ChartEdbInfoList[k].ConvertValue
+			v.ConvertUnit = req.ChartEdbInfoList[k].ConvertUnit
+			v.ConvertEnUnit = req.ChartEdbInfoList[k].ConvertEnUnit
+		}
 		mappingList[k] = v
 	}