diff --git a/src/components/PoDetail/PoInputGrid.tsx b/src/components/PoDetail/PoInputGrid.tsx index 43c0b03..c6221cb 100644 --- a/src/components/PoDetail/PoInputGrid.tsx +++ b/src/components/PoDetail/PoInputGrid.tsx @@ -560,7 +560,7 @@ const closeNewModal = useCallback(() => { // )} | ${t("putaway")} | ${t("delete")}`, headerName: "動作", // headerName: "start | qc | escalation | stock in | putaway | delete", - width: 200, + width: 350, //200 // flex: 2, cellClassName: "actions", getActions: (params) => { @@ -578,9 +578,26 @@ const closeNewModal = useCallback(() => { // color: "primary.main", // marginRight: 1, }} - // disabled={!(stockInLineStatusMap[status] === 0)} - // set _isNew to false after posting - // or check status + onClick={handleNewQC(params.row.id, params)} + color="inherit" + key="edit" + />, + + {t("email supplier")} + } + label="start" + sx={{ + // color: "primary.main", + // marginRight: 1, + }} onClick={handleNewQC(params.row.id, params)} color="inherit" key="edit" diff --git a/src/components/PoDetail/QcStockInModalVer2.tsx b/src/components/PoDetail/QcStockInModalVer2.tsx index 0a53853..0006b72 100644 --- a/src/components/PoDetail/QcStockInModalVer2.tsx +++ b/src/components/PoDetail/QcStockInModalVer2.tsx @@ -434,16 +434,6 @@ const [qcItems, setQcItems] = useState(dummyQCData) /> - {itemDetail.status.toLowerCase() == "rejected" && ()} {itemDetail.status.toLowerCase() != "completed" && (