|
@@ -4103,7 +4103,7 @@ $(document).ready(() => {
|
|
|
unit_price: node.unit_price || 0,
|
|
|
};
|
|
|
if (_.isMatch(cb, b)) {
|
|
|
- posData = stagePos.getLedgerPos(node.id);
|
|
|
+ posData = stagePos.getLedgerPos(node.id) || [];
|
|
|
return { lid: node.id, pid: posData.length > 0 ? posData[0].id : '-1' };
|
|
|
}
|
|
|
}
|