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
912bdf58
Commit
912bdf58
authored
Aug 25, 2022
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
we34
parent
406ebf91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
24 deletions
+26
-24
mtable.jsx
src/components/AutoTable/mtable.jsx
+25
-23
index.jsx
src/pages/historystore/Histore/index.jsx
+1
-1
No files found.
src/components/AutoTable/mtable.jsx
View file @
912bdf58
...
...
@@ -273,29 +273,31 @@ const Mtable = (props) => {
columnsState=
{
{
value
:
valueColumns
,
onChange
:
(
val
,
state
)
=>
{
let
submitdata
=
{
...
valueColumns
,
...
val
,
};
setcolumnes
(
submitdata
);
doFetch
({
url
:
"/ngic-base-business/paFieldScene/save"
,
params
:
{
sceneMark
:
extraparams
?
path
+
bodyParse
(
extraparams
)
:
activeTabKey
?
path
+
activeTabKey
:
path
,
controList
:
Object
.
keys
(
submitdata
).
map
((
it
)
=>
{
return
{
fieldKey
:
it
,
fieldWidth
:
submitdata
[
it
].
width
,
fieldOrder
:
submitdata
[
it
].
order
,
fieldFixed
:
submitdata
[
it
].
fixed
,
fieldShow
:
submitdata
[
it
].
show
,
};
}),
},
setcolumnes
((
s
)
=>
{
let
submitdata
=
{
...
s
,
...
val
,
};
doFetch
({
url
:
"/ngic-base-business/paFieldScene/save"
,
params
:
{
sceneMark
:
extraparams
?
path
+
bodyParse
(
extraparams
)
:
activeTabKey
?
path
+
activeTabKey
:
path
,
controList
:
Object
.
keys
(
submitdata
).
map
((
it
)
=>
{
return
{
fieldKey
:
it
,
fieldWidth
:
submitdata
[
it
].
width
,
fieldOrder
:
submitdata
[
it
].
order
,
fieldFixed
:
submitdata
[
it
].
fixed
,
fieldShow
:
submitdata
[
it
].
show
,
};
}),
},
});
return
submitdata
;
});
},
}
}
...
...
src/pages/historystore/Histore/index.jsx
View file @
912bdf58
...
...
@@ -62,7 +62,7 @@ function Instore(props) {
{
title
:
"出库仓库"
,
dataIndex
:
"storeName"
,
key
:
"store
Name
"
,
key
:
"store
Id
"
,
fieldProps
:
{
allowClear
:
true
,
showSearch
:
true
,
...
...
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