Parcourir la source

禅道bug 修复:移除首工序派单数量必须等于生产数量的强制校验

yusheng il y a 8 mois
Parent
commit
f5da6b5e4d
1 fichiers modifiés avec 7 ajouts et 7 suppressions
  1. 7 7
      src/views/workOrder/mixins/release.js

+ 7 - 7
src/views/workOrder/mixins/release.js

@@ -515,13 +515,13 @@ export default {
           totalSum += item.quantity - 0;
         }
       });
-      if (totalSum != this.current.formingNum - 0) {
-        this.$message.warning(
-          `首工序已派单的数据数量相加需要等于要求生产数量${this.current.formingNum}`
-        );
-        this.handleClick({ name: data.id });
-        return;
-      }
+      // if (totalSum != this.current.formingNum - 0) {
+      //   this.$message.warning(
+      //     `首工序已派单的数据数量相加需要等于要求生产数量${this.current.formingNum}`
+      //   );
+      //   this.handleClick({ name: data.id });
+      //   return;
+      // }
 
       this.toolbarLoading = true;