opt: 添加堆垛机下发信号日志

This commit is contained in:
yanps
2024-05-10 10:56:16 +08:00
parent 04fb44f67d
commit 9e45690cd0
6 changed files with 11 additions and 3 deletions

View File

@@ -135,6 +135,7 @@
<span v-if="scope.row.instruction_status=='0' ">{{ $t('task.select.Ready') }}</span>
<span v-if="scope.row.instruction_status=='1' ">{{ $t('task.select.In_progress') }}</span>
<span v-if="scope.row.instruction_status=='2' ">{{ $t('task.select.Completed') }}</span>
<span v-if="scope.row.instruction_status=='3' ">{{ $t('task.select.Cancel') }}</span>
</template>
</el-table-column>
<el-table-column prop="start_point_code" :label="$t('task.select.Start_point')" :min-width="flexWidth('start_point_code',crud.data,$t('task.select.Start_point'))" />

View File

@@ -268,6 +268,7 @@
<span v-if="scope.row.task_status=='0' ">{{ $t('task.select.Ready') }}</span>
<span v-if="scope.row.task_status=='1' ">{{ $t('task.select.In_progress') }}</span>
<span v-if="scope.row.task_status=='2' ">{{ $t('task.select.Completed') }}</span>
<span v-if="scope.row.task_status=='3' ">{{ $t('task.select.Cancel') }}</span>
</template>
</el-table-column>
<el-table-column prop="priority" :label="$t('TaskRecord.table.Priority')" />

View File

@@ -114,6 +114,7 @@
<span v-if="scope.row.task_status=='0' ">{{ $t('task.select.Ready') }}</span>
<span v-if="scope.row.task_status=='1' ">{{ $t('task.select.In_progress') }}</span>
<span v-if="scope.row.task_status=='2' ">{{ $t('task.select.Completed') }}</span>
<span v-if="scope.row.task_status=='3' ">{{ $t('task.select.Cancel') }}</span>
</template>
</el-table-column>
<el-table-column prop="priority" :label="$t('TaskRecord.table.Priority')" :min-width="flexWidth('priority',crud.data,$t('TaskRecord.table.Priority'))" />

View File

@@ -846,7 +846,7 @@ export default {
handleCommand(index, row, command) {
switch (command) {
case 'a':// 完成
this.finish('3', row)
this.finish('2', row)
break
case 'b':// 取消
this.cancel(index, row)