Browse Source

feat: 拷贝人材机库 ,取消 设备改材料

vian 8 months ago
parent
commit
f499e9999a
1 changed files with 2 additions and 3 deletions
  1. 2 3
      modules/std_glj_lib/models/gljModel.js

+ 2 - 3
modules/std_glj_lib/models/gljModel.js

@@ -72,11 +72,10 @@ class GljDao extends OprDao {
                 ID: IDMapping[c.ID],
                 consumeAmt: c.consumeAmt
             }));
-            // 设备改材料
-            const gljType = glj.gljType === 5 ? 201 : glj.gljType;
+            /* // 设备改材料
+            const gljType = glj.gljType === 5 ? 201 : glj.gljType; */
             return {
                 ...glj,
-                gljType,
                 repositoryId: targetLibID,
                 ID: IDMapping[glj.ID],
                 component: newComponent