|
|
@@ -383,7 +383,10 @@
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
formatter(itm) {
|
|
|
- return itm.workReportCategoryList[0]?.number;
|
|
|
+ return (
|
|
|
+ itm.workReportCategoryList[0]?.number ||
|
|
|
+ itm.workReportCategoryList[0]?.totalWeight
|
|
|
+ );
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -450,7 +453,7 @@
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 8
|
|
|
);
|
|
|
- return obj?.extraField?.boatNum;
|
|
|
+ return obj?.extraField?.boatNum || '0';
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -702,7 +705,7 @@
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 8
|
|
|
);
|
|
|
- return obj?.extraField?.boatNum;
|
|
|
+ return obj?.extraField?.boatNum || '0';
|
|
|
}
|
|
|
},
|
|
|
{
|