科室详情小数位

parent 97a18f72
......@@ -1292,7 +1292,9 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
{
sheettype = 5;
amount = basicData?.Where(t => t.SheetID == sheet.ID && t.UnitType == (int)type && t.IsTotal == 1)?.FirstOrDefault()?.CellValue ?? 0;
if (sheet.SheetType != (int)SheetType.BudgetRatio)
//if (sheet.SheetType != (int)SheetType.BudgetRatio)
// amount = GetDecimal(amount, 0);
if (amount > 5)
amount = GetDecimal(amount, 0);
}
return (sheettype, amount);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment