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
9e0003e8
Commit
9e0003e8
authored
Jul 25, 2023
by
krysent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
parent
cb70dbea
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
63 additions
and
39 deletions
+63
-39
ewm.png
public/ewm.png
+0
-0
mtable.jsx
src/components/AutoTable/mtable.jsx
+4
-4
index.jsx
src/components/InitForm/index.jsx
+9
-1
fields.js
src/pages/craft/Materiel/fields.js
+1
-1
index.jsx
src/pages/craft/Materiel/index.jsx
+8
-27
fields.js
src/pages/system/Reservoir/fields.js
+17
-0
index.jsx
src/pages/system/Reservoir/index.jsx
+19
-2
index.jsx
src/pages/system/Staff/index.jsx
+2
-0
fields.js
src/pages/system/Station/fields.js
+3
-4
No files found.
public/ewm.png
View replaced file @
cb70dbea
View file @
9e0003e8
56.7 KB
|
W:
|
H:
20 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/AutoTable/mtable.jsx
View file @
9e0003e8
...
...
@@ -184,11 +184,11 @@ const Mtable = (props) => {
};
//调用重新渲染表格
use
Async
Effect
(
async
()
=>
{
console
.
log
(
history
?.
location
?.
pathname
);
useEffect
(
async
()
=>
{
//
console.log(history?.location?.pathname);
await
initDrage
();
},
[
columns
,
extraparams
,
path
,
activeTabKey
,
refreshDep
]);
},
[]);
// columns, extraparams, path, activeTabKey, refreshDep
//缩放表格
const
handleResize
=
(
index
)
=>
...
...
src/components/InitForm/index.jsx
View file @
9e0003e8
...
...
@@ -142,6 +142,9 @@ let InitForm = ({
[
ind
,
cind
]
=
useState
(
0
);
form
=
formRef
?
formRef
:
form
;
useEffect
(()
=>
{
let
Doms
=
[],
klink
=
{},
...
...
@@ -1249,7 +1252,12 @@ let InitForm = ({
}
else
if
(
item
.
type
==
"split"
)
{
return
!
extraprops
.
hides
?
(
<
Col
key=
{
i
}
{
...
getCol
(
item
.
col
)}
>
<
Divider
orientation=
"left"
style=
{
{
fontWeight
:
600
,
fontSize
:
14
}
}
>
{
item
.
title
}
</
Divider
>
<
Divider
orientation=
"left"
style=
{
{
fontWeight
:
600
,
fontSize
:
14
}
}
>
{
item
.
title
}
</
Divider
>
</
Col
>
)
:
null
;
}
...
...
src/pages/craft/Materiel/fields.js
View file @
9e0003e8
...
...
@@ -104,7 +104,7 @@ export default {
unilateralThickness
:
{
value
:
0
,
type
:
"inputnumber"
,
title
:
"
宽
度"
,
title
:
"
单边厚
度"
,
name
:
[
"unilateralThickness"
],
required
:
false
,
precision
:
3
,
...
...
src/pages/craft/Materiel/index.jsx
View file @
9e0003e8
...
...
@@ -255,15 +255,10 @@ const Materiel = (props) => {
key
:
"sheetThickness"
,
},
{
title
:
"
宽
度"
,
title
:
"
单边厚
度"
,
dataIndex
:
"unilateralThickness"
,
key
:
"unilateralThickness"
,
},
{
title
:
"牌号"
,
dataIndex
:
"shopSign"
,
key
:
"shopSign"
,
},
{
title
:
"默认库区"
,
...
...
@@ -370,27 +365,13 @@ const Materiel = (props) => {
formRef
.
validateFields
()
.
then
((
firstValues
)
=>
{
formRefs
.
validateFields
()
.
then
((
secondFields
)
=>
{
let
secondFieldsKeys
=
Object
.
keys
(
secondFields
);
let
materieProductUnitList
=
firstValues
?.
materieProductUnitList
?.
map
((
it
)
=>
{
return
{
productionUnit
:
it
.
productionUnit
,
conversionRate
:
it
.
conversionRate
,
};
});
params
=
{
...
firstValues
,
...
difrid
,
materieProductUnitList
,
};
url
=
"/ngic-workmanship/pmMaterie/save"
;
run
({
url
,
params
});
})
.
catch
((
error
)
=>
{});
console
.
log
(
"1231231"
,
firstValues
);
params
=
{
...
firstValues
,
...
difrid
,
};
url
=
"/ngic-workmanship/pmMaterie/save"
;
run
({
url
,
params
});
})
.
catch
((
error
)
=>
{});
}
else
{
...
...
src/pages/system/Reservoir/fields.js
View file @
9e0003e8
...
...
@@ -82,6 +82,23 @@ export default {
},
],
},
isMovePosition
:
{
value
:
1
,
type
:
"radio"
,
name
:
[
"isMovePosition"
],
title
:
"是否为移库库位"
,
required
:
false
,
options
:
[
{
label
:
"是"
,
value
:
1
,
},
{
label
:
"否"
,
value
:
0
,
},
],
},
wzpz
:
{
type
:
"split"
,
title
:
"位置配置"
,
...
...
src/pages/system/Reservoir/index.jsx
View file @
9e0003e8
...
...
@@ -11,7 +11,7 @@ import InitForm from "@/components/InitForm";
import
moment
from
"moment"
;
import
TreeRender
from
"@/components/TreeRender"
;
import
{
useEffect
}
from
"react"
;
import
{
storeselectionBoxAll
}
from
'@/services/system.js'
import
{
storeselectionBoxAll
}
from
"@/services/system.js"
;
const
initState
=
{
vs
:
false
,
...
...
@@ -226,7 +226,7 @@ const Materiel = (props) => {
title
:
"所属仓库"
,
dataIndex
:
"storeName"
,
key
:
"storeName"
,
valueType
:
'select'
,
valueType
:
"select"
,
options
:
{
database
:
storeselectionBoxAll
,
},
...
...
@@ -284,6 +284,23 @@ const Materiel = (props) => {
title
:
"更新时间"
,
dataIndex
:
"updateTime"
,
key
:
"updateTime"
,
search
:
false
},
{
title
:
"是否为移库仓位"
,
dataIndex
:
"isMovePosition"
,
key
:
"isMovePosition"
,
valueType
:
'select'
,
options
:
[{
value
:
'1'
,
label
:
'是'
},
{
value
:
'2'
,
label
:
'否'
}],
render
:
(
_
,
row
)
=>
{
return
row
?.
isMovePosition
?
"是"
:
"否"
;
},
},
{
...
...
src/pages/system/Staff/index.jsx
View file @
9e0003e8
...
...
@@ -109,6 +109,7 @@ function reducer(state, action) {
}
const
Staff
=
(
props
)
=>
{
let
actionRef
=
useRef
(),
ChildRef
=
null
;
function
reload
()
{
...
...
@@ -476,6 +477,7 @@ const Staff = (props) => {
新增
</
Button
>,
];
return
(
<
div
>
{
extraparams
.
orderType
==
"1"
&&
(
...
...
src/pages/system/Station/fields.js
View file @
9e0003e8
...
...
@@ -32,11 +32,11 @@ export default {
},
linked
:
true
,
},
remark
:
{
status
:
{
value
:
null
,
type
:
"select"
,
title
:
"启用状态"
,
name
:
[
"
remark
"
],
name
:
[
"
status
"
],
required
:
false
,
options
:
[
{
...
...
@@ -45,10 +45,9 @@ export default {
},
{
label
:
"停用"
,
value
:
2
,
value
:
0
,
},
],
col
:
{
span
:
24
},
},
remark
:
{
value
:
null
,
...
...
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