Commit b4d42146 authored by jingnan's avatar jingnan 👀

ERP相关_入库台账确认

parent 05ed04c7
......@@ -134,6 +134,11 @@ export default {
taskType: '库内退库确认',
type: 'ERP_StockBackConfirm',
appId: 1626782774851
},
{
taskType: '入库台账确认',
type: 'ERP_ErpInventoryConfirm',
appId: 1626782774851
}
]
}
......@@ -247,6 +252,18 @@ export default {
post(`/ErpRetirementRequest/searchBackTaskCount`, {}).then(res => {
this.$set(this.quickAccessList[index], 'taskCount', res.items)
})
} else if (item.taskType === '入库台账确认') {
post(`/ErpInventory/count`, {
'items': [
{
'fieldName': 'reqStatus',
'operator': 'EQ',
'value': 'Pending_Verify'
}
]
}).then(res => {
this.$set(this.quickAccessList[index], 'taskCount', res.items)
})
} else if (item.taskType === '领用出库确认') {
post(`/OutStorageRequest/materialUse/countTask`, {}).then(res => {
this.$set(this.quickAccessList[index], 'taskCount', res.items)
......@@ -288,7 +305,7 @@ export default {
}
})
this.$store.dispatch('app/closeSideBar', false)
} else if (item.taskType === '准备工出库调整' || item.taskType === '操作工确认' || item.taskType === '配套自动退库确认' || item.taskType === '库内退库确认' || item.taskType === '领用出库确认') {
} else if (['准备工出库调整', '操作工确认', '配套自动退库确认', '库内退库确认', '领用出库确认', '入库台账确认'].includes(item.taskType)) {
let pageNo = ''
switch (item.taskType) {
case '准备工出库调整':
......@@ -303,6 +320,9 @@ export default {
case '库内退库确认':
pageNo = '219cf48e-020a-4048-85d7-d5c2b83537f4'
break
case '入库台账确认':
pageNo = 'a04bba16-f4c4-47ec-baab-57e784551808'
break
case '领用出库确认':
pageNo = '1d4c589d-16cd-45e5-900f-78c1fabf86f6'
break
......
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