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
4586c6c8
Commit
4586c6c8
authored
Jul 25, 2022
by
左玲玲
😬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
缓存
parent
2c455fc1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
12 deletions
+17
-12
fields.js
src/pages/insertstore/Instore/fields.js
+5
-5
index.jsx
src/pages/insertstore/Instore/index.jsx
+5
-3
fields.js
src/pages/outsetstore/Outstore/fields.js
+4
-3
index.jsx
src/pages/outsetstore/Outstore/index.jsx
+3
-1
No files found.
src/pages/insertstore/Instore/fields.js
View file @
4586c6c8
...
...
@@ -37,8 +37,7 @@ const EditUpload = ({ record, fid, storeId }) => {
}
})
})
},
[
value
])
},
[
value
]);
return
<
EditableProTable
rowKey
=
{
"id"
}
maxLength
=
{
1000
}
...
...
@@ -50,13 +49,14 @@ const EditUpload = ({ record, fid, storeId }) => {
key
:
"storePositionId"
,
search
:
false
,
valueType
:
"select"
,
request
:
async
()
=>
{
let
res
=
await
doFetch
({
url
:
"/ngic-auth/sysStorePosition/queryByStoreId/selection"
,
params
:
{
storeId
:
storeId
}
});
request
:
async
(
params
)
=>
{
let
res
=
await
doFetch
({
url
:
"/ngic-auth/sysStorePosition/queryByStoreId/selection"
,
params
});
return
res
?.
data
?.
dataList
},
editable
:
(
text
,
record
,
index
)
=>
{
return
!
record
.
materieOutstoreDetailId
}
},
params
:{
storeId
:
storeId
}
},
{
title
:
"上架数量"
,
...
...
src/pages/insertstore/Instore/index.jsx
View file @
4586c6c8
...
...
@@ -63,6 +63,7 @@ function Instore(props) {
setdrawprops
(
s
=>
({
...
s
,
visible
:
false
,
fields
:{}
}))
},
fields
:
{},
...
...
@@ -79,7 +80,8 @@ function Instore(props) {
message
.
success
(
"操作成功"
);
setdrawprops
(
s
=>
({
...
s
,
visible
:
false
visible
:
false
,
fields
:{}
}))
}
...
...
@@ -209,10 +211,10 @@ function Instore(props) {
//查看详情 props
val
:
"detail"
,
title
:
`上架采集`
,
...
extra
,
totalPath
:
"/ngic-workmanship/wmsMaterieInstore/getInStoreInfoById"
,
totalParams
:
{
id
:
record
.
id
},
extra
:
null
extra
:
null
,
...
extra
,
}))
setInitialState
(
s
=>
{
return
({
...
...
src/pages/outsetstore/Outstore/fields.js
View file @
4586c6c8
...
...
@@ -64,13 +64,14 @@ const EditUpload = ({ record, fid, storeId }) => {
key
:
"storePositionId"
,
search
:
false
,
valueType
:
"select"
,
request
:
async
()
=>
{
let
res
=
await
doFetch
({
url
:
"/ngic-auth/sysStorePosition/queryByStoreId/selection"
,
params
:
{
storeId
:
storeId
}
});
request
:
async
(
params
)
=>
{
let
res
=
await
doFetch
({
url
:
"/ngic-auth/sysStorePosition/queryByStoreId/selection"
,
params
});
return
res
?.
data
?.
dataList
},
editable
:
(
text
,
record
,
index
)
=>
{
return
!
record
.
materieOutstoreDetailId
}
},
params
:{
storeId
:
storeId
}
},
{
title
:
"批次号/SN号"
,
...
...
src/pages/outsetstore/Outstore/index.jsx
View file @
4586c6c8
...
...
@@ -63,6 +63,7 @@ function Outstore(props) {
setdrawprops
(
s
=>
({
...
s
,
visible
:
false
,
fields
:{}
}))
},
fields
:
{},
...
...
@@ -79,7 +80,8 @@ function Outstore(props) {
message
.
success
(
"操作成功"
);
setdrawprops
(
s
=>
({
...
s
,
visible
:
false
visible
:
false
,
fields
:{}
}))
}
...
...
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