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
908efcc5
Commit
908efcc5
authored
Jul 05, 2022
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zxcdf
parent
1a10d08a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
23 deletions
+42
-23
Index.jsx
src/pages/craft/Materiel/Index.jsx
+7
-7
detailTotalCard.js
src/utils/detailTotalCard.js
+35
-16
No files found.
src/pages/craft/Materiel/Index.jsx
View file @
908efcc5
...
...
@@ -26,13 +26,13 @@ const initState = {
commonFields
:
{},
defaultCommonFields
:
[],
},
otherBasic
=
{
materieCode
:
"物料编号"
,
materieName
:
"物料名称"
,
materieTypeName
:
"物料类型"
,
productionUnitName
:
"生产单位(主)"
,
processLineName
:
"工艺路线"
,
};
otherBasic
=
{
materieCode
:
"物料编号"
,
materieName
:
"物料名称"
,
materieTypeName
:
"物料类型"
,
productionUnitName
:
"生产单位(主)"
,
processLineName
:
"工艺路线"
,
};
function
reducer
(
state
,
action
)
{
let
{
type
}
=
action
,
newState
=
{};
...
...
src/utils/detailTotalCard.js
View file @
908efcc5
...
...
@@ -613,7 +613,7 @@ const materielDetail = [
cardTitle
:
"基本信息"
,
itemData
:
[
{
title
:
"物料编
号
"
,
title
:
"物料编
码
"
,
key
:
"materieCode"
,
},
{
...
...
@@ -621,37 +621,56 @@ const materielDetail = [
key
:
"materieName"
,
},
{
title
:
"物料
类别
"
,
key
:
"materie
Type
Name"
,
title
:
"物料
管控
"
,
key
:
"materie
Control
Name"
,
},
{
title
:
"
生产单位(主)
"
,
key
:
"
productionUnitName
"
,
title
:
"
库存下限
"
,
key
:
"
inventoryMin
"
,
},
{
title
:
"
工艺线路
"
,
key
:
"
processLineName
"
,
title
:
"
库存上限
"
,
key
:
"
inventoryMax
"
,
},
{
title
:
"
物料管控
"
,
key
:
"
materialControlName
"
,
title
:
"
库存单位
"
,
key
:
"
productionUnit
"
,
},
{
title
:
"
序列号规则
"
,
key
:
"
serialNumberRuleName
"
,
title
:
"
保质期
"
,
key
:
"
qualityGuaranteePeriod
"
,
},
{
title
:
"
标签模板
"
,
key
:
"
labelTemplat
eName"
,
title
:
"
发料类型
"
,
key
:
"
issueTyp
eName"
,
},
],
},
{
cardTitle
:
"单位转换设置"
,
itemData
:
[
{
title
:
"描述
"
,
key
:
"remark
"
,
key
:
"materieProductUnitList
"
,
type
:
"table
"
,
col
:
{
span
:
24
},
columns
:
[
{
title
:
"辅助单位"
,
dataIndex
:
"productionUnit"
,
key
:
"productionUnit"
,
search
:
false
,
},
{
title
:
"转换比"
,
dataIndex
:
"conversionRate"
,
key
:
"conversionRate"
,
search
:
false
,
width
:
200
},
],
},
],
},
];
const
shiftgroupDetail
=
[
//班组信息详情
...
...
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