|
|
@@ -307,7 +307,8 @@ const INTERFACE_EXPORT_BASE = (() => {
|
|
|
preChild.NextSiblingID = child.ID;
|
|
|
}
|
|
|
if (child.rowCode) {
|
|
|
- rowCodeData.push({ reg: new RegExp(`\\b${child.rowCode}\\b`, 'g'), ID: child.ID });
|
|
|
+ const regStr = /{[^{}]+}/.test(child.rowCode) ? child.rowCode : `\\b${child.rowCode}\\b`;
|
|
|
+ rowCodeData.push({ reg: new RegExp(regStr, 'g'), ID: child.ID });
|
|
|
}
|
|
|
if (child.calcBase) {
|
|
|
toBeTransformBills.push(child);
|