|
|
@@ -1,5 +1,5 @@ |
|
|
|
import { PlusOutlined, UploadOutlined } from '@ant-design/icons'; |
|
|
|
import { Button, Card, message, Steps, Empty, Form, Input, Upload, Select, InputNumber, Switch } from 'antd'; |
|
|
|
import { Button, Card, message, Steps, Form, Input, Upload, Select, InputNumber, Switch } from 'antd'; |
|
|
|
import { GridContent, PageContainer, RouteContext } from '@ant-design/pro-layout'; |
|
|
|
import React, { Fragment, useRef, useState, useEffect } from 'react'; |
|
|
|
import classNames from 'classnames'; |
|
|
@@ -22,6 +22,7 @@ const Advanced = (props) => { |
|
|
|
const [currTabKey, SetCurrTabKey] = useState("basis") |
|
|
|
const [url, setUrl] = useState(props.location.query.values ? props.location.query.values.imgUrl : null); |
|
|
|
const [currentGoodsProp, setCurrentGoodsProp] = useState(0); |
|
|
|
const { TextArea } = Input; |
|
|
|
//事件 |
|
|
|
const onFinish = async (values) => { |
|
|
|
const hide = message.loading('正在添加'); |
|
|
@@ -307,6 +308,9 @@ const Advanced = (props) => { |
|
|
|
<Form.Item name="remark" label="备注"> |
|
|
|
<Input /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item name="design" label="规格" > |
|
|
|
<TextArea rows={4} /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item name="imgUrl" hidden={true} > |
|
|
|
<Input /> |
|
|
|
</Form.Item> |
|
|
|