|
|
|
@@ -46,7 +46,7 @@ const JoSearch: React.FC<Props> = ({ defaultInputs, bomCombo }) => { |
|
|
|
const [totalCount, setTotalCount] = useState(0) |
|
|
|
const [isCreateJoModalOpen, setIsCreateJoModalOpen] = useState(false) |
|
|
|
|
|
|
|
console.log(inputs) |
|
|
|
// console.log(inputs) |
|
|
|
const [inventoryData, setInventoryData] = useState<InventoryResult[]>([]); |
|
|
|
|
|
|
|
const [detailedJos, setDetailedJos] = useState<Map<number, JobOrder>>(new Map()); |
|
|
|
@@ -137,7 +137,7 @@ const JoSearch: React.FC<Props> = ({ defaultInputs, bomCombo }) => { |
|
|
|
const searchCriteria: Criterion<SearchParamNames>[] = useMemo(() => [ |
|
|
|
{ label: t("Code"), paramName: "code", type: "text" }, |
|
|
|
{ label: t("Item Name"), paramName: "itemName", type: "text" }, |
|
|
|
{ label: t("Plan Start From"), label2: t("Plan Start To"), paramName: "planStart", type: "datetimeRange" }, |
|
|
|
{ label: t("Plan Start"), label2: t("Plan Start To"), paramName: "planStart", type: "datetimeRange" }, |
|
|
|
], [t]) |
|
|
|
|
|
|
|
const columns = useMemo<Column<JobOrder>[]>( |
|
|
|
|