|
|
|
@@ -30,7 +30,7 @@ import { |
|
|
|
} from "@/app/api/pickOrder/actions"; |
|
|
|
import { fetchNameList, NameList ,fetchNewNameList, NewNameList} from "@/app/api/user/actions"; |
|
|
|
import { FormProvider, useForm } from "react-hook-form"; |
|
|
|
import { isEmpty, sortBy, uniqBy, upperFirst, groupBy } from "lodash"; |
|
|
|
import { isEmpty, sortBy, uniqBy, groupBy } from "lodash"; |
|
|
|
import { OUTPUT_DATE_FORMAT, arrayToDayjs } from "@/app/utils/formatUtil"; |
|
|
|
import useUploadContext from "../UploadProvider/useUploadContext"; |
|
|
|
import dayjs from "dayjs"; |
|
|
|
@@ -236,7 +236,7 @@ const AssignAndRelease: React.FC<Props> = ({ filterArgs }) => { |
|
|
|
uniqBy( |
|
|
|
originalItemData.map((item) => ({ |
|
|
|
value: item.status, |
|
|
|
label: t(upperFirst(item.status)), |
|
|
|
label: t(item.status), |
|
|
|
})), |
|
|
|
"value", |
|
|
|
), |
|
|
|
@@ -507,7 +507,7 @@ const AssignAndRelease: React.FC<Props> = ({ filterArgs }) => { |
|
|
|
|
|
|
|
{/* Pick Order Status - 只在第一个项目显示 */} |
|
|
|
<TableCell> |
|
|
|
{index === 0 ? upperFirst(item.status) : null} |
|
|
|
{index === 0 ? t(item.status) : null} |
|
|
|
</TableCell> |
|
|
|
</TableRow> |
|
|
|
)) |
|
|
|
|