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: '驳回'
             });
-          }
         });
       }