Quellcode durchsuchen

uom update

master
kelvin.yau vor 2 Monaten
Ursprung
Commit
69268533b4
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. +2
    -2
      src/components/JoSave/PickTable.tsx

+ 2
- 2
src/components/JoSave/PickTable.tsx Datei anzeigen

@@ -181,7 +181,7 @@ const PickTable: React.FC<Props> = ({
headerAlign: "right",
renderCell: (params: GridRenderCellParams<JoDetailPickLine>) => {
const uomShortDesc = getUomShortDesc(params.row);
return `${decimalFormatter.format(params.value)} ${params.row.shortUom}`;
return `${decimalFormatter.format(params.value)} (${params.row.shortUom})`;
},
},
{
@@ -193,7 +193,7 @@ const PickTable: React.FC<Props> = ({
type: "number",
renderCell: (params: GridRenderCellParams<JoDetailPickLine>) => {
const uomShortDesc = getUomShortDesc(params.row);
return `${decimalFormatter.format(params.value)} ${params.row.shortUom}`;
return `${decimalFormatter.format(params.value)} (${params.row.shortUom})`;
},
},
{


Laden…
Abbrechen
Speichern