|
@ -23,6 +23,11 @@ |
|
|
v-model:currentPage="tableObject.currentPage" |
|
|
v-model:currentPage="tableObject.currentPage" |
|
|
v-model:sort="tableObject.sort" |
|
|
v-model:sort="tableObject.sort" |
|
|
> |
|
|
> |
|
|
|
|
|
<template #default="{row}"> |
|
|
|
|
|
<el-button type="primary" link @click="openDetail(row.id)"> |
|
|
|
|
|
<span>{{ row.itemCode }}</span> |
|
|
|
|
|
</el-button> |
|
|
|
|
|
</template> |
|
|
<template #action="{ row }"> |
|
|
<template #action="{ row }"> |
|
|
<ButtonBase |
|
|
<ButtonBase |
|
|
:Butttondata="butttondata" |
|
|
:Butttondata="butttondata" |
|
@ -93,7 +98,7 @@ const buttonBaseClick = (val, item) => { |
|
|
|
|
|
|
|
|
// 列表-操作按钮 |
|
|
// 列表-操作按钮 |
|
|
const butttondata = [ |
|
|
const butttondata = [ |
|
|
defaultButtons.mainListDetailBtn(null), // 详情 |
|
|
// defaultButtons.mainListDetailBtn(null), // 详情 |
|
|
defaultButtons.mainListEditBtn({hasPermi:'wms:itempackaging:update'}), // 编辑 |
|
|
defaultButtons.mainListEditBtn({hasPermi:'wms:itempackaging:update'}), // 编辑 |
|
|
defaultButtons.mainListDeleteBtn({hasPermi:'wms:itempackaging:delete'}), // 删除 |
|
|
defaultButtons.mainListDeleteBtn({hasPermi:'wms:itempackaging:delete'}), // 删除 |
|
|
] |
|
|
] |
|
|