货位更新
This commit is contained in:
@@ -375,7 +375,7 @@ export default {
|
||||
get_device_code1: '',
|
||||
get_device_code2: '',
|
||||
load_device_code: '',
|
||||
put_device_code: '',
|
||||
put_device_code1: '',
|
||||
put_device_code2: '',
|
||||
configLoading: false,
|
||||
dataOpcservers: [],
|
||||
|
||||
@@ -2,6 +2,18 @@
|
||||
<div class="app-container">
|
||||
<!--工具栏-->
|
||||
<div class="head-container">
|
||||
<div v-if="crud.props.searchToggle">
|
||||
<el-input
|
||||
v-model="query.blurry"
|
||||
size="small"
|
||||
clearable
|
||||
placeholder="请输入编码或地址"
|
||||
style="width: 200px;"
|
||||
class="filter-item"
|
||||
@keyup.enter.native="crud.toQuery"
|
||||
/>
|
||||
<rrOperation />
|
||||
</div>
|
||||
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'-->
|
||||
<crudOperation :permission="permission" />
|
||||
<!--表单组件-->
|
||||
@@ -67,13 +79,15 @@
|
||||
import crudStorageCell from '@/api/acs/device/storageCell'
|
||||
import CRUD, { presenter, header, form, crud } from '@crud/crud'
|
||||
import crudOperation from '@crud/CRUD.operation'
|
||||
import rrOperation from '@crud/RR.operation'
|
||||
import udOperation from '@crud/UD.operation'
|
||||
import pagination from '@crud/Pagination'
|
||||
|
||||
const defaultForm = { storage_id: null, storage_code: null, x: null, y: null, z: null, address: null, remark: null, is_active: null, is_delete: null, create_by: null, create_time: null, update_by: null, update_time: null, parent_storage_code: null }
|
||||
export default {
|
||||
name: 'StorageCell',
|
||||
components: { pagination, crudOperation, udOperation },
|
||||
// eslint-disable-next-line no-undef
|
||||
components: { pagination, crudOperation, udOperation, rrOperation },
|
||||
mixins: [presenter(), header(), form(defaultForm), crud()],
|
||||
cruds() {
|
||||
return CRUD({ title: '库位管理', url: 'api/storageCell', idField: 'storage_id', sort: 'storage_id,desc', crudMethod: { ...crudStorageCell }})
|
||||
|
||||
Reference in New Issue
Block a user