ysy 2 år sedan
förälder
incheckning
53a99df90e

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