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
932cd13d
Commit
932cd13d
authored
Aug 01, 2023
by
krysent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
来料入库
parent
73b4032d
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
2480 additions
and
1996 deletions
+2480
-1996
fields.js
src/pages/Task/fields.js
+701
-612
fields.js
src/pages/insertstore/Instore/fields.js
+727
-632
index.jsx
src/pages/insertstore/Instore/index.jsx
+4
-17
fields.js
src/pages/insertstore/Otherinstore/fields.js
+1
-1
index.jsx
src/pages/insertstore/Otherinstore/index.jsx
+18
-17
fields.js
src/pages/outsetstore/Otheroutstore/fields.js
+700
-613
index.jsx
src/pages/outsetstore/Otheroutstore/index.jsx
+327
-103
fields.js
src/pages/outsetstore/Outstore/fields.js
+2
-1
No files found.
src/pages/Task/fields.js
View file @
932cd13d
This diff is collapsed.
Click to expand it.
src/pages/insertstore/Instore/fields.js
View file @
932cd13d
This diff is collapsed.
Click to expand it.
src/pages/insertstore/Instore/index.jsx
View file @
932cd13d
...
...
@@ -41,8 +41,6 @@ const keytoval = {
four
:
"其他出库"
,
};
function
Outstore
(
props
)
{
const
{
initialState
,
setInitialState
}
=
useModel
(
"@@initialState"
);
const
[
activeTabKey
,
onTabChange
]
=
useState
(
"1"
);
...
...
@@ -160,10 +158,6 @@ function Outstore(props) {
label
:
"退料入库"
,
value
:
"3"
,
},
{
label
:
"其他入库"
,
value
:
"4"
,
},
],
},
{
...
...
@@ -194,6 +188,7 @@ function Outstore(props) {
dataIndex
:
"createTime"
,
key
:
"createTimeList"
,
valueType
:
"dateRange"
,
search
:
false
,
formItemProps
:
{
name
:
"createTimeList"
,
},
...
...
@@ -205,12 +200,8 @@ function Outstore(props) {
valueType
:
"select"
,
options
:
[
{
label
:
"待下架"
,
value
:
"0"
,
},
{
label
:
"下架中"
,
value
:
"2"
,
label
:
"执行中"
,
value
:
"7"
,
},
{
label
:
"待分配"
,
...
...
@@ -278,10 +269,6 @@ function Outstore(props) {
label
:
"退料入库"
,
value
:
"3"
,
},
{
label
:
"其他入库"
,
value
:
"4"
,
},
],
},
{
...
...
@@ -297,7 +284,6 @@ function Outstore(props) {
{
title
:
"备注"
,
dataIndex
:
"remark"
,
search
:
false
,
key
:
"remark"
,
search
:
false
,
},
...
...
@@ -311,6 +297,7 @@ function Outstore(props) {
title
:
"创建时间"
,
dataIndex
:
"createTime"
,
key
:
"createTimeList"
,
search
:
false
,
valueType
:
"dateRange"
,
formItemProps
:
{
name
:
"createTimeList"
,
...
...
src/pages/insertstore/Otherinstore/fields.js
View file @
932cd13d
...
...
@@ -735,7 +735,7 @@ const one = {
},
{
cardTitle
:
"物料信息列表"
,
extraContent
:
dom
,
extraContent
:
""
,
itemData
:
[
{
key
:
"materialList"
,
...
...
src/pages/insertstore/Otherinstore/index.jsx
View file @
932cd13d
import
React
,
{
useEffect
,
useMemo
,
useRef
,
useState
}
from
"react"
;
import
{
Dropdown
,
Menu
,
Button
,
message
}
from
"antd"
;
import
{
Dropdown
,
Menu
,
Button
,
message
,
Table
}
from
"antd"
;
import
AutoTable
from
"@/components/AutoTable"
;
// import defaultFields from "./fields";
import
{
doFetch
}
from
"@/utils/doFetch"
;
...
...
@@ -85,7 +85,7 @@ const EditUpload = ({ record, fid, storeId }) => {
return
(
<
EditableProTable
rowKey=
{
"id"
}
maxLength=
{
1
000
}
maxLength=
{
1
}
style=
{
{
marginLeft
:
48
}
}
columns=
{
[
{
...
...
@@ -100,7 +100,7 @@ const EditUpload = ({ record, fid, storeId }) => {
valueType
:
"select"
,
request
:
async
(
params
)
=>
{
let
res
=
await
doFetch
({
url
:
"/ngic-auth/sysStorePosition/query
ByStoreId/s
election"
,
url
:
"/ngic-auth/sysStorePosition/query
UseAbleS
election"
,
params
:
{
storeId
:
params
.
storeId
},
});
return
res
?.
data
?.
dataList
;
...
...
@@ -403,7 +403,7 @@ const defaultFields = {
},
{
cardTitle
:
"物料信息列表"
,
extraContent
:
dom
,
extraContent
:
""
,
itemData
:
[
{
key
:
"materialList"
,
...
...
@@ -663,9 +663,9 @@ const defaultFields = {
],
},
{
cardTitle
:
"物料信息
列表
"
,
cardTitle
:
"物料信息"
,
extra
:
true
,
extrapath
:
"/ngic-workmanship/wmsMaterieInstore/upload"
,
extrapath
:
"/ngic-workmanship/wmsMaterieInstore/upload
OtherInstore
"
,
extrakey
:
"submit"
,
//redux key
itemData
:
[
{
...
...
@@ -696,7 +696,7 @@ const defaultFields = {
},
},
{
title
:
"批次号
/SN号
"
,
title
:
"批次号"
,
dataIndex
:
"materieControlNo"
,
key
:
"materieControlNo"
,
search
:
false
,
...
...
@@ -802,6 +802,7 @@ function Instore(props) {
title
:
"入库单号"
,
dataIndex
:
"materieInstoreNo"
,
key
:
"materieInstoreNo"
,
search
:
false
,
render
:
(
dom
,
record
)
=>
{
return
(
<
a
...
...
@@ -841,6 +842,7 @@ function Instore(props) {
title
:
"入库类型"
,
dataIndex
:
"instoreTypeName"
,
key
:
"instoreType"
,
search
:
false
,
valueType
:
"select"
,
options
:
[
{
...
...
@@ -863,6 +865,7 @@ function Instore(props) {
},
{
title
:
"入库仓库"
,
search
:
false
,
dataIndex
:
"storeName"
,
key
:
"storeId"
,
fieldProps
:
{
...
...
@@ -879,11 +882,7 @@ function Instore(props) {
},
valueType
:
"select"
,
},
{
title
:
"相关单号"
,
dataIndex
:
"businessNo"
,
key
:
"businessNo"
,
},
{
title
:
"备注"
,
dataIndex
:
"remark"
,
...
...
@@ -893,6 +892,7 @@ function Instore(props) {
{
title
:
"创建人"
,
dataIndex
:
"createUserName"
,
search
:
false
,
key
:
"createUserName"
,
},
{
...
...
@@ -907,6 +907,7 @@ function Instore(props) {
{
title
:
"状态"
,
dataIndex
:
"statusName"
,
search
:
false
,
key
:
"status"
,
valueType
:
"select"
,
options
:
[
...
...
@@ -1015,6 +1016,7 @@ function Instore(props) {
{
title
:
"入库类型"
,
dataIndex
:
"instoreTypeName"
,
search
:
false
,
key
:
"instoreType"
,
valueType
:
"select"
,
options
:
[
...
...
@@ -1038,6 +1040,7 @@ function Instore(props) {
},
{
title
:
"入库仓库"
,
search
:
false
,
dataIndex
:
"storeName"
,
key
:
"storeId"
,
fieldProps
:
{
...
...
@@ -1054,11 +1057,7 @@ function Instore(props) {
},
valueType
:
"select"
,
},
{
title
:
"相关单号"
,
dataIndex
:
"businessNo"
,
key
:
"businessNo"
,
},
{
title
:
"备注"
,
dataIndex
:
"remark"
,
...
...
@@ -1066,6 +1065,7 @@ function Instore(props) {
search
:
false
,
},
{
search
:
false
,
title
:
"创建人"
,
dataIndex
:
"createUserName"
,
key
:
"createUserName"
,
...
...
@@ -1091,6 +1091,7 @@ function Instore(props) {
{
title
:
"状态"
,
dataIndex
:
"statusName"
,
search
:
false
,
key
:
"status"
,
valueType
:
"select"
,
options
:
[
...
...
src/pages/outsetstore/Otheroutstore/fields.js
View file @
932cd13d
This diff is collapsed.
Click to expand it.
src/pages/outsetstore/Otheroutstore/index.jsx
View file @
932cd13d
This diff is collapsed.
Click to expand it.
src/pages/outsetstore/Outstore/fields.js
View file @
932cd13d
...
...
@@ -699,7 +699,8 @@ const one = {
},
{
cardTitle
:
"物料信息列表"
,
extraContent
:
dom
,
extraContent
:
""
,
itemData
:
[
{
key
:
"materialList"
,
...
...
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