Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wms
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
wms
Commits
36e15889
Commit
36e15889
authored
Jul 19, 2022
by
左玲玲
😬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1512
parent
8c356db4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
fields.js
src/pages/insertstore/Instore/fields.js
+12
-9
No files found.
src/pages/insertstore/Instore/fields.js
View file @
36e15889
...
...
@@ -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"
},
],
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment