Commit d4a1b701 authored by jingnan's avatar jingnan 👀

配套退库确认待办查询接口修改

parent 9c08a38d
...@@ -235,7 +235,7 @@ export default { ...@@ -235,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 === '操作工确认') {
post(`/ErpSorting/currentUserSortingTaskCount`, {}).then(res => { post(`/ErpSorting/currentUserSortingTaskCount`, {}).then(res => {
let resKey = '' let resKey = ''
switch (item.taskType) { switch (item.taskType) {
...@@ -245,9 +245,6 @@ export default { ...@@ -245,9 +245,6 @@ export default {
case '操作工确认': case '操作工确认':
resKey = '操作工任务数量' resKey = '操作工任务数量'
break break
case '配套退库确认':
resKey = '自动配套退库任务'
break
default: default:
break break
} }
...@@ -259,8 +256,8 @@ export default { ...@@ -259,8 +256,8 @@ export default {
'items': [ 'items': [
{ {
'fieldName': 'state', 'fieldName': 'state',
'operator': 'EQ', 'operator': 'IN',
'value': 'Apply' 'value': ['Apply', 'Back']
}, },
{ {
'fieldName': 'subTypeName', 'fieldName': 'subTypeName',
...@@ -277,8 +274,12 @@ export default { ...@@ -277,8 +274,12 @@ export default {
}).then(res => { }).then(res => {
this.$set(this.quickAccessList[index], 'taskCount', res.items) this.$set(this.quickAccessList[index], 'taskCount', res.items)
}) })
} else if (item.taskType === '配套退库确认') {
post(`/ErpRetirementRequest/searchBackTaskCount?subTypeName=MatchStockBackRequest`, {}).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?subTypeName=InternalStockBackRequest`, {}).then(res => {
this.$set(this.quickAccessList[index], 'taskCount', res.items) this.$set(this.quickAccessList[index], 'taskCount', res.items)
}) })
} else if (item.taskType === '入库台账确认') { } else if (item.taskType === '入库台账确认') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment