Browse Source

完善出库申请

master
yunuo970428 2 years ago
parent
commit
8c409626ad
  1. 26
      anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue

26
anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue

@ -287,18 +287,22 @@ export default {
}
},
handleRevoke(row) {
this.$confirm('是否确定撤回该业务', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
revokeProcess({ taskId: row.taskId, businessSid: row.sid, instanceId: row.procInstId, userSid: window.sessionStorage.getItem('userSid') }).then((response) => {
if (response.success) {
this.$message({ showClose: true,type: 'success', message: response.msg })
this.getList()
}
if (row.allowModify) {
this.$confirm('是否确定撤回该业务', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
revokeProcess({ taskId: row.taskId, businessSid: row.sid, instanceId: row.procInstId, userSid: window.sessionStorage.getItem('userSid') }).then((response) => {
if (response.success) {
this.$message({ showClose: true,type: 'success', message: response.msg })
this.getList()
}
})
})
})
} else {
this.$message({ showClose: true, type: 'error', message: '非本人发起的申请,无权限操作' })
}
},
// sid
handleSelectionChange(row) {

Loading…
Cancel
Save