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
f9f7027d
Commit
f9f7027d
authored
Jul 28, 2023
by
krysent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出库
parent
36f252db
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
548 additions
and
33 deletions
+548
-33
index.jsx
src/pages/Task/index.jsx
+8
-1
fields.js
src/pages/outsetstore/Otheroutstore/fields.js
+4
-2
index.jsx
src/pages/outsetstore/Otheroutstore/index.jsx
+516
-22
index.jsx
src/pages/outsetstore/Outstore/index.jsx
+20
-8
No files found.
src/pages/Task/index.jsx
View file @
f9f7027d
...
...
@@ -78,6 +78,7 @@ function Outstore(props) {
title
:
"任务单号"
,
dataIndex
:
"taskNo"
,
key
:
"taskNo"
,
search
:
false
,
render
:
(
dom
,
record
)
=>
{
return
(
<
a
...
...
@@ -118,6 +119,7 @@ function Outstore(props) {
dataIndex
:
"materieName"
,
key
:
"materieName"
,
valueType
:
"select"
,
options
:
[
{
label
:
"生产领料出库"
,
...
...
@@ -141,6 +143,7 @@ function Outstore(props) {
title
:
"规格型号"
,
dataIndex
:
"specificationModel"
,
key
:
"specificationModel"
,
search
:
false
,
fieldProps
:
{
allowClear
:
true
,
showSearch
:
true
,
...
...
@@ -165,11 +168,13 @@ function Outstore(props) {
title
:
"来源库位"
,
dataIndex
:
"sourceStorePositionName"
,
key
:
"sourceStorePositionName"
,
search
:
false
,
},
{
title
:
"目标库位"
,
dataIndex
:
"targetStorePositionName"
,
key
:
"targetStorePositionName"
,
search
:
false
,
},
{
title
:
"任务类型"
,
...
...
@@ -204,12 +209,14 @@ function Outstore(props) {
title
:
"下发时间"
,
dataIndex
:
"distributeTime"
,
key
:
"distributeTime"
,
search
:
false
,
},
{
title
:
"操作"
,
dataIndex
:
"options"
,
key
:
"options"
,
render
:(
text
,
record
,
_
,
action
)
=>
{
search
:
false
,
render
:
(
text
,
record
,
_
,
action
)
=>
{
return
[
getPrem
(
"equipmentCustomer_deleteById"
,
action
,
"关单"
,
null
,
{
title
:
"确认关单?"
,
...
...
src/pages/outsetstore/Otheroutstore/fields.js
View file @
f9f7027d
...
...
@@ -5,7 +5,7 @@ import EditTable from "@/components/EditTable";
import
{
useEffect
,
useState
}
from
'react'
import
{
useModel
}
from
'umi'
const
EditUpload
=
({
record
,
fid
,
storeId
})
=>
{
const
EditUpload
=
({
record
,
fid
,
storeId
,
formRef
})
=>
{
const
[
value
,
setvalue
]
=
useState
({
[
record
.
id
]:
record
.
downloadList
});
...
...
@@ -595,7 +595,9 @@ const one = {
"key"
:
"materieId"
,
"valueType"
:
"select"
,
"request"
:
async
()
=>
{
let
res
=
await
doFetch
({
url
:
"/ngic-workmanship/pmMaterie/query/selectbox"
,
params
:
{}
})
let
res
=
await
doFetch
({
url
:
"/ngic-workmanship/pmMaterie/selectboxByStoreId"
,
params
:
{
}
})
return
res
?.
data
?.
dataList
},
"fieldProps"
:
{
...
...
src/pages/outsetstore/Otheroutstore/index.jsx
View file @
f9f7027d
This diff is collapsed.
Click to expand it.
src/pages/outsetstore/Outstore/index.jsx
View file @
f9f7027d
...
...
@@ -149,6 +149,7 @@ function Outstore(props) {
dataIndex
:
"outstoreTypeName"
,
key
:
"outstoreType"
,
valueType
:
"select"
,
search
:
false
,
options
:
[
{
label
:
"生产领料出库"
,
...
...
@@ -171,6 +172,7 @@ function Outstore(props) {
{
title
:
"出库仓库"
,
dataIndex
:
"storeName"
,
search
:
false
,
key
:
"storeId"
,
fieldProps
:
{
allowClear
:
true
,
...
...
@@ -194,18 +196,20 @@ function Outstore(props) {
{
title
:
"备注"
,
dataIndex
:
"remark"
,
search
:
false
,
key
:
"remark"
,
search
:
false
,
},
{
title
:
"创建人"
,
dataIndex
:
"createUserName"
,
key
:
"createUserName"
,
dataIndex
:
"applyUserName"
,
key
:
"applyUserName"
,
search
:
false
,
},
{
title
:
"创建时间"
,
dataIndex
:
"
create
Time"
,
key
:
"
createTime
"
,
dataIndex
:
"
apply
Time"
,
key
:
"
applyTimeList
"
,
valueType
:
"dateRange"
,
formItemProps
:
{
name
:
"createTimeList"
,
...
...
@@ -216,6 +220,7 @@ function Outstore(props) {
dataIndex
:
"statusName"
,
key
:
"status"
,
valueType
:
"select"
,
search
:
false
,
options
:
[
{
label
:
"待下架"
,
...
...
@@ -261,6 +266,7 @@ function Outstore(props) {
dataIndex
:
"outstoreTypeName"
,
key
:
"outstoreType"
,
valueType
:
"select"
,
search
:
false
,
options
:
[
{
label
:
"生产领料出库"
,
...
...
@@ -311,13 +317,15 @@ function Outstore(props) {
},
{
title
:
"创建人"
,
dataIndex
:
"createUserName"
,
key
:
"createUserName"
,
dataIndex
:
"applyUserName"
,
key
:
"applyUserName"
,
search
:
false
,
},
{
title
:
"创建时间"
,
dataIndex
:
"createTime"
,
key
:
"createTime"
,
dataIndex
:
"applyTime"
,
key
:
"applyTimeList"
,
search
:
false
,
valueType
:
"dateRange"
,
formItemProps
:
{
name
:
"createTimeList"
,
...
...
@@ -336,6 +344,7 @@ function Outstore(props) {
title
:
"状态"
,
dataIndex
:
"statusName"
,
key
:
"status"
,
search
:
false
,
valueType
:
"select"
,
options
:
[
{
...
...
@@ -497,6 +506,9 @@ function Outstore(props) {
};
},
valueType
:
"digit"
,
fieldProps
:
{
precision
:
3
,
},
editable
:
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