| | |
| | | import AddIcon from '@mui/icons-material/Add'; |
| | | import DeleteIcon from '@mui/icons-material/Delete'; |
| | | import request from '@/utils/request'; |
| | | import { formatQuantity } from '@/utils/common'; |
| | | import LocItemInfoModal from "../components/locItemInfoModal"; |
| | | import { Delete } from '@mui/icons-material'; |
| | | import _, { set } from 'lodash'; |
| | |
| | | } |
| | | |
| | | }) |
| | | console.log(newData); |
| | | setTarLocList(newData); |
| | | } |
| | | |
| | |
| | | const refresh = useRefresh(); |
| | | const { orgLoc, tarLoc, tabelData } = props; |
| | | const move = () => { |
| | | console.log(orgLoc, tarLoc); |
| | | if (orgLoc === "" || orgLoc === undefined || orgLoc === null) { |
| | | notify("请输入源库位"); |
| | | return; |
| | |
| | | type: 'number', |
| | | width: 100, |
| | | editable: false, |
| | | valueFormatter: (v) => formatQuantity(v), |
| | | }, |
| | | { |
| | | field: 'workQty', |
| | | headerName: translate('table.field.locItem.workQty'), |
| | | width: 100, |
| | | type: 'number', |
| | | editable: false, |
| | | }, |
| | | // { |
| | | // field: 'workQty', |
| | | // headerName: translate('table.field.locItem.workQty'), |
| | | // width: 100, |
| | | // type: 'number', |
| | | // editable: false, |
| | | // }, |
| | | { |
| | | field: 'locCode', |
| | | headerName: translate('table.field.locItem.locCode'), |