|
@@ -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;
|