|
@@ -853,6 +853,7 @@ import {
|
|
warehousetask,
|
|
warehousetask,
|
|
woekflowhandle,
|
|
woekflowhandle,
|
|
gettaskhistories,
|
|
gettaskhistories,
|
|
|
|
+ workflowcontent
|
|
} from '@/model/tasksport/index'
|
|
} from '@/model/tasksport/index'
|
|
import { pullDown, getstaff } from '@/model/warehouse/index'
|
|
import { pullDown, getstaff } from '@/model/warehouse/index'
|
|
import Pagination from '@/components/Pagination'
|
|
import Pagination from '@/components/Pagination'
|
|
@@ -1136,6 +1137,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
requestadd(list, status) {
|
|
requestadd(list, status) {
|
|
|
|
+ console.log(list)
|
|
list.compId = localStorage.getItem('ws-pf_compId')
|
|
list.compId = localStorage.getItem('ws-pf_compId')
|
|
list.publisher =
|
|
list.publisher =
|
|
localStorage.getItem('ws-pf_roleName') +
|
|
localStorage.getItem('ws-pf_roleName') +
|
|
@@ -1151,9 +1153,17 @@ export default {
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
- this.$message.success('审核成功')
|
|
|
|
|
|
+ // workflowcontent({workflowId:list.workflowId,businessKey:list.id}).toPromise()
|
|
|
|
+ // .then((response1) => {
|
|
|
|
+ // console.log(response1)
|
|
|
|
+ workflowcontent({workflowId:item.workflowId,businessKey:item.id,type:'出入库任务'}).toPromise()
|
|
|
|
+ .then((response1) => {
|
|
|
|
+ this.$message.success('审核成功')
|
|
this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
|
|
this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
|
|
})
|
|
})
|
|
|
|
+
|
|
|
|
+ // })
|
|
|
|
+ })
|
|
})
|
|
})
|
|
},
|
|
},
|
|
requestaudit(list, status) {
|
|
requestaudit(list, status) {
|
|
@@ -1172,9 +1182,13 @@ export default {
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
|
|
+ workflowcontent({workflowId:item.workflowId,businessKey:item.id,type:'出入库任务'}).toPromise()
|
|
|
|
+ .then((response1) => {
|
|
this.$message.success('驳回成功')
|
|
this.$message.success('驳回成功')
|
|
this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
|
|
this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
|
|
})
|
|
})
|
|
|
|
+
|
|
|
|
+ })
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//提交按钮
|
|
//提交按钮
|