新增销售权限管理模块,包含以下功能: 1. 在用户模块添加id字段用于权限控制 2. 重构CoilSelector组件支持销售视角权限过滤 3. 新增销售权限分配页面,支持钢卷分配与移除 4. 优化表格样式和交互体验 组件现在支持根据用户权限动态显示和过滤钢卷数据,管理员可在新页面为销售分配钢卷权限
52 lines
868 B
JavaScript
52 lines
868 B
JavaScript
export const defaultColumns = [
|
|
{
|
|
label: '卷号',
|
|
align: 'center',
|
|
prop: 'currentCoilNo',
|
|
showOverflowTooltip: true
|
|
},
|
|
{
|
|
label: '存储位置',
|
|
align: 'center',
|
|
prop: 'actualWarehouseName',
|
|
width: '120',
|
|
showOverflowTooltip: true
|
|
},
|
|
{
|
|
label: '物料',
|
|
align: 'center',
|
|
prop: 'itemName',
|
|
width: '100'
|
|
},
|
|
{
|
|
label: '规格',
|
|
align: 'center',
|
|
prop: 'specification',
|
|
width: '100'
|
|
},
|
|
{
|
|
label: '材质',
|
|
align: 'center',
|
|
prop: 'material',
|
|
width: '100'
|
|
},
|
|
{
|
|
label: '厂家',
|
|
align: 'center',
|
|
prop: 'manufacturer',
|
|
width: '100'
|
|
},
|
|
{
|
|
label: '重量(t)',
|
|
align: 'center',
|
|
prop: 'netWeight',
|
|
width: '100'
|
|
},
|
|
{
|
|
label: '库区',
|
|
align: 'center',
|
|
prop: 'warehouseName',
|
|
width: '120',
|
|
showOverflowTooltip: true
|
|
},
|
|
] |