|
|
@@ -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" |
|
|
|
/>, |
|
|
|
<GridActionsCellItem |
|
|
|
icon={<Button |
|
|
|
id="emailSupplier" |
|
|
|
type="button" |
|
|
|
variant="contained" |
|
|
|
color="primary" |
|
|
|
sx={{ width: '150px' }} |
|
|
|
// onClick={formProps.handleSubmit(onSubmitEmailSupplier)} |
|
|
|
> |
|
|
|
{t("email supplier")} |
|
|
|
</Button>} |
|
|
|
label="start" |
|
|
|
sx={{ |
|
|
|
// color: "primary.main", |
|
|
|
// marginRight: 1, |
|
|
|
}} |
|
|
|
onClick={handleNewQC(params.row.id, params)} |
|
|
|
color="inherit" |
|
|
|
key="edit" |
|
|
|