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
fae99b52
Commit
fae99b52
authored
Aug 14, 2023
by
krysent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
parent
0de147ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
8 deletions
+15
-8
index.jsx
src/pages/insertstore/Otherinstore/index.jsx
+15
-8
No files found.
src/pages/insertstore/Otherinstore/index.jsx
View file @
fae99b52
...
...
@@ -10,6 +10,7 @@ import { useModel } from "umi";
import
PrintDom
from
"./printdom"
;
import
{
PrintQrCode
}
from
"@/components/PrintCode"
;
import
{
EditableProTable
}
from
"@ant-design/pro-table"
;
const
keytoval
=
{
one
:
1
,
two
:
2
,
...
...
@@ -257,12 +258,12 @@ function Instore(props) {
},
[
drawprops
?.
visible
]);
const
defaultFields
=
useMemo
(()
=>
{
let
option
=
{
options
:
PchList
,
allowClear
:
true
,
showSearch
:
true
,
};
console
.
log
(
"pchlist:"
,
option
);
//
let option = {
//
options: PchList,
//
allowClear: true,
//
showSearch: true,
//
};
//
console.log("pchlist:", option);
return
{
four
:
{
materieInstoreNo
:
{
...
...
@@ -339,7 +340,13 @@ function Instore(props) {
key
:
"labelId"
,
valueType
:
"select"
,
width
:
180
,
fieldProps
:
option
,
request
:
async
(
params
)
=>
{
let
res
=
await
doFetch
({
url
:
"/ngic-workmanship/wmsMaterieLabel/selectionByStatus"
,
params
:
{
status
:
"1"
},
});
return
res
?.
data
?.
dataList
;
},
formItemProps
:
()
=>
{
return
{
rules
:
[{
required
:
true
,
message
:
"此项为必填项"
}],
...
...
@@ -829,7 +836,7 @@ function Instore(props) {
],
}),
};
},
[
PchList
]);
},
[
PchList
]);
// const defaultFields = useMemo(() => {
// console.log(PchList);
...
...
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