components/WorkOrder.vue
@@ -435,12 +435,12 @@ this.lastPatrolCheck = latest.fcheckDate; this.patrolConclusion = latest.fcheckResu; this.patrolInspector = latest.checkUser; this.patrolCount = xjList.length; this.patrolCount = latest.xjCount ?? xjList.length; } else if (xjList) { this.lastPatrolCheck = xjList.fcheckDate; this.patrolConclusion = xjList.fcheckResu; this.patrolInspector = xjList.checkUser; this.patrolCount = 1; this.patrolCount = xjList.xjCount ?? 1; } else { this.lastPatrolCheck = ''; this.patrolConclusion = '';