Commit 36e15889 authored by 左玲玲's avatar 左玲玲 😬

1512

parent 8c356db4
......@@ -5,7 +5,7 @@ import { EditableProTable } from "@ant-design/pro-table";
import { useEffect, useState } from 'react'
import { useModel } from 'umi'
const EditUpload = ({ record, fid ,storeId}) => {
const EditUpload = ({ record, fid, storeId }) => {
const [value, setvalue] = useState({
[record.id]: record.uploadList
});
......@@ -36,6 +36,7 @@ const EditUpload = ({ record, fid ,storeId}) => {
}, [value])
return <EditableProTable
rowKey={"id"}
maxLength={1000}
style={{ marginLeft: 48 }}
columns={[
......@@ -114,7 +115,7 @@ const one = {
"materieInstoreNo"
],
"required": false,
placeholder:"不填写系统自动生成"
placeholder: "不填写系统自动生成"
},
"storeId": {
"value": null,
......@@ -246,7 +247,7 @@ const one = {
"materieInstoreNo"
],
"required": false,
placeholder:"不填写系统自动生成"
placeholder: "不填写系统自动生成"
},
"storeId": {
"value": null,
......@@ -381,7 +382,7 @@ const one = {
"materieInstoreNo"
],
"required": false,
placeholder:"不填写系统自动生成"
placeholder: "不填写系统自动生成"
},
"storeId": {
"value": null,
......@@ -520,7 +521,7 @@ const one = {
"materieInstoreNo"
],
"required": false,
placeholder:"不填写系统自动生成"
placeholder: "不填写系统自动生成"
},
"storeId": {
"value": null,
......@@ -753,7 +754,8 @@ const one = {
pagination={false}
/>,
},
pagination: "false"
pagination: "false",
rowKey: "id"
},
],
},
......@@ -864,7 +866,7 @@ const one = {
],
},
]
}, doinsert = (fid,storeId) => ({
}, doinsert = (fid, storeId) => ({
totalCard: [
//物料详情
{
......@@ -949,8 +951,9 @@ const one = {
},
],
expandable: {
expandedRowRender: record => <EditUpload record={record} fid={fid} storeId={storeId}/>,
}
expandedRowRender: record => <EditUpload record={record} fid={fid} storeId={storeId} />,
},
rowKey: "id"
},
],
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment