| | |
| | | 'map.load.success': 'Welcome To WCS.', |
| | | '': '', |
| | | '': '', |
| | | 'map.loc.no': 'Location Number', |
| | | 'map.pallet.barcode': 'Pallet Barcode', |
| | | 'map.is.enable': 'Enable or Not', |
| | | 'map.loc.operation': 'Location Operation', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | 'map.sensor.type.shuttle': 'Shuttle', |
| | |
| | | getContainer={props.refCurr} |
| | | rootStyle={{ position: "absolute" }} |
| | | mask={false} |
| | | width={900} |
| | | width={window.innerWidth * 0.35} |
| | | style={{ |
| | | opacity: 1 |
| | | }} |
| | |
| | | const { styles } = useStyles(); |
| | | const { curSprite, curFloor } = props; |
| | | |
| | | const [locNo, setLocNo] = useState(''); |
| | | const [activeTabKey, setActiveTabKey] = useState('view'); |
| | | |
| | | useEffect(() => { |
| | | props.setDrawerTitle(curSprite.data.no + '-' + curFloor); |
| | | const locNo = curSprite.data.no + '-' + curFloor; |
| | | setLocNo(locNo) |
| | | props.setDrawerTitle(intl.formatMessage({ id: 'map.loc.no', defaultMessage: '库位号' }) + ': ' + locNo); |
| | | }, [curSprite]); |
| | | |
| | | const contentList = { |
| | | view: ( |
| | | <ShelfView |
| | | locNo={locNo} |
| | | data={curSprite.data} |
| | | curFloor={curFloor} |
| | | /> |
| | |
| | | }, |
| | | threeInfo: { |
| | | height: '100%', |
| | | width: '50%', |
| | | width: '60%', |
| | | }, |
| | | spinWrapper: { |
| | | height: '100%', |
| | |
| | | }, |
| | | tableInfo: { |
| | | height: '100%', |
| | | width: '50%', |
| | | width: '40%', |
| | | padding: '0 10px 0 15px', |
| | | overflow: 'auto', |
| | | } |
| | |
| | | [ |
| | | { |
| | | key: '1', |
| | | label: 'Product', |
| | | children: 'Cloud Database', |
| | | label: intl.formatMessage({ id: 'map.loc.no', defaultMessage: '库位号' }), |
| | | children: props.locNo, |
| | | }, |
| | | { |
| | | key: '2', |
| | | label: 'Billing Mode', |
| | | children: 'Prepaid', |
| | | }, |
| | | { |
| | | key: '1', |
| | | label: 'Product', |
| | | children: 'Cloud Database', |
| | | }, |
| | | { |
| | | key: '2', |
| | | label: 'Billing Mode', |
| | | children: 'Prepaid', |
| | | }, |
| | | { |
| | | key: '1', |
| | | label: 'Product', |
| | | children: 'Cloud Database', |
| | | }, |
| | | { |
| | | key: '2', |
| | | label: 'Billing Mode', |
| | | children: 'Prepaid', |
| | | }, |
| | | { |
| | | key: '1', |
| | | label: 'Product', |
| | | children: 'Cloud Database', |
| | | }, |
| | | { |
| | | key: '2', |
| | | label: 'Billing Mode', |
| | | children: 'Prepaid', |
| | | label: intl.formatMessage({ id: 'map.pallet.barcode', defaultMessage: '托盘条码' }), |
| | | children: '80000010', |
| | | }, |
| | | { |
| | | key: '3', |
| | | label: 'Automatic Renewal', |
| | | label: intl.formatMessage({ id: 'map.is.enable', defaultMessage: '是否启用' }), |
| | | children: 'Disabled', |
| | | }, |
| | | { |
| | | key: '2', |
| | | label: intl.formatMessage({ id: 'map.loc.operation', defaultMessage: '库位操作' }), |
| | | children: <Button> submit</Button>, |
| | | }, |
| | | ] |