فهرست منبع

bugfix:审批同步自动填充

damon227 1 سال پیش
والد
کامیت
a31430adbe
2فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 2 0
      src/views/modules/common/approve-component-batch.vue
  2. 2 0
      src/views/modules/common/approve-component.vue

+ 2 - 0
src/views/modules/common/approve-component-batch.vue

@@ -55,6 +55,8 @@
                 this.$message.error('请填写审批意见')
                 return
               }
+            } else {
+              this.dataForm.remark = this.dataForm.remark || '审批通过'
             }
             this.loading = true
             // 添加附件

+ 2 - 0
src/views/modules/common/approve-component.vue

@@ -53,6 +53,8 @@
                 this.$message.error('请填写审批意见')
                 return
               }
+            } else {
+              this.dataForm.remark = this.dataForm.remark || '审批通过'
             }
             // 添加附件
             let fList = this.fileList