|
|
@ -231,6 +231,21 @@ |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否需要载具"> |
|
|
|
<el-select |
|
|
|
v-model="form.is_vehicle" |
|
|
|
style="width: 370px;" |
|
|
|
filterable |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in dict.is_yes_not" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="优先级"> |
|
|
|
<el-input v-model="form.priority" style="width: 370px;" @change="isDisabled=false" /> |
|
|
|
</el-form-item> |
|
|
@ -261,22 +276,22 @@ |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="priority" label="任务优先级" min-width="100" show-overflow-tooltip /> |
|
|
|
<el-table-column prop="start_point_code" label="起点" min-width="100" show-overflow-tooltip /> |
|
|
|
<!-- <el-table-column prop="start_parent_code" label="父起点点位" min-width="100" show-overflow-tooltip />--> |
|
|
|
<el-table-column prop="next_point_code" label="终点" min-width="100" show-overflow-tooltip /> |
|
|
|
<!-- <el-table-column prop="next_parent_code" label="父终点点位" min-width="100" show-overflow-tooltip />--> |
|
|
|
<el-table-column prop="start_point_code2" label="起点2" min-width="100" show-overflow-tooltip /> |
|
|
|
<el-table-column prop="next_point_code2" label="终点2" min-width="100" show-overflow-tooltip /> |
|
|
|
<el-table-column prop="put_device_code" label="放货位" min-width="100" show-overflow-tooltip /> |
|
|
|
<!-- <el-table-column prop="start_point_code2" label="起点2" min-width="100" show-overflow-tooltip />--> |
|
|
|
<!-- <el-table-column prop="next_point_code2" label="终点2" min-width="100" show-overflow-tooltip />--> |
|
|
|
<!-- <el-table-column prop="put_device_code" label="放货位" min-width="100" show-overflow-tooltip />--> |
|
|
|
|
|
|
|
<el-table-column prop="compound_task" label="复合任务"> |
|
|
|
<!--<el-table-column prop="compound_task" label="复合任务"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.compound_task==='0' ">否</span> |
|
|
|
<span v-if="scope.row.compound_task==='1' ">是</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="compound_task_data" width="200" label="复合路线" /> |
|
|
|
<el-table-column prop="matarial" label="物料" /> |
|
|
|
</el-table-column>--> |
|
|
|
<!-- <el-table-column prop="compound_task_data" width="200" label="复合路线" />--> |
|
|
|
<!-- <el-table-column prop="matarial" label="物料" />--> |
|
|
|
<el-table-column prop="quantity" label="数量" /> |
|
|
|
<el-table-column prop="is_vehicle" label="是否需要载具" width="135" /> |
|
|
|
|
|
|
|
<el-table-column prop="remark" label="备注" /> |
|
|
|
<el-table-column prop="create_by" label="创建者" /> |
|
|
|
<el-table-column prop="create_time" label="创建时间" width="135" /> |
|
|
@ -313,7 +328,7 @@ import { getDicts } from '@/api/system/dict' |
|
|
|
export default { |
|
|
|
name: 'Task', |
|
|
|
components: { pagination, crudOperation }, |
|
|
|
dicts: ['task_status', 'task_type'], |
|
|
|
dicts: ['task_status', 'task_type', 'is_yes_not'], |
|
|
|
mixins: [presenter(), header(), crud()], |
|
|
|
cruds() { |
|
|
|
return CRUD({ title: '任务', url: 'api/task', idField: 'task_id', sort: 'task_id,desc', |
|
|
|