MaiXinRong 4 vuotta sitten
vanhempi
commit
ccf3d6454e
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      app/lib/sum_load.js

+ 2 - 0
app/lib/sum_load.js

@@ -135,6 +135,7 @@ class loadLedgerGclTree extends loadGclBaseTree {
                 level: i.level, order: i.order, full_path: i.full_path, is_leaf: !i.children || i.children.length === 0,
                 b_code: i.b_code, name: i.name, unit: i.unit,
                 sgfh_qty: i.sgfh_qty, sjcl_qty: i.sjcl_qty, qtcl_qty: i.qtcl_qty, quantity: i.quantity,
+                sgfh_tp: i.sgfh_tp, sjcl_tp: i.sjcl_tp, qtcl_tp: i.qtcl_tp, total_price: i.total_price,
             })
         }
         return {update, create};
@@ -220,6 +221,7 @@ class updateReviseGclTree extends loadGclBaseTree {
                 level: i.level, order: i.order, full_path: i.full_path, is_leaf: !i.children || i.children.length === 0,
                 b_code: i.b_code, name: i.name, unit: i.unit,
                 sgfh_qty: i.sgfh_qty, sjcl_qty: i.sjcl_qty, qtcl_qty: i.qtcl_qty, quantity: i.quantity,
+                sgfh_tp: i.sgfh_tp, sjcl_tp: i.sjcl_tp, qtcl_tp: i.qtcl_tp, total_price: i.total_price,
             })
         }
         return result;