소스 검색

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


불러오는 중...
취소
저장