Explorar el Código

fix(footBtn): 优化禁用逻辑,仅在当前工序已分配给他人时禁用投料和报工

xieyong hace 1 mes
padre
commit
5371d8268a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/produce/components/footBtn.vue

+ 2 - 2
src/views/produce/components/footBtn.vue

@@ -397,10 +397,10 @@
                 '请先完成领料、投料后再进行首件两检'
             };
           }
-          // 当前工序已分配给他人时,禁用领料/投料/报工/委外请托
+          // 当前工序已分配给他人时,禁用投料/报工
           if (
             this.isSomeoneDisabled &&
-            ['pick', 'feed', 'job', 'Outsourcing'].includes(i.type)
+            ['feed', 'job'].includes(i.type)
           ) {
             return {
               ...i,