| | |
| | | taskCycleTime() { |
| | | |
| | | if (this.taskIsRun) |
| | | return `第${this.taskStatus?.curCycleNumber || 0}/${this.taskStatus?.cycleTotleNumber || 0}次` |
| | | return `第${this.taskStatus?.curCycleNumber || 0}/${this.taskStatus?.cycleTotalNumber || 0}次` |
| | | |
| | | else |
| | | return `重复${this.taskData.cycleTime || 0}次` |
| | |
| | | getDestText(item) { |
| | | const index = this.taskData.taskList.findIndex((a) => a.taskID == item.taskID) |
| | | if (index > -1) { |
| | | return this.taskData.taskList[index]?.dest?.name || "" |
| | | return this.taskData.taskList[index].dest?.name || "" |
| | | } |
| | | return "" |
| | | }, |
| | |
| | | } else if (task.actionType === 2) { |
| | | actionText = "取货" |
| | | } else if (task.actionType === 3) { |
| | | actionText = `卸货 等待${taskData.taskList[index]?.wait || 0}秒` |
| | | actionText = `卸货 等待${task.wait || 0}秒` |
| | | } else if (task.actionType === 4) { |
| | | actionText = "人工" |
| | | } |