|
|
@ -130,12 +130,21 @@ const butttondata = (row,$index) => { |
|
|
|
if(findIndex>-1&&findIndex<$index){ |
|
|
|
return [] |
|
|
|
} |
|
|
|
return [defaultButtons.mainListPointBtn(null)] // 标签打印 |
|
|
|
return [defaultButtons.mainListPointBtn({ |
|
|
|
label: t(`ts.打印标签`).replace('ts.', ''), |
|
|
|
name: 'point', |
|
|
|
hide: false, |
|
|
|
type: row.isClick?'warning':'primary', |
|
|
|
color: '', |
|
|
|
link: true, // 文本展现按钮 |
|
|
|
hasPermi: '' |
|
|
|
})] // 标签打印 |
|
|
|
} |
|
|
|
|
|
|
|
// 列表-操作按钮事件 |
|
|
|
const buttonTableClick = async (val, row) => { |
|
|
|
if (val == 'point') { // 标签打印 |
|
|
|
row.isClick = true |
|
|
|
handlePoint(row) |
|
|
|
} |
|
|
|
} |
|
|
|