Browse Source

导出按钮

clodop
常熟吴彦祖 1 year ago
parent
commit
b4d515f2ec
  1. 8
      src/views/modules/automatedWarehouse/agvTask.vue

8
src/views/modules/automatedWarehouse/agvTask.vue

@ -565,7 +565,7 @@ export default {
// 处理展开行变化 // 处理展开行变化
handleExpandChange(row, expandedRows) { handleExpandChange(row, expandedRows) {
// 展开时加载明细数据 // 展开时加载明细数据
if (!row.details || row.details.length === 0) {
// if (!row.details || row.details.length === 0) {
getTransportTaskDetails(row.taskNo).then(({data}) => { getTransportTaskDetails(row.taskNo).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
// 使用Vue.set确保响应式更新 // 使用Vue.set确保响应式更新
@ -577,7 +577,7 @@ export default {
console.error('获取任务明细失败:', error) console.error('获取任务明细失败:', error)
this.$message.error('获取任务明细失败') this.$message.error('获取任务明细失败')
}) })
}
// }
}, },
// 获取状态文本 // 获取状态文本
@ -763,9 +763,9 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
const params = {
const params = {
site: row.site, site: row.site,
taskNo: row.taskNo
taskNo: row.taskNo
}; };
cancelTuskTaskApi(params).then(({data}) => { cancelTuskTaskApi(params).then(({data}) => {

Loading…
Cancel
Save