Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
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
TFMOM
TF-MOM-WEB
Commits
a5e92760
Commit
a5e92760
authored
Sep 18, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配套退库申请及配套退库确认联调
parent
be77f7dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
7 deletions
+40
-7
ERPAddInStorageBackItemDialog.vue
...rageBackItem/components/ERPAddInStorageBackItemDialog.vue
+2
-1
my-task.vue
...ns/dee-task-center/src/views/home/compontents/my-task.vue
+38
-6
No files found.
applications/dee-mes/src/privateComponents/components/ERP_AddInStorageBackItem/components/ERPAddInStorageBackItemDialog.vue
View file @
a5e92760
...
@@ -99,6 +99,7 @@ export default {
...
@@ -99,6 +99,7 @@ export default {
if
(
this
.
selection
.
subTypeName
===
'JobResponseOutStorageMatch'
)
{
// 历史配套数据(配套退库使用)
if
(
this
.
selection
.
subTypeName
===
'JobResponseOutStorageMatch'
)
{
// 历史配套数据(配套退库使用)
responseName
=
'oldOutStorage'
responseName
=
'oldOutStorage'
scrapCount
=
-
(
this
.
selection
.
scrapCount
)
scrapCount
=
-
(
this
.
selection
.
scrapCount
)
delete
this
.
selection
.
erpInventory
}
else
{
}
else
{
responseName
=
'jobResponseSorting'
responseName
=
'jobResponseSorting'
}
}
...
@@ -126,7 +127,7 @@ export default {
...
@@ -126,7 +127,7 @@ export default {
'aoPlan'
:
aoNo
,
'aoPlan'
:
aoNo
,
'mdsItemCode'
:
inventoryData
.
extMaterial
.
resCode
'mdsItemCode'
:
inventoryData
.
extMaterial
.
resCode
}]
}]
data
[
0
][
responseName
]
=
this
.
selection
data
[
0
][
responseName
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
selection
))
this
.
$emit
(
'submitEvent'
,
{
formData
:
data
,
addContinue
})
this
.
$emit
(
'submitEvent'
,
{
formData
:
data
,
addContinue
})
addContinue
&&
this
.
cleanAddForm
()
addContinue
&&
this
.
cleanAddForm
()
}
else
{
}
else
{
...
...
applications/dee-task-center/src/views/home/compontents/my-task.vue
View file @
a5e92760
...
@@ -126,8 +126,13 @@ export default {
...
@@ -126,8 +126,13 @@ export default {
appId
:
1626782774851
appId
:
1626782774851
},
},
{
{
taskType
:
'配套自动退库确认'
,
taskType
:
'配套退库申请'
,
type
:
'ERP_MatchAutoReturnConfirm'
,
type
:
'ERP_MatchReturnApply'
,
appId
:
1626782774851
},
{
taskType
:
'配套退库确认'
,
type
:
'ERP_MatchReturnConfirm'
,
appId
:
1626782774851
appId
:
1626782774851
},
},
{
{
...
@@ -230,7 +235,7 @@ export default {
...
@@ -230,7 +235,7 @@ export default {
get
(
`/indexTask/task/ProdTask`
,
{}).
then
(
res
=>
{
get
(
`/indexTask/task/ProdTask`
,
{}).
then
(
res
=>
{
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
.
count
)
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
.
count
)
})
})
}
else
if
(
item
.
taskType
===
'准备工出库调整'
||
item
.
taskType
===
'操作工确认'
||
item
.
taskType
===
'配套
自动
退库确认'
)
{
}
else
if
(
item
.
taskType
===
'准备工出库调整'
||
item
.
taskType
===
'操作工确认'
||
item
.
taskType
===
'配套退库确认'
)
{
post
(
`/ErpSorting/currentUserSortingTaskCount`
,
{}).
then
(
res
=>
{
post
(
`/ErpSorting/currentUserSortingTaskCount`
,
{}).
then
(
res
=>
{
let
resKey
=
''
let
resKey
=
''
switch
(
item
.
taskType
)
{
switch
(
item
.
taskType
)
{
...
@@ -240,7 +245,7 @@ export default {
...
@@ -240,7 +245,7 @@ export default {
case
'操作工确认'
:
case
'操作工确认'
:
resKey
=
'操作工任务数量'
resKey
=
'操作工任务数量'
break
break
case
'配套
自动
退库确认'
:
case
'配套退库确认'
:
resKey
=
'自动配套退库任务'
resKey
=
'自动配套退库任务'
break
break
default
:
default
:
...
@@ -248,6 +253,30 @@ export default {
...
@@ -248,6 +253,30 @@ export default {
}
}
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
[
resKey
])
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
[
resKey
])
})
})
}
else
if
(
item
.
taskType
===
'配套退库申请'
)
{
post
(
`/ErpRetirementRequest/searchBackApplyTaskCount`
,
{
'searchItems'
:
{
'items'
:
[
{
'fieldName'
:
'state'
,
'operator'
:
'EQ'
,
'value'
:
'Apply'
},
{
'fieldName'
:
'subTypeName'
,
'operator'
:
'EQ'
,
'value'
:
'MatchStockBackRequest'
},
{
'fieldName'
:
'creatorId'
,
'operator'
:
'EQ'
,
'value'
:
localStorage
.
getItem
(
'userId'
)
}
]
}
}).
then
(
res
=>
{
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
)
})
}
else
if
(
item
.
taskType
===
'库内退库确认'
)
{
}
else
if
(
item
.
taskType
===
'库内退库确认'
)
{
post
(
`/ErpRetirementRequest/searchBackTaskCount`
,
{}).
then
(
res
=>
{
post
(
`/ErpRetirementRequest/searchBackTaskCount`
,
{}).
then
(
res
=>
{
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
)
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
)
...
@@ -305,7 +334,7 @@ export default {
...
@@ -305,7 +334,7 @@ export default {
}
}
})
})
this
.
$store
.
dispatch
(
'app/closeSideBar'
,
false
)
this
.
$store
.
dispatch
(
'app/closeSideBar'
,
false
)
}
else
if
([
'准备工出库调整'
,
'操作工确认'
,
'配套
自动
退库确认'
,
'库内退库确认'
,
'领用出库确认'
,
'入库台账确认'
].
includes
(
item
.
taskType
))
{
}
else
if
([
'准备工出库调整'
,
'操作工确认'
,
'配套
退库申请'
,
'配套
退库确认'
,
'库内退库确认'
,
'领用出库确认'
,
'入库台账确认'
].
includes
(
item
.
taskType
))
{
let
pageNo
=
''
let
pageNo
=
''
switch
(
item
.
taskType
)
{
switch
(
item
.
taskType
)
{
case
'准备工出库调整'
:
case
'准备工出库调整'
:
...
@@ -314,7 +343,10 @@ export default {
...
@@ -314,7 +343,10 @@ export default {
case
'操作工确认'
:
case
'操作工确认'
:
pageNo
=
'038a430e-facf-4fcb-9b98-2bf75c226681'
pageNo
=
'038a430e-facf-4fcb-9b98-2bf75c226681'
break
break
case
'配套自动退库确认'
:
case
'配套退库申请'
:
pageNo
=
'4db88bc5-b77d-4020-84fb-01271a75dd3d'
break
case
'配套退库确认'
:
pageNo
=
'102e307a-342e-4786-8a9a-a50465ab1721'
pageNo
=
'102e307a-342e-4786-8a9a-a50465ab1721'
break
break
case
'库内退库确认'
:
case
'库内退库确认'
:
...
...
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