Commit d4a1b701 authored by jingnan's avatar jingnan 👀

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

parent 9c08a38d
......@@ -235,7 +235,7 @@ export default {
get(`/indexTask/task/ProdTask`, {}).then(res => {
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 => {
let resKey = ''
switch (item.taskType) {
......@@ -245,9 +245,6 @@ export default {
case '操作工确认':
resKey = '操作工任务数量'
break
case '配套退库确认':
resKey = '自动配套退库任务'
break
default:
break
}
......@@ -259,8 +256,8 @@ export default {
'items': [
{
'fieldName': 'state',
'operator': 'EQ',
'value': 'Apply'
'operator': 'IN',
'value': ['Apply', 'Back']
},
{
'fieldName': 'subTypeName',
......@@ -277,8 +274,12 @@ export default {
}).then(res => {
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 === '库内退库确认') {
post(`/ErpRetirementRequest/searchBackTaskCount`, {}).then(res => {
post(`/ErpRetirementRequest/searchBackTaskCount?subTypeName=InternalStockBackRequest`, {}).then(res => {
this.$set(this.quickAccessList[index], 'taskCount', res.items)
})
} 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