feat: 基础搬运任务开发
This commit is contained in:
@@ -160,6 +160,7 @@
|
||||
<!--表格渲染-->
|
||||
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column prop="task_id" label="任务ID" :min-width="flexWidth('task_id',crud.data,'任务编码')" />
|
||||
<el-table-column prop="task_code" label="任务编码" :min-width="flexWidth('task_code',crud.data,'任务编码')" />
|
||||
<el-table-column prop="vehicle_code" label="载具编码1" :min-width="flexWidth('vehicle_code',crud.data,'载具编码1')">
|
||||
<template slot-scope="scope">
|
||||
@@ -183,6 +184,8 @@
|
||||
<el-table-column prop="point_code2" label="终点1" :min-width="flexWidth('point_code2',crud.data,'点位2')" />
|
||||
<el-table-column prop="point_code3" label="起点2" :min-width="flexWidth('point_code3',crud.data,'点位3')" />
|
||||
<el-table-column prop="point_code4" label="终点2" :min-width="flexWidth('point_code4',crud.data,'点位4')" />
|
||||
<el-table-column prop="start_wait_point" label="取货等待点" :min-width="flexWidth('start_wait_point',crud.data,'取货等待点')" />
|
||||
<el-table-column prop="next_wait_point" label="放货等待点" :min-width="flexWidth('next_wait_point',crud.data,'放货等待点')" />
|
||||
<el-table-column prop="vehicle_type" label="载具类型" :min-width="flexWidth('vehicle_type',crud.data,'载具类型', 20)">
|
||||
<template slot-scope="scope">
|
||||
{{ dict.label.vehicle_type[scope.row.vehicle_type] }}
|
||||
@@ -260,6 +263,8 @@ const defaultForm = {
|
||||
point_code2: null,
|
||||
point_code3: null,
|
||||
point_code4: null,
|
||||
start_wait_point: null,
|
||||
next_wait_point: null,
|
||||
vehicle_type: null,
|
||||
vehicle_qty: null,
|
||||
vehicle_code: null,
|
||||
@@ -358,7 +363,7 @@ export default {
|
||||
return
|
||||
}
|
||||
const data = {
|
||||
task_id: row.task_id,
|
||||
task_code: row.task_code,
|
||||
method_name: method_name,
|
||||
config_code: row.config_code
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user