虚拟清单操作列

This commit is contained in:
zyx.net
2023-02-03 14:36:35 +08:00
parent 05d2249198
commit 3d330d48f3
@@ -647,13 +647,6 @@
width: 240,
scopedSlots: { customRender: 'operation' }
},
{
title: this.$t('operation'),
align: 'left',
fixed: 'right',
width: 140,
scopedSlots: { customRender: 'operationOne' }
}
],
columnsAll: [],
// columnsAll: [
@@ -1231,17 +1224,17 @@
key: 34,
moduleFlag:this.$route.query.title == '虚拟清单详情' ? '虚拟清单详情' : '维护清单',
},
// {
// sort: '',
// disabled:true,
// name: this.$t('operation'),
// headFieldCn:'操作',
// headFieldEn:'Operation',
// key: 35,
// field:'operation',
// moduleFlag:this.$route.query.title == '虚拟清单详情' ? '虚拟清单详情' : '维护清单',
// status:2,
// },
{
sort: '',
disabled:true,
name: this.$t('operation'),
headFieldCn:'操作',
headFieldEn:'Operation',
key: 35,
field:'operation',
moduleFlag:this.$route.query.title == '虚拟清单详情' ? '虚拟清单详情' : '维护清单',
status:2,
},
],
selectedRowKeys: [],
isTrue: false,
@@ -1461,14 +1454,17 @@
item.align = 'left'
if(item.title == '操作'){
item.scopedSlots = {
customRender: 'operationOne'
customRender: 'operation'
}
item.fixed = 'right'
}else if(item.title == '编号'){
item.sorter = true
item.fixed = 'left'
item.scopedSlots = {
customRender: 'standard'
}
}else if(item.title == '标题'){
item.fixed = 'left'
item.scopedSlots = {
customRender: 'titleName'
}