소스 검색

fix: 修复dispatchStatus计算逻辑中的条件判断

liujt 3 달 전
부모
커밋
0e41326e71
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/batchRecord/components/programRulesDialog.vue

+ 1 - 1
src/views/batchRecord/components/programRulesDialog.vue

@@ -674,7 +674,7 @@
     },
     computed: {
       dispatchStatus() {
-        return (this.addForm.autoOrder && (this.type == 'add' || this.type == 'edit' || this.type == 'detail' || this.type == 'dispatch')) || (!this.addForm.autoOrder && this.type == 'dispatch')
+        return (this.addForm.autoOrder && (this.type == 'add' || this.type == 'edit' || this.type == 'detail')) || (!this.addForm.autoOrder && this.type == 'dispatch')
       },
       // 当前用户信息
       loginUser() {