#
luxiaotao1123
2024-03-27 68bdf864a017415b0e13b7e6035c5e56b6f8de6d
#
2个文件已修改
1个文件已添加
40 ■■■■■ 已修改文件
zy-asrs-flow/src/locales/en-US/map.ts 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/drawer/shelf/index.jsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/locales/en-US/map.ts
@@ -21,6 +21,7 @@
    '': '',
    '': '',
    'map.drawer.json': 'JSON',
    'map.drawer.shelf.view.title': 'Shelf Information',
    '': '',
    '': '',
    '': '',
zy-asrs-flow/src/pages/map/drawer/shelf/index.jsx
@@ -5,6 +5,7 @@
import * as Utils from '../../utils'
import Http from '@/utils/http';
import ShowJson from '../showJson';
import ShelfView from './view'
const useStyles = createStyles(({ token, css }) => {
@@ -13,9 +14,14 @@
const ShelfDrawer = (props) => {
    const intl = useIntl();
    const { styles } = useStyles();
    const [activeTabKey, setActiveTabKey] = useState('json');
    const [activeTabKey, setActiveTabKey] = useState('view');
    const contentList = {
        view: (
            <ShelfView
            />
        ),
        json: (
            <ShowJson
                data={props.curSprite.data}
@@ -32,6 +38,10 @@
                type='inner'
                tabList={[
                    {
                        key: 'view',
                        tab: intl.formatMessage({ id: 'map.drawer.shelf.view.title', defaultMessage: '库位信息' }),
                    },
                    {
                        key: 'json',
                        tab: intl.formatMessage({ id: 'map.drawer.json', defaultMessage: 'JSON' }),
                    },
zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx
New file
@@ -0,0 +1,27 @@
import React, { useState, useRef, useEffect } from 'react';
import { Card, Form, Button } from 'antd';
import { FormattedMessage, useIntl, useModel } from '@umijs/max';
import { createStyles } from 'antd-style';
import * as Utils from '../../utils'
import Http from '@/utils/http';
const useStyles = createStyles(({ token, css }) => {
})
const ShelfView = (props) => {
    const intl = useIntl();
    const { styles } = useStyles();
    useEffect(() => {
    }, []);
    return (
        <>
            <h1>HJdsa</h1>
        </>
    )
}
export default ShelfView;