Explorar o código

森语-预计请假时间判断

jbb %!s(int64=2) %!d(string=hai) anos
pai
achega
c281eff26b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/activiti/form/demoForm2.vue

+ 1 - 1
src/views/activiti/form/demoForm2.vue

@@ -979,7 +979,7 @@ export default {
                       this.$message.error('请填写预计请假天数!')
                       addForm = 'yes'
                      }
-                      if(estimate>this.leave){
+                      if(estimate>this.leave && leaveCategory=='年假'){
                       this.$message.error('预计请假年假'+estimate+'大于剩余年假'+this.leave)
                       addForm = 'yes'
                      }