Browse Source

调整清单获取规则,修复新增清单能插入同名计量单元

ellisran 1 year ago
parent
commit
8e82abae18
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/public/js/gcl_gather.js

+ 2 - 0
app/public/js/gcl_gather.js

@@ -308,6 +308,8 @@ const gclGatherModel = (function () {
             if (d.name !== node.name) {
                 dx.bwmx = d.name;
                 dx.mx_id = d.id;
+            } else if (dx.gcl_id !== d.id) {
+                dx.mx_id = d.id;
             }
             if (d.drawing_code) {
                 dx.drawing_code = d.drawing_code;