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
cb70dbea
Commit
cb70dbea
authored
Jul 25, 2023
by
krysent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
parent
b5ef4290
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
mtable.jsx
src/components/AutoTable/mtable.jsx
+2
-1
index.jsx
src/pages/craft/Materiel/index.jsx
+6
-3
index.jsx
src/pages/system/Reservoir/index.jsx
+0
-3
No files found.
src/components/AutoTable/mtable.jsx
View file @
cb70dbea
...
...
@@ -5,7 +5,7 @@ import { Tooltip } from "antd";
import
{
doFetch
}
from
"@/utils/doFetch"
;
import
{
useAsyncEffect
}
from
"ahooks"
;
import
bodyParse
from
"@/utils/bodyParse"
;
import
{
history
}
from
"umi"
;
const
Mtable
=
(
props
)
=>
{
const
{
actionRef
,
//表格动作
...
...
@@ -185,6 +185,7 @@ const Mtable = (props) => {
//调用重新渲染表格
useAsyncEffect
(
async
()
=>
{
console
.
log
(
history
?.
location
?.
pathname
);
await
initDrage
();
},
[
columns
,
extraparams
,
path
,
activeTabKey
,
refreshDep
]);
...
...
src/pages/craft/Materiel/index.jsx
View file @
cb70dbea
...
...
@@ -439,9 +439,12 @@ const Materiel = (props) => {
)
{
defaultFields
[
i
].
required
=
false
;
}
// if (i == "issueType")
{
// defaultFields[i].value = 1;
//
}
if
(
i
==
"materieControl"
)
{
defaultFields
[
i
].
value
=
1
;
}
if
(
i
==
"issueType"
)
{
defaultFields
[
i
].
value
=
2
;
}
if
(
i
==
"materieTypeId"
)
{
defaultFields
[
i
].
value
=
materieTypeId
==
"00000000"
?
null
:
materieTypeId
;
...
...
src/pages/system/Reservoir/index.jsx
View file @
cb70dbea
...
...
@@ -229,9 +229,6 @@ const Materiel = (props) => {
valueType
:
'select'
,
options
:
{
database
:
storeselectionBoxAll
,
params
:
{
factoryId
:
"linked"
,
},
},
},
{
...
...
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