ysy 2 ani în urmă
părinte
comite
b4aa3bd060

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

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