瀏覽代碼

bugfix:审批同步自动填充

damon227 1 年之前
父節點
當前提交
a31430adbe

+ 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