|
|
@ -107,7 +107,7 @@ const updataTableColumns = (val) => { |
|
|
|
} |
|
|
|
|
|
|
|
const { tableObject, tableMethods } = useTable({ |
|
|
|
getListApi: BalanceApi.getBalanceByQJ // 分页接口 |
|
|
|
getListApi: BalanceApi.getBalanceByQJToScrap // 分页接口 |
|
|
|
}) |
|
|
|
|
|
|
|
// 获得表格的各种操作 |
|
|
@ -150,9 +150,11 @@ const buttonBaseClick = (val, item) => { |
|
|
|
getList() |
|
|
|
} |
|
|
|
} else if (val == 'filtrate') { // 筛选 |
|
|
|
} else if (val=='selection_point'){// 批量打印 |
|
|
|
handleSelectionPoint() |
|
|
|
} else { // 其他按钮 |
|
|
|
} |
|
|
|
// else if (val=='selection_point'){// 批量打印 |
|
|
|
// handleSelectionPoint() |
|
|
|
// } |
|
|
|
else { // 其他按钮 |
|
|
|
console.log('其他按钮', item) |
|
|
|
} |
|
|
|
} |
|
|
@ -220,22 +222,22 @@ const handleSelectionPoint = async ()=>{ |
|
|
|
// window.open(srcPoint.value+'&relateNumber='+rows.join(',')) |
|
|
|
} |
|
|
|
// 列表-操作按钮 |
|
|
|
const butttondata = [ |
|
|
|
{ |
|
|
|
label: '标签信息', |
|
|
|
name: 'bqxx', |
|
|
|
hide: false, |
|
|
|
type: 'primary', |
|
|
|
icon: '', |
|
|
|
color: '', |
|
|
|
link: true, |
|
|
|
float:'right', |
|
|
|
hasPermi: '' |
|
|
|
}, |
|
|
|
defaultButtons.mainListPointBtn(null), // 标签打印 |
|
|
|
// defaultButtons.mainListEditBtn({hasPermi:'wms:balance:update'}), // 编辑 |
|
|
|
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:balance:delete'}), // 删除 |
|
|
|
] |
|
|
|
// const butttondata = [ |
|
|
|
// { |
|
|
|
// label: '标签信息', |
|
|
|
// name: 'bqxx', |
|
|
|
// hide: false, |
|
|
|
// type: 'primary', |
|
|
|
// icon: '', |
|
|
|
// color: '', |
|
|
|
// link: true, |
|
|
|
// float:'right', |
|
|
|
// hasPermi: '' |
|
|
|
// }, |
|
|
|
// defaultButtons.mainListPointBtn(null), // 标签打印 |
|
|
|
// // defaultButtons.mainListEditBtn({hasPermi:'wms:balance:update'}), // 编辑 |
|
|
|
// // defaultButtons.mainListDeleteBtn({hasPermi:'wms:balance:delete'}), // 删除 |
|
|
|
// ] |
|
|
|
|
|
|
|
// 列表-操作按钮事件 |
|
|
|
const buttonTableClick = async (val, row) => { |
|
|
|