| File was renamed from rsf-admin/src/page/orders/preparation/MatPreparationPublic.jsx |
| | |
| | | import CloseSharpIcon from '@mui/icons-material/CloseSharp'; |
| | | import ConfirmButton from '../../components/ConfirmButton'; |
| | | import { Delete, Edit, Add } from '@mui/icons-material'; |
| | | // import OutStockSiteDialog from "./OutStockSiteDialog"; |
| | | import OutStockSiteDialog from "./PreparationStockSiteDialog"; |
| | | |
| | | const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({ |
| | | '& .css-1vooibu-MuiSvgIcon-root': { |
| | |
| | | |
| | | })); |
| | | |
| | | const MatPerparationPublic = (props) => { |
| | | const OutStockPublic = (props) => { |
| | | const { record, open, setOpen, setManualDialog } = props; |
| | | const notify = useNotify(); |
| | | const gridRef = useGridApiRef(); |
| | |
| | | sx={{ height: "2px", position: 'absolute', top: 0, left: 0, right: 0, }} |
| | | /> |
| | | <StyledDatagrid |
| | | storeKey={"matPerparationPublic"} |
| | | storeKey={"outStockPublic"} |
| | | preferenceKey='outStockItem' |
| | | bulkActionButtons={<> |
| | | <ComfirmButton /> |
| | | </>} |
| | | omit={['id', 'splrName', 'qty', 'poCode',]} |
| | | > |
| | | <TextField source="matnrCode" label="物料编码" />, |
| | | <TextField source="maktx" label="物料名称" />, |
| | | <TextField source="spec" label="规格" />, |
| | | <TextField source="unit" label="单位" />, |
| | | <TextField source="anfme" label="数量" />, |
| | | {/* <NumberField source="id" /> |
| | | <NumberField source="id" /> |
| | | <TextField source="asnCode" label="table.field.outStockItem.orderCode" /> |
| | | <TextField source="poCode" label="table.field.outStockItem.poCode" /> |
| | | <TextField source="matnrCode" label="table.field.outStockItem.matnrCode" /> |
| | |
| | | <NumberField source="workQty" label="table.field.outStockItem.workQty" /> |
| | | <NumberField source="qty" label="table.field.outStockItem.qty" /> |
| | | <TextField source="stockUnit" label="table.field.outStockItem.stockUnit" /> |
| | | <TextField source="splrName" label="table.field.outStockItem.splrName" /> */} |
| | | <TextField source="splrName" label="table.field.outStockItem.splrName" /> |
| | | </StyledDatagrid> |
| | | </List> |
| | | </Card> |
| | |
| | | ) |
| | | } |
| | | |
| | | export default MatPerparationPublic; |
| | | export default OutStockPublic; |
| | | |
| | | |