|
|
@@ -299,7 +299,8 @@ $(document).ready(() => {
|
|
|
code: node.code, b_code: node.b_code, name: node.name, unit: node.unit,
|
|
|
dgn_qty1: node.dgn_qty1, dgn_qty2: node.dgn_qty2, dgn_price: node.dgn_price,
|
|
|
unit_price: node.unit_price, quantity: node.quantity, total_price: node.total_price,
|
|
|
- drawing_code: node.drawing_code, memo: node.memo, _hidden: !node.visible,
|
|
|
+ drawing_code: node.drawing_code, memo: node.memo,
|
|
|
+ _hidden: !node.visible,
|
|
|
});
|
|
|
if (node.unitTree && node.unitTree.nodes.length > 0) {
|
|
|
groupData.push({ code: node.code, b_code: node.b_code, start: data.length, count: node.unitTree.nodes.length });
|
|
|
@@ -308,7 +309,8 @@ $(document).ready(() => {
|
|
|
code: unitNode.code, b_code: unitNode.b_code,
|
|
|
name: unitNode.pos_name ? unitNode.pos_name : unitNode.name, unit: unitNode.unit,
|
|
|
unit_price: unitNode.unit_price, quantity: unitNode.quantity, total_price: unitNode.total_price,
|
|
|
- drawing_code: unitNode.drawing_code_merge, memo: unitNode.memo_merge, _hidden: !node.visible || !unitNode.visible,
|
|
|
+ drawing_code: unitNode.drawing_code_merge, memo: unitNode.memo_merge,
|
|
|
+ _hidden: !node.visible || !unitNode.visible,
|
|
|
});
|
|
|
}
|
|
|
}
|