ysy 2 年之前
父节点
当前提交
b4aa3bd060
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/bpm/handleTask/components/outsourcedWarehousing/submit.vue

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