ysy 2 年之前
父節點
當前提交
53a99df90e
共有 1 個文件被更改,包括 2 次插入6 次删除
  1. 2 6
      src/views/bpm/handleTask/components/outsourcedWarehousing/submit.vue

+ 2 - 6
src/views/bpm/handleTask/components/outsourcedWarehousing/submit.vue

@@ -129,12 +129,10 @@ export default {
           pass: true
 
         }).then((res) => {
-          if (res.code != '-1') {
-            this.$emit('handleAudit', {
+          this.$emit('handleAudit', {
               status,
               title: ''
             });
-          }
         });
       } else if (status == 0) {
         outsourceNotPass({
@@ -142,12 +140,10 @@ export default {
           reason: this.form.reason,
           pass: false
         }).then((res) => {
-          if (res.code != '-1') {
-            this.$emit('handleAudit', {
+          this.$emit('handleAudit', {
               status,
               title: '驳回'
             });
-          }
         });
       }