From 995d22d361a2fa39ce3c3e0d19aefb6051b6547e Mon Sep 17 00:00:00 2001 From: zhaoy <137053305@qq.com> Date: Thu, 29 Feb 2024 15:18:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=8B=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/CreateForm.jsx | 12 +- .../push/batchingpush/components/PushFrom.jsx | 8 +- src/pages/push/batchingpush/index.jsx | 107 +++++++++++++----- src/pages/push/goodspush/index.jsx | 102 ++++++++++++----- src/pages/push/technologypush/index.jsx | 98 +++++++++++----- 5 files changed, 235 insertions(+), 92 deletions(-) diff --git a/src/pages/device/warehousepostion/components/CreateForm.jsx b/src/pages/device/warehousepostion/components/CreateForm.jsx index f080920..d250303 100644 --- a/src/pages/device/warehousepostion/components/CreateForm.jsx +++ b/src/pages/device/warehousepostion/components/CreateForm.jsx @@ -1,5 +1,5 @@ import React, {useState,useEffect } from 'react'; -import { Modal, Form, Input, Button, Select } from 'antd'; +import { Modal, Form, Input, Button, Select,Image } from 'antd'; import { EditableProTable } from '@ant-design/pro-table'; @@ -9,6 +9,7 @@ const CreateForm = (props) => { const [dataSource, setDataSource] = useState([]); const [editableKeys, setEditableRowKeys] = useState([]); const [options,setoptions]=useState([]); + const [ProductUrl,setProductUrl]=useState(''); useEffect(() => { console.log("props.values",props.values) if(props.values.id){ @@ -82,6 +83,8 @@ const CreateForm = (props) => { console.log("ary",ary) setEditableRowKeys(ary.map((item) => item.id)) setDataSource(ary); + + setProductUrl(device.productUrl) } } const headleOk=()=>{ @@ -136,7 +139,12 @@ const CreateForm = (props) => { - + + + {/*