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
3b3c9f87
Commit
3b3c9f87
authored
Jul 22, 2022
by
左玲玲
😬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下架采集
parent
db72058c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
18 deletions
+41
-18
index.jsx
src/pages/historystore/Histore/index.jsx
+7
-2
fields.js
src/pages/outsetstore/Outstore/fields.js
+34
-16
No files found.
src/pages/historystore/Histore/index.jsx
View file @
3b3c9f87
...
...
@@ -18,7 +18,7 @@ function Instore(props) {
"dataIndex"
:
"operateTime"
,
"key"
:
"operateTimeList"
,
"valueType"
:
"dateRange"
,
"render"
:
(
_
,
row
)
=>
{
return
(<
div
>
{
row
.
operateTime
}
</
div
>)
},
"render"
:
(
_
,
row
)
=>
{
return
(<
div
>
{
row
.
operateTime
}
</
div
>)
},
},
{
"title"
:
"操作人"
,
...
...
@@ -66,7 +66,12 @@ function Instore(props) {
{
"title"
:
"仓库名称"
,
"dataIndex"
:
"storeName"
,
"key"
:
"storeName"
"key"
:
"storeId"
,
options
:
{
database
:
()
=>
doFetch
({
url
:
"/ngic-auth/sysStore/selectionBox"
,
params
:
{
factoryIdList
:
[]
}
}),
params
:
{}
},
valueType
:
"select"
,
},
{
"title"
:
"库位"
,
...
...
src/pages/outsetstore/Outstore/fields.js
View file @
3b3c9f87
...
...
@@ -14,8 +14,6 @@ const EditUpload = ({ record, fid, storeId }) => {
if
(
!
value
)
{
return
}
console
.
log
(
value
);
let
newlist
=
Object
.
keys
(
value
)?.
map
?.(
it
=>
{
let
id
=
it
;
let
newArr
=
value
[
id
]?.
filter
(
it
=>
typeof
(
it
.
id
)
==
"number"
)
??
[];
...
...
@@ -23,8 +21,9 @@ const EditUpload = ({ record, fid, storeId }) => {
id
,
downloadList
:
newArr
.
map
(
its
=>
{
return
{
store
Id
:
its
?.
store
Id
,
store
PositionId
:
its
?.
storePosition
Id
,
outstroeNum
:
its
?.
outstroeNum
,
stockNum
:
its
?.
stockNum
,
remark
:
its
?.
remark
,
materieControlNo
:
its
?.
materieControlNo
}
...
...
@@ -49,12 +48,13 @@ const EditUpload = ({ record, fid, storeId }) => {
maxLength
=
{
1000
}
linkconfig
=
{{
urlchangeval
:
{
database
:
(
params
)
=>
doFetch
({
url
:
"/ngic-workmanship/wmsMaterieSto
ckStore/queryByMaterieAndStoreId
"
,
params
}),
params
:
{
"store
Id"
:
"linked"
,
materieId
:
record
.
materieId
},
database
:
(
params
)
=>
doFetch
({
url
:
"/ngic-workmanship/wmsMaterieSto
re/queryStoreOne
"
,
params
}),
params
:
{
"store
PositionId"
:
"linked"
,
materieControlNo
:
"linked"
},
effectresult
:
{
"supplierNo"
:
"supplierNo"
,
"supplierName"
:
"supplierName"
,
"productionNum"
:
"productionNum"
,
"stockNum"
:
"stockNum"
,
"materieControlNo"
:
"materieControlNo"
}
}
}}
...
...
@@ -63,7 +63,7 @@ const EditUpload = ({ record, fid, storeId }) => {
{
title
:
"库位名称"
,
dataIndex
:
"storePositionName"
,
key
:
"storeId"
,
key
:
"store
Position
Id"
,
search
:
false
,
valueType
:
"select"
,
request
:
async
()
=>
{
...
...
@@ -79,9 +79,18 @@ const EditUpload = ({ record, fid, storeId }) => {
dataIndex
:
"materieControlNo"
,
key
:
"materieControlNo"
,
search
:
false
,
valueType
:
"select"
,
request
:
async
(
params
)
=>
{
let
res
=
await
doFetch
({
url
:
"/ngic-workmanship/wmsMaterieStore/queryPCList"
,
params
:{
materieId
:
params
.
materieId
,
storePositionId
:
params
.
storePositionId
}});
return
res
?.
data
?.
dataList
},
editable
:
(
text
,
record
,
index
)
=>
{
return
!
record
.
materieOutstoreDetailId
}
},
params
:(
row
)
=>
{
return
{
materieId
:
record
.
materieId
,
storePositionId
:
row
.
storePositionId
}
},
width
:
200
},
{
title
:
"下架数量"
,
...
...
@@ -90,22 +99,27 @@ const EditUpload = ({ record, fid, storeId }) => {
search
:
false
,
editable
:
(
text
,
record
,
index
)
=>
{
return
!
record
.
materieOutstoreDetailId
}
},
valueType
:
"digit"
},
{
title
:
"供应商编号
-名称
"
,
title
:
"供应商编号"
,
dataIndex
:
"supplierNo"
,
key
:
"supplierNo"
,
search
:
false
,
readonly
:
true
,
render
:
(
dom
,
row
)
=>
{
return
(
row
?.
supplierNo
??
''
)
+
" - "
+
(
row
?.
supplierName
??
''
)
}
readonly
:
true
},
{
title
:
"供应商名称"
,
dataIndex
:
"supplierName"
,
key
:
"supplierName"
,
search
:
false
,
readonly
:
true
},
{
title
:
"库存数量"
,
dataIndex
:
"
production
Num"
,
key
:
"
production
Num"
,
dataIndex
:
"
stock
Num"
,
key
:
"
stock
Num"
,
search
:
false
,
"readonly"
:
true
,
},
...
...
@@ -234,6 +248,7 @@ const one = {
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}],
};
},
valueType
:
"digit"
},
{
"title"
:
"可用库存"
,
...
...
@@ -357,6 +372,7 @@ const one = {
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}],
};
},
valueType
:
"digit"
},
{
"title"
:
"可用库存"
,
...
...
@@ -480,6 +496,7 @@ const one = {
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}],
};
},
valueType
:
"digit"
},
{
"title"
:
"可用库存"
,
...
...
@@ -603,6 +620,7 @@ const one = {
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}],
};
},
valueType
:
"digit"
},
{
"title"
:
"可用库存"
,
...
...
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