Browse Source

opt:表处点位设置前端优化

master
zds 3 months ago
parent
commit
32c9e743fb
  1. 10
      lms/nladmin-ui/src/views/b_lms/pdm/ivt/stpointivt/index.vue

10
lms/nladmin-ui/src/views/b_lms/pdm/ivt/stpointivt/index.vue

@ -141,7 +141,7 @@
</template>
</el-table-column>
<el-table-column prop="update_time" label="修改时间" min-width="150" show-overflow-tooltip />
<el-table-column v-permission="[]" label="操作" width="120px" align="center" fixed="right">
<el-table-column v-permission="['admin','stpointivt:edit','stpointivt:del']" label="操作" width="120px" align="center" fixed="right">
<template slot-scope="scope">
<udOperation
:data="scope.row"
@ -167,7 +167,7 @@ import pagination from '@crud/Pagination'
const defaultForm = { point_id: null, point_code: null, product_area: null, point_location: null, up_scroll: null, up_pcsn: null, down_scroll: null, down_pcsn: null, ext_code: null, remark: null, is_used: null, create_id: null, create_name: null, create_time: null, update_optid: null, update_optname: null, update_time: null }
export default {
name: 'SbPointIvt',
name: 'Stpointivt',
components: { pagination, crudOperation, rrOperation, udOperation },
dicts: ['sch_point_status', 'product_area', 'is_used', 'point_location'],
mixins: [presenter(), header(), form(defaultForm), crud()],
@ -176,8 +176,9 @@ export default {
title: '生箔点位库存',
url: 'api/stpointivt',
idField: 'point_id',
sort: 'point_id,desc',
sort: '',
crudMethod: { ...crudStpointivt },
query: { is_used: '1' },
optShow: {
add: false,
edit: false,
@ -190,6 +191,9 @@ export default {
data() {
return {
permission: {
add: ['admin', 'stpointivt:add'],
edit: ['admin', 'stpointivt:edit'],
del: ['admin', 'stpointivt:del']
},
rules: {
point_code: [

Loading…
Cancel
Save