|
|
@ -204,11 +204,24 @@ const handleSelectionPoint = async ()=>{ |
|
|
|
} |
|
|
|
// 列表-操作按钮 |
|
|
|
const butttondata = (row,$index) => { |
|
|
|
return [] |
|
|
|
return [ |
|
|
|
{ |
|
|
|
label: t('ts.查看明细'), |
|
|
|
name: 'open_detail', |
|
|
|
type: 'primary', |
|
|
|
icon: '', |
|
|
|
color: '', |
|
|
|
hasPermi: 'wms:supplierinvoice-request-main:view-detail', |
|
|
|
link: true, // 文本展现按钮 |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
|
// 列表-操作按钮事件 |
|
|
|
const buttonTableClick = async (val, row) => { |
|
|
|
if (val == 'open_detail') { // 查看明细 |
|
|
|
openDetail(row, '单据号', row.number) |
|
|
|
} |
|
|
|
} |
|
|
|
// 获取部门 用于详情 部门回显 |
|
|
|
const { wsCache } = useCache() |
|
|
|