|
|
@@ -2855,6 +2855,13 @@
|
|
|
const childBatchNo =
|
|
|
matchedPlanInfo.batchNo || period.batchNo || '';
|
|
|
const childDisplayOrderCode = childBatchNo;
|
|
|
+ const childBarLabel = [
|
|
|
+ taskLabel,
|
|
|
+ childDisplayOrderCode,
|
|
|
+ matchedPlanInfo.productName
|
|
|
+ ]
|
|
|
+ .filter(Boolean)
|
|
|
+ .join(' / ');
|
|
|
rows.push({
|
|
|
id: this.buildGanttPeriodTaskId(
|
|
|
parentId,
|
|
|
@@ -2921,16 +2928,8 @@
|
|
|
executionObjectType: item.executionObjectType || '',
|
|
|
executionObjectName: item.executionObjectName || '',
|
|
|
type: 5,
|
|
|
- name:
|
|
|
- [taskLabel, childPlanLabel].filter(Boolean).join(' / ') ||
|
|
|
- taskLabel,
|
|
|
- text: [
|
|
|
- taskLabel,
|
|
|
- childDisplayOrderCode,
|
|
|
- matchedPlanInfo.productName
|
|
|
- ]
|
|
|
- .filter(Boolean)
|
|
|
- .join(' / '),
|
|
|
+ name: childBarLabel || taskLabel,
|
|
|
+ text: childBarLabel,
|
|
|
executor: childPlanLabel || taskLabel,
|
|
|
laneLabel: resourceLabel,
|
|
|
resourceName,
|