diff --git a/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichan.vue b/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichan.vue index eca3bfbfaf..a2a30c2580 100644 --- a/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichan.vue +++ b/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichan.vue @@ -246,8 +246,10 @@ export default { const _this = this req.delBySids(this.sids).then(resp => { loading.close() - _this.$message({ type: 'success', message: resp.msg, showClose: true }) - _this.loadList() + if (resp.success) { + _this.$message({ type: 'success', message: resp.msg, showClose: true }) + _this.loadList() + } }).catch(e => { loading.close() }) diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/cheliangneigouFlow/neigouguanli/neigouDaiBanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/cheliangneigouFlow/neigouguanli/neigouDaiBanInfo.vue index c063e69fb7..95ab896a86 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/cheliangneigouFlow/neigouguanli/neigouDaiBanInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/cheliangneigouFlow/neigouguanli/neigouDaiBanInfo.vue @@ -217,6 +217,8 @@ export default { // 同意 openAgree(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -229,6 +231,8 @@ export default { // 驳回 openReject(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -242,6 +246,7 @@ export default { openStop(val) { this.operation = val this.currentLink = false + this.dialogList.comment = '' this.nodeDialogVisible = true }, reject() { diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue index 11a9d87f8b..86b218f81c 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue @@ -307,6 +307,8 @@ export default { // 同意 openAgree(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -319,6 +321,8 @@ export default { // 驳回 openReject(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -331,6 +335,7 @@ export default { // 终止 openStop(val) { this.operation = val + this.dialogList.comment = '' this.currentLink = false this.nodeDialogVisible = true }, diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaDaiBanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaDaiBanInfo.vue index 080a2a418f..7d60df74a9 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaDaiBanInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaDaiBanInfo.vue @@ -203,6 +203,8 @@ export default { // 同意 openAgree(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -215,6 +217,8 @@ export default { // 驳回 openReject(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -228,6 +232,7 @@ export default { openStop(val) { this.operation = val this.currentLink = false + this.dialogList.comment = '' this.nodeDialogVisible = true }, reject() { diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/weishoumaiduanFlow/weishoumaiduanguanli/weishoumaiduanDaiBanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/weishoumaiduanFlow/weishoumaiduanguanli/weishoumaiduanDaiBanInfo.vue index 375b259d9d..c025ea21a3 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/weishoumaiduanFlow/weishoumaiduanguanli/weishoumaiduanDaiBanInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/weishoumaiduanFlow/weishoumaiduanguanli/weishoumaiduanDaiBanInfo.vue @@ -198,6 +198,8 @@ export default { // 同意 openAgree(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -210,6 +212,8 @@ export default { // 驳回 openReject(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -223,6 +227,7 @@ export default { openStop(val) { this.operation = val this.currentLink = false + this.dialogList.comment = '' this.nodeDialogVisible = true }, reject() {