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
f78c7d70
Commit
f78c7d70
authored
Jul 19, 2022
by
左玲玲
😬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1605
parent
36e15889
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
7 deletions
+22
-7
index.jsx
src/components/EditTable/index.jsx
+1
-3
global.less
src/global.less
+3
-0
fields.js
src/pages/insertstore/Instore/fields.js
+18
-4
No files found.
src/components/EditTable/index.jsx
View file @
f78c7d70
...
...
@@ -79,11 +79,8 @@ const EditTable = ({
parames
[
it
]
=
params
[
it
]
}
})
if
(
ifs
)
{
//值未变化
}
else
{
let
res
=
await
database
(
parames
);
newvalue
=
newvalue
.
map
((
it
,
i
)
=>
{
...
...
@@ -92,6 +89,7 @@ const EditTable = ({
let
result
=
res
?.
data
?.
data
??
{}
it
[
items
]
=
result
[
effectresult
[
items
]];
})
}
else
{
}
editorFormRef
.
current
?.
setRowData
?.(
i
,
it
)
return
it
...
...
src/global.less
View file @
f78c7d70
...
...
@@ -338,6 +338,9 @@ table {
flex:1
}
}
.ant-input-number-affix-wrapper{
width: 100% !important;
}
@media all {
.page-break {
...
...
src/pages/insertstore/Instore/fields.js
View file @
f78c7d70
...
...
@@ -177,7 +177,9 @@ const one = {
params
:
{
"materieId"
:
"linked"
},
effectresult
:
{
"productionUnit"
:
"productionUnit"
,
//key 为列表更新值 value为response 返回值
"productionUnitName"
:
"productionUnitName"
"productionUnitName"
:
"productionUnitName"
,
"materieControlNo"
:
"materialCode"
,
"instroeNum"
:
"instroeNum"
}
}
},
...
...
@@ -216,6 +218,7 @@ const one = {
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}],
};
},
valueType
:
"digit"
},
{
"title"
:
"单位"
,
...
...
@@ -312,7 +315,9 @@ const one = {
params
:
{
"materieId"
:
"linked"
},
effectresult
:
{
"productionUnit"
:
"productionUnit"
,
//key 为列表更新值 value为response 返回值
"productionUnitName"
:
"productionUnitName"
"productionUnitName"
:
"productionUnitName"
,
"materieControlNo"
:
"materialCode"
,
"instroeNum"
:
"instroeNum"
}
}
},
...
...
@@ -351,6 +356,7 @@ const one = {
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}],
};
},
valueType
:
"digit"
},
{
"title"
:
"单位"
,
...
...
@@ -431,7 +437,10 @@ const one = {
params
:
{
"materieId"
:
"linked"
},
effectresult
:
{
"productionUnit"
:
"productionUnit"
,
//key 为列表更新值 value为response 返回值
"productionUnitName"
:
"productionUnitName"
"productionUnitName"
:
"productionUnitName"
,
"materieControlNo"
:
"materialCode"
,
"instroeNum"
:
"instroeNum"
,
"supplierId"
:
"supplierId"
}
}
},
...
...
@@ -490,6 +499,7 @@ const one = {
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}],
};
},
valueType
:
"digit"
},
{
"title"
:
"单位"
,
...
...
@@ -570,7 +580,10 @@ const one = {
params
:
{
"materieId"
:
"linked"
},
effectresult
:
{
"productionUnit"
:
"productionUnit"
,
//key 为列表更新值 value为response 返回值
"productionUnitName"
:
"productionUnitName"
"productionUnitName"
:
"productionUnitName"
,
"materieControlNo"
:
"materialCode"
,
"instroeNum"
:
"instroeNum"
,
"supplierId"
:
"supplierId"
}
}
},
...
...
@@ -629,6 +642,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