|
|
|
@ -129,9 +129,6 @@ |
|
|
|
<el-table-column prop="agvCode" label="AGV编码" width="120" align="center"></el-table-column> |
|
|
|
<el-table-column prop="priority" label="优先级" width="80" align="center"></el-table-column> |
|
|
|
<el-table-column prop="status" label="状态" width="120" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-tag :type="getStatusType(scope.row.status)">{{ getStatusText(scope.row.status) }}</el-tag> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="wmsSendTime" label="WMS发送时间" width="160" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
@ -561,8 +558,6 @@ export default { |
|
|
|
|
|
|
|
// 处理展开行变化 |
|
|
|
handleExpandChange(row, expandedRows) { |
|
|
|
const isExpanded = expandedRows.some(r => r.id === row.id); |
|
|
|
if (isExpanded) { |
|
|
|
// 展开时加载明细数据 |
|
|
|
if (!row.details || row.details.length === 0) { |
|
|
|
getTransportTaskDetails(row.taskNo).then(({data}) => { |
|
|
|
@ -577,7 +572,6 @@ export default { |
|
|
|
this.$message.error('获取任务明细失败') |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// 获取状态文本 |
|
|
|
|