|
|
@@ -55,7 +55,10 @@
|
|
|
<productionDetails :workOrderInfo="routeObj"></productionDetails>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
- <el-tab-pane label="记录详情" v-if="sourceTaskId && routeObj && sourceTaskId != '-1'">
|
|
|
+ <el-tab-pane
|
|
|
+ label="记录详情"
|
|
|
+ v-if="sourceTaskId && routeObj && sourceTaskId != '-1'"
|
|
|
+ >
|
|
|
<recordRules
|
|
|
:produceTaskId="sourceTaskId"
|
|
|
:workOrderInfo="routeObj"
|
|
|
@@ -108,7 +111,7 @@
|
|
|
|
|
|
// 使用findIndex方法查找
|
|
|
const index = this.routeList.findIndex(
|
|
|
- (item) => Number(item.taskId) == Number(this.routeObj.taskId)
|
|
|
+ (item) => item.taskId == this.routeObj.taskId
|
|
|
);
|
|
|
|
|
|
this.desIndex = index;
|