Selaa lähdekoodia

uom update

master
kelvin.yau 2 kuukautta sitten
vanhempi
commit
69268533b4
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      src/components/JoSave/PickTable.tsx

+ 2
- 2
src/components/JoSave/PickTable.tsx Näytä tiedosto

@@ -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})`;
},
},
{


Ladataan…
Peruuta
Tallenna