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
4d8abce0
Commit
4d8abce0
authored
Aug 21, 2023
by
krysent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
集成
parent
1de335aa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
184 additions
and
184 deletions
+184
-184
fields.js
src/pages/insertstore/Instore/fields.js
+41
-41
index.jsx
src/pages/insertstore/Otherinstore/index.jsx
+45
-45
index.jsx
src/pages/outsetstore/Otheroutstore/index.jsx
+52
-52
fields.js
src/pages/outsetstore/Outstore/fields.js
+46
-46
No files found.
src/pages/insertstore/Instore/fields.js
View file @
4d8abce0
...
...
@@ -828,47 +828,47 @@ const one = {
search
:
false
,
},
],
expandable
:
{
defaultExpandAllRows
:
true
,
expandedRowRender
:
(
record
)
=>
(
<
Table
style
=
{{
marginLeft
:
48
}}
columns
=
{[
{
title
:
"库位名称"
,
dataIndex
:
"storePositionName"
,
key
:
"storePositionName"
,
search
:
false
,
formItemProps
:
()
=>
{
return
{
rules
:
[{
required
:
true
,
message
:
"此项为必填项"
}],
};
},
},
{
title
:
"上架数量"
,
dataIndex
:
"instroeNum"
,
key
:
"instroeNum"
,
search
:
false
,
formItemProps
:
()
=>
{
return
{
rules
:
[{
required
:
true
,
message
:
"此项为必填项"
}],
};
},
},
]}
dataSource
=
{
record
.
uploadList
}
pagination
=
{
false
}
/
>
),
},
pagination
:
"false"
,
rowKey
:
"id"
,
rowSelection
:
{
onChange
:
(
selectedRowKeys
,
selectedRows
)
=>
{
setselected
(
selectedRows
);
},
},
//
expandable: {
//
defaultExpandAllRows: true,
//
expandedRowRender: (record) => (
//
<Table
//
style={{ marginLeft: 48 }}
//
columns={[
//
{
//
title: "库位名称",
//
dataIndex: "storePositionName",
//
key: "storePositionName",
//
search: false,
//
formItemProps: () => {
//
return {
//
rules: [{ required: true, message: "此项为必填项" }],
//
};
//
},
//
},
//
{
//
title: "上架数量",
//
dataIndex: "instroeNum",
//
key: "instroeNum",
//
search: false,
//
formItemProps: () => {
//
return {
//
rules: [{ required: true, message: "此项为必填项" }],
//
};
//
},
//
},
//
]}
//
dataSource={record.uploadList}
//
pagination={false}
//
/>
//
),
//
},
//
pagination: "false",
//
rowKey: "id",
//
rowSelection: {
//
onChange: (selectedRowKeys, selectedRows) => {
//
setselected(selectedRows);
//
},
//
},
},
],
},
...
...
src/pages/insertstore/Otherinstore/index.jsx
View file @
4d8abce0
...
...
@@ -554,51 +554,51 @@ function Instore(props) {
search
:
false
,
},
],
expandable
:
{
defaultExpandAllRows
:
true
,
expandedRowRender
:
(
record
)
=>
(
<
Table
style=
{
{
marginLeft
:
48
}
}
columns=
{
[
{
title
:
"库位名称"
,
dataIndex
:
"storePositionName"
,
key
:
"storePositionName"
,
search
:
false
,
formItemProps
:
()
=>
{
return
{
rules
:
[
{
required
:
true
,
message
:
"此项为必填项"
},
],
};
},
},
{
title
:
"上架数量"
,
dataIndex
:
"instroeNum"
,
key
:
"instroeNum"
,
search
:
false
,
formItemProps
:
()
=>
{
return
{
rules
:
[
{
required
:
true
,
message
:
"此项为必填项"
},
],
};
},
},
]
}
dataSource=
{
record
.
uploadList
}
pagination=
{
false
}
/>
),
},
pagination
:
"false"
,
rowKey
:
"id"
,
rowSelection
:
{
onChange
:
(
selectedRowKeys
,
selectedRows
)
=>
{
setselected
(
selectedRows
);
},
},
//
expandable: {
//
defaultExpandAllRows: true,
//
expandedRowRender: (record) => (
//
<Table
//
style={{ marginLeft: 48 }}
//
columns={[
//
{
//
title: "库位名称",
//
dataIndex: "storePositionName",
//
key: "storePositionName",
//
search: false,
//
formItemProps: () => {
//
return {
//
rules: [
//
{ required: true, message: "此项为必填项" },
//
],
//
};
//
},
//
},
//
{
//
title: "上架数量",
//
dataIndex: "instroeNum",
//
key: "instroeNum",
//
search: false,
//
formItemProps: () => {
//
return {
//
rules: [
//
{ required: true, message: "此项为必填项" },
//
],
//
};
//
},
//
},
//
]}
//
dataSource={record.uploadList}
//
pagination={false}
//
/>
//
),
//
},
//
pagination: "false",
//
rowKey: "id",
//
rowSelection: {
//
onChange: (selectedRowKeys, selectedRows) => {
//
setselected(selectedRows);
//
},
//
},
},
],
},
...
...
src/pages/outsetstore/Otheroutstore/index.jsx
View file @
4d8abce0
...
...
@@ -320,58 +320,58 @@ const defaultFields = {
],
pagination
:
"false"
,
rowKey
:
"id"
,
expandable
:
{
expandedRowRender
:
(
record
)
=>
(
<
Table
style=
{
{
marginLeft
:
48
}
}
columns=
{
[
{
title
:
"库位名称"
,
dataIndex
:
"storePositionName"
,
key
:
"storePositionName"
,
search
:
false
,
formItemProps
:
()
=>
{
return
{
rules
:
[{
required
:
true
,
message
:
"此项为必填项"
}],
};
},
},
{
title
:
"批次号"
,
dataIndex
:
"materieControlNo"
,
key
:
"materieControlNo"
,
search
:
false
,
},
{
title
:
"供应商编号-名称"
,
dataIndex
:
"supplierNo"
,
key
:
"supplierNo"
,
search
:
false
,
render
:
(
dom
,
row
)
=>
{
return
(
(
row
?.
supplierNo
??
""
)
+
" - "
+
(
row
?.
supplierName
??
""
)
);
},
},
{
title
:
"下架数量"
,
dataIndex
:
"outstroeNum"
,
key
:
"outstroeNum"
,
search
:
false
,
},
]
}
dataSource=
{
record
.
downloadList
}
pagination=
{
false
}
/>
),
},
rowSelection
:
{
onChange
:
(
selectedRowKeys
,
selectedRows
)
=>
{
setselected
(
selectedRows
);
},
},
//
expandable: {
//
expandedRowRender: (record) => (
//
<Table
//
style={{ marginLeft: 48 }}
//
columns={[
//
{
//
title: "库位名称",
//
dataIndex: "storePositionName",
//
key: "storePositionName",
//
search: false,
//
formItemProps: () => {
//
return {
//
rules: [{ required: true, message: "此项为必填项" }],
//
};
//
},
//
},
//
{
//
title: "批次号",
//
dataIndex: "materieControlNo",
//
key: "materieControlNo",
//
search: false,
//
},
//
{
//
title: "供应商编号-名称",
//
dataIndex: "supplierNo",
//
key: "supplierNo",
//
search: false,
//
render: (dom, row) => {
//
return (
//
(row?.supplierNo ?? "") +
//
" - " +
//
(row?.supplierName ?? "")
//
);
//
},
//
},
//
{
//
title: "下架数量",
//
dataIndex: "outstroeNum",
//
key: "outstroeNum",
//
search: false,
//
},
//
]}
//
dataSource={record.downloadList}
//
pagination={false}
//
/>
//
),
//
},
//
rowSelection: {
//
onChange: (selectedRowKeys, selectedRows) => {
//
setselected(selectedRows);
//
},
//
},
},
],
},
...
...
src/pages/outsetstore/Outstore/fields.js
View file @
4d8abce0
...
...
@@ -737,53 +737,53 @@ const one = {
],
pagination
:
"false"
,
rowKey
:
"id"
,
expandable
:
{
expandedRowRender
:
record
=>
<
Table
style
=
{{
marginLeft
:
48
}}
columns
=
{[
{
title
:
"库位名称"
,
dataIndex
:
"storePositionName"
,
key
:
"storePositionName"
,
search
:
false
,
"formItemProps"
:
()
=>
{
return
{
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}],
};
},
},
{
title
:
"批次号"
,
dataIndex
:
"materieControlNo"
,
key
:
"materieControlNo"
,
search
:
false
,
},
{
title
:
"供应商编号-名称"
,
dataIndex
:
"supplierNo"
,
key
:
"supplierNo"
,
search
:
false
,
render
:
(
dom
,
row
)
=>
{
return
(
row
?.
supplierNo
??
''
)
+
" - "
+
(
row
?.
supplierName
??
''
)
}
},
{
title
:
"下架数量"
,
dataIndex
:
"outstroeNum"
,
key
:
"outstroeNum"
,
search
:
false
,
}
//
expandable: {
//
expandedRowRender: record => <Table
//
style={{ marginLeft: 48 }}
//
columns={[
//
{
//
title: "库位名称",
//
dataIndex: "storePositionName",
//
key: "storePositionName",
//
search: false,
//
"formItemProps": () => {
//
return {
//
rules: [{ required: true, message: '此项为必填项' }],
//
};
//
},
//
},
//
{
//
title: "批次号",
//
dataIndex: "materieControlNo",
//
key: "materieControlNo",
//
search: false,
//
},
//
{
//
title: "供应商编号-名称",
//
dataIndex: "supplierNo",
//
key: "supplierNo",
//
search: false,
//
render: (dom, row) => {
//
return (row?.supplierNo ?? '') + " - " + (row?.supplierName ?? '')
//
}
//
},
//
{
//
title: "下架数量",
//
dataIndex: "outstroeNum",
//
key: "outstroeNum",
//
search: false,
//
}
]}
dataSource
=
{
record
.
downloadList
}
pagination
=
{
false
}
/>
,
},
rowSelection
:
{
onChange
:
(
selectedRowKeys
,
selectedRows
)
=>
{
setselected
(
selectedRows
)
},
}
//
]}
//
dataSource={record.downloadList}
//
pagination={false}
//
/>,
//
},
//
rowSelection: {
//
onChange: (selectedRowKeys, selectedRows) => {
//
setselected(selectedRows)
//
},
//
}
},
],
},
...
...
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