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
1a10d08a
Commit
1a10d08a
authored
Jul 04, 2022
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aser
parent
3b57347f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
28 deletions
+9
-28
Index.jsx
src/pages/system/Store/Index.jsx
+4
-14
fields.js
src/pages/system/Store/fields.js
+5
-14
No files found.
src/pages/system/Store/Index.jsx
View file @
1a10d08a
...
...
@@ -107,20 +107,10 @@ const Store = (props) => {
"dataIndex"
:
"storeTypeName"
,
"key"
:
"storeTypeName"
,
"valueType"
:
"select"
,
"options"
:
[
{
"label"
:
"半成品库"
,
"value"
:
"0"
},
{
"label"
:
"成品库"
,
"value"
:
"1"
},
{
"label"
:
"原材料库"
,
"value"
:
"2"
}
]
"options"
:
{
database
:
()
=>
doFetch
({
url
:
"/ngic-base-business/sysDic/queryStoreTypeSelect"
,
params
:
{}
}),
params
:
{}
}
},
{
"title"
:
"工厂名"
,
...
...
src/pages/system/Store/fields.js
View file @
1a10d08a
import
{
factorySelect
}
from
"@/services/system"
;
import
{
doFetch
}
from
"@/utils/doFetch"
;
export
default
{
"storeCode"
:
{
"value"
:
null
,
...
...
@@ -26,20 +27,10 @@ export default {
"storeType"
],
"required"
:
true
,
"options"
:
[
{
"label"
:
"半成品库"
,
"value"
:
0
},
{
"label"
:
"成品库"
,
"value"
:
1
},
{
"label"
:
"原材料库"
,
"value"
:
2
}
]
"options"
:
{
database
:()
=>
doFetch
({
url
:
"/ngic-base-business/sysDic/queryStoreTypeSelect"
,
params
:{}}),
params
:{}
}
},
"factoryId"
:
{
"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