|
@ -10,12 +10,11 @@ |
|
|
label-width="90px" |
|
|
label-width="90px" |
|
|
label-suffix=":" |
|
|
label-suffix=":" |
|
|
> |
|
|
> |
|
|
<el-form-item label="编码名称"> |
|
|
<el-form-item label="编码/名称"> |
|
|
<el-input |
|
|
<el-input |
|
|
v-model="query.name" |
|
|
v-model="query.name" |
|
|
clearable |
|
|
clearable |
|
|
size="mini" |
|
|
placeholder="编码/名称" |
|
|
placeholder="编码名称" |
|
|
|
|
|
@keyup.enter.native="crud.toQuery" |
|
|
@keyup.enter.native="crud.toQuery" |
|
|
/> |
|
|
/> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
@ -24,9 +23,7 @@ |
|
|
v-model="query.region_id" |
|
|
v-model="query.region_id" |
|
|
clearable |
|
|
clearable |
|
|
filterable |
|
|
filterable |
|
|
size="mini" |
|
|
|
|
|
placeholder="所属区域" |
|
|
placeholder="所属区域" |
|
|
class="filter-item" |
|
|
|
|
|
@clear="pointTypesList = null" |
|
|
@clear="pointTypesList = null" |
|
|
@change="getPointStatusAndTypeList(query.region_id, 1)" |
|
|
@change="getPointStatusAndTypeList(query.region_id, 1)" |
|
|
> |
|
|
> |
|
@ -42,9 +39,7 @@ |
|
|
<el-select |
|
|
<el-select |
|
|
v-model="query.point_type" |
|
|
v-model="query.point_type" |
|
|
clearable |
|
|
clearable |
|
|
size="mini" |
|
|
|
|
|
placeholder="点位类型" |
|
|
placeholder="点位类型" |
|
|
class="filter-item" |
|
|
|
|
|
@change="hand" |
|
|
@change="hand" |
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
@ -60,9 +55,7 @@ |
|
|
v-model="query.point_status" |
|
|
v-model="query.point_status" |
|
|
clearable |
|
|
clearable |
|
|
filterable |
|
|
filterable |
|
|
size="mini" |
|
|
|
|
|
placeholder="点位状态" |
|
|
placeholder="点位状态" |
|
|
class="filter-item" |
|
|
|
|
|
@change="hand" |
|
|
@change="hand" |
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
@ -78,9 +71,7 @@ |
|
|
v-model="query.lock_type" |
|
|
v-model="query.lock_type" |
|
|
clearable |
|
|
clearable |
|
|
filterable |
|
|
filterable |
|
|
size="mini" |
|
|
|
|
|
placeholder="锁定类型" |
|
|
placeholder="锁定类型" |
|
|
class="filter-item" |
|
|
|
|
|
@change="hand" |
|
|
@change="hand" |
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
@ -165,7 +156,7 @@ |
|
|
:title="crud.status.title" |
|
|
:title="crud.status.title" |
|
|
width="600px" |
|
|
width="600px" |
|
|
> |
|
|
> |
|
|
<el-form ref="form" :model="form" :rules="rules" size="mini" label-width="160px"> |
|
|
<el-form ref="form" :model="form" :rules="rules" size="mini" label-width="160px" label-suffix=":"> |
|
|
<el-form-item label="点位编码" prop="point_code"> |
|
|
<el-form-item label="点位编码" prop="point_code"> |
|
|
<el-input v-model="form.point_code" :disabled="crud.status.edit" style="width: 300px" /> |
|
|
<el-input v-model="form.point_code" :disabled="crud.status.edit" style="width: 300px" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
@ -192,9 +183,7 @@ |
|
|
<el-form-item label="点位类型" prop="point_type"> |
|
|
<el-form-item label="点位类型" prop="point_type"> |
|
|
<el-select |
|
|
<el-select |
|
|
v-model="form.point_type" |
|
|
v-model="form.point_type" |
|
|
size="mini" |
|
|
placeholder="点位类型" |
|
|
placeholder="设备点位类型" |
|
|
|
|
|
class="filter-item" |
|
|
|
|
|
style="width: 300px" |
|
|
style="width: 300px" |
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
@ -208,9 +197,7 @@ |
|
|
<el-form-item v-show="crud.status.edit" label="点位状态" prop="point_status"> |
|
|
<el-form-item v-show="crud.status.edit" label="点位状态" prop="point_status"> |
|
|
<el-select |
|
|
<el-select |
|
|
v-model="form.point_status" |
|
|
v-model="form.point_status" |
|
|
size="mini" |
|
|
|
|
|
placeholder="点位状态" |
|
|
placeholder="点位状态" |
|
|
class="filter-item" |
|
|
|
|
|
style="width: 300px" |
|
|
style="width: 300px" |
|
|
clearable |
|
|
clearable |
|
|
> |
|
|
> |
|
@ -225,9 +212,7 @@ |
|
|
<el-form-item v-show="crud.status.edit" label="锁定类型" prop="lock_type"> |
|
|
<el-form-item v-show="crud.status.edit" label="锁定类型" prop="lock_type"> |
|
|
<el-select |
|
|
<el-select |
|
|
v-model="form.lock_type" |
|
|
v-model="form.lock_type" |
|
|
size="mini" |
|
|
|
|
|
placeholder="锁定类型" |
|
|
placeholder="锁定类型" |
|
|
class="filter-item" |
|
|
|
|
|
style="width: 300px" |
|
|
style="width: 300px" |
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
@ -241,9 +226,7 @@ |
|
|
<el-form-item v-show="crud.status.edit" label="载具类型" prop="vehicle_type"> |
|
|
<el-form-item v-show="crud.status.edit" label="载具类型" prop="vehicle_type"> |
|
|
<el-select |
|
|
<el-select |
|
|
v-model="form.vehicle_type" |
|
|
v-model="form.vehicle_type" |
|
|
size="mini" |
|
|
|
|
|
placeholder="载具类型" |
|
|
placeholder="载具类型" |
|
|
class="filter-item" |
|
|
|
|
|
style="width: 300px" |
|
|
style="width: 300px" |
|
|
clearable |
|
|
clearable |
|
|
> |
|
|
> |
|
@ -256,14 +239,12 @@ |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item v-show="crud.status.edit" label="载具编码" prop="vehicle_code"> |
|
|
<el-form-item v-show="crud.status.edit" label="载具编码" prop="vehicle_code"> |
|
|
<el-input v-model="form.vehicle_code" clearable style="width: 300px" /> |
|
|
<el-input v-model="form.vehicle_code" placeholder="载具编码" clearable style="width: 300px" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<!-- <el-form-item label="关联设备" prop="device_code"> |
|
|
<el-form-item label="关联设备" prop="device_code"> |
|
|
<el-select |
|
|
<el-select |
|
|
v-model="form.device_code" |
|
|
v-model="form.device_code" |
|
|
size="mini" |
|
|
|
|
|
placeholder="关联设备" |
|
|
placeholder="关联设备" |
|
|
class="filter-item" |
|
|
|
|
|
style="width: 300px" |
|
|
style="width: 300px" |
|
|
clearable |
|
|
clearable |
|
|
> |
|
|
> |
|
@ -274,7 +255,7 @@ |
|
|
:value="item.device_code" |
|
|
:value="item.device_code" |
|
|
/> |
|
|
/> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item>--> |
|
|
</el-form-item> |
|
|
<el-form-item label="备注"> |
|
|
<el-form-item label="备注"> |
|
|
<el-input v-model="form.remark" style="width: 300px" rows="2" type="textarea" /> |
|
|
<el-input v-model="form.remark" style="width: 300px" rows="2" type="textarea" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
@ -294,35 +275,37 @@ |
|
|
@selection-change="crud.selectionChangeHandler" |
|
|
@selection-change="crud.selectionChangeHandler" |
|
|
> |
|
|
> |
|
|
<el-table-column type="selection" width="55" /> |
|
|
<el-table-column type="selection" width="55" /> |
|
|
<el-table-column prop="point_code" label="点位编码" width="120" show-overflow-tooltip /> |
|
|
<el-table-column prop="point_code" label="点位编码" :min-width="flexWidth('point_code',crud.data,'点位编码')" /> |
|
|
<el-table-column prop="point_name" label="点位名称" width="150" show-overflow-tooltip /> |
|
|
<el-table-column prop="point_name" label="点位名称" :min-width="flexWidth('point_name',crud.data,'点位名称')" /> |
|
|
<el-table-column prop="region_name" label="所属区域" min-width="80" show-overflow-tooltip /> |
|
|
<el-table-column prop="region_name" label="所属区域" :min-width="flexWidth('region_name',crud.data,'所属区域')" /> |
|
|
<el-table-column prop="point_type_name" label="点位类型" min-width="120" /> |
|
|
<el-table-column prop="point_type_name" label="点位类型" :min-width="flexWidth('point_type_name',crud.data,'点位类型')" /> |
|
|
<el-table-column prop="point_status" label="点位状态"> |
|
|
<el-table-column prop="point_status" label="点位状态" :min-width="flexWidth('point_status',crud.data,'点位状态')"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
{{ dict.label.point_status[scope.row.point_status] }} |
|
|
{{ dict.label.point_status[scope.row.point_status] }} |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="lock_type" label="锁定类型"> |
|
|
<el-table-column prop="lock_type" label="锁定类型" :min-width="flexWidth('lock_type',crud.data,'锁定类型')"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
{{ dict.label.lock_type[scope.row.lock_type] }} |
|
|
{{ dict.label.lock_type[scope.row.lock_type] }} |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="is_used" label="是否启用"> |
|
|
<el-table-column prop="is_used" label="是否启用" :min-width="flexWidth('is_used',crud.data,'是否启用')"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
{{ dict.label.true_or_false[scope.row.is_used] }} |
|
|
{{ dict.label.true_or_false[scope.row.is_used] }} |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="vehicle_type" label="载具类型" min-width="80"> |
|
|
<el-table-column prop="vehicle_type" label="载具类型" :min-width="flexWidth('vehicle_type',crud.data,'载具类型')"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
{{ dict.label.vehicle_type[scope.row.vehicle_type] }} |
|
|
{{ dict.label.vehicle_type[scope.row.vehicle_type] }} |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="vehicle_code" label="载具编码" min-width="80" /> |
|
|
<el-table-column prop="vehicle_code" label="载具编码" :min-width="flexWidth('vehicle_code',crud.data,'载具编码')" /> |
|
|
<el-table-column prop="material_code" label="物料编码" min-width="260" /> |
|
|
<el-table-column prop="material_code" label="物料编码" :min-width="flexWidth('material_code',crud.data,'物料编码')" /> |
|
|
<el-table-column prop="remark" label="备注" min-width="100" show-overflow-tooltip /> |
|
|
<el-table-column prop="remark" label="备注" :min-width="flexWidth('remark',crud.data,'备注')" show-overflow-tooltip /> |
|
|
<el-table-column prop="update_optname" label="修改人" /> |
|
|
<el-table-column prop="create_name" label="创建人" :min-width="flexWidth('create_name',crud.data,'创建人')" /> |
|
|
<el-table-column prop="update_time" label="修改时间" width="150" /> |
|
|
<el-table-column prop="create_time" label="创建时间" :min-width="flexWidth('create_time',crud.data,'创建时间')" /> |
|
|
|
|
|
<el-table-column prop="update_optname" label="修改人" :min-width="flexWidth('update_optname',crud.data,'修改人')" /> |
|
|
|
|
|
<el-table-column prop="update_time" label="修改时间" :min-width="flexWidth('update_time',crud.data,'修改时间')" /> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
v-permission="[]" |
|
|
v-permission="[]" |
|
|
label="操作" |
|
|
label="操作" |
|
|