Commit d93966b4 authored by jingnan's avatar jingnan 👀

代办增加台账退库确认

parent d4a1b701
...@@ -140,6 +140,11 @@ export default { ...@@ -140,6 +140,11 @@ export default {
type: 'ERP_StockBackConfirm', type: 'ERP_StockBackConfirm',
appId: 1626782774851 appId: 1626782774851
}, },
{
taskType: '台账退库确认',
type: 'ERP_InventoryBackConfirm',
appId: 1626782774851
},
{ {
taskType: '入库台账确认', taskType: '入库台账确认',
type: 'ERP_ErpInventoryConfirm', type: 'ERP_ErpInventoryConfirm',
...@@ -282,6 +287,10 @@ export default { ...@@ -282,6 +287,10 @@ export default {
post(`/ErpRetirementRequest/searchBackTaskCount?subTypeName=InternalStockBackRequest`, {}).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 === '台账退库确认') {
post(`/ErpRetirementRequest/searchBackTaskCount?subTypeName=InventoryStockBackRequest`, {}).then(res => {
this.$set(this.quickAccessList[index], 'taskCount', res.items)
})
} else if (item.taskType === '入库台账确认') { } else if (item.taskType === '入库台账确认') {
post(`/ErpInventory/count`, { post(`/ErpInventory/count`, {
'items': [ 'items': [
...@@ -335,7 +344,7 @@ export default { ...@@ -335,7 +344,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 '准备工出库调整':
...@@ -353,6 +362,9 @@ export default { ...@@ -353,6 +362,9 @@ export default {
case '库内退库确认': case '库内退库确认':
pageNo = '219cf48e-020a-4048-85d7-d5c2b83537f4' pageNo = '219cf48e-020a-4048-85d7-d5c2b83537f4'
break break
case '台账退库确认':
pageNo = 'b9c04cfc-95b4-4584-ba31-c1c52a4d0047'
break
case '入库台账确认': case '入库台账确认':
pageNo = 'a04bba16-f4c4-47ec-baab-57e784551808' pageNo = 'a04bba16-f4c4-47ec-baab-57e784551808'
break 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