ソースを参照

uom update

master
kelvin.yau 2ヶ月前
コミット
69268533b4
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      src/components/JoSave/PickTable.tsx

+ 2
- 2
src/components/JoSave/PickTable.tsx ファイルの表示

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


読み込み中…
キャンセル
保存