浏览代码

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


正在加载...
取消
保存