|
@@ -323,7 +323,16 @@ INTERFACE_EXPORT = (() => {
|
|
|
if (cur.data.sectionCode) {
|
|
if (cur.data.sectionCode) {
|
|
|
return cur.data.sectionCode;
|
|
return cur.data.sectionCode;
|
|
|
}
|
|
}
|
|
|
- cur = cur.parent;
|
|
|
|
|
|
|
+ if (cur.parent) {
|
|
|
|
|
+ cur = cur.parent;
|
|
|
|
|
+ const flag = node.parent.getFlag();
|
|
|
|
|
+ if (flag === fixedFlag.ONE_SEVEN_BILLS) {
|
|
|
|
|
+ return (cur.data.name || '').replace(/[^0-9]/g, '');
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ break;
|
|
|
|
|
+ }
|
|
|
|
|
+ // cur = cur.parent;
|
|
|
}
|
|
}
|
|
|
return (cur.data.name || '').replace(/[^0-9]/g, '');
|
|
return (cur.data.name || '').replace(/[^0-9]/g, '');
|
|
|
} else {
|
|
} else {
|