소스 검색

修改分配任务编辑数量bug

zhuliu 1 년 전
부모
커밋
fd64f17a28
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/report/components/allocationTask/components/allocationTask.vue

+ 1 - 1
src/views/report/components/allocationTask/components/allocationTask.vue

@@ -270,7 +270,7 @@ export default {
       if (isNaN(row.patentNum2)) {
         this.$message.error('请输入数字')
         return false
-      } else if (Number(row.patentNum2) < 0 || Number(row.patentNum2) + this.leaveNumber > this.totalNumber) {
+      } else if (Number(row.patentNum2) < 0) {
         this.$message.error('请输入正确数量')
         return false
       }