MaiXinRong 7 months ago
parent
commit
08372cfe31
1 changed files with 0 additions and 3 deletions
  1. 0 3
      app/lib/ybp_tree.js

+ 0 - 3
app/lib/ybp_tree.js

@@ -198,9 +198,6 @@ class YbpImportTree {
             cur.labour_fee = node.fees && node.fees.marketLabour ? node.fees.marketLabour.totalFee : 0;
             cur.remark = node.remark;
         } else {
-            cur.dgn_qty1 = isXmj ? node.quantity || 0 : 0;
-            cur.dgn_qty2 = isXmj ? node.quantity2 || 0 : 0;
-            cur.quantity = isXmj ? 0 : node.quantity || 0;
             if (isXmj) {
                 cur.dgn_qty1 = this.helper.add(cur.dgn_qty1, node.quantity || 0);
                 cur.dgn_qty2 = this.helper.add(cur.dgn_qty2, node.quantity2 || 0);