feat:【ele】【erp】stock 的迁移(30%)- check

This commit is contained in:
YunaiV
2025-11-16 18:29:24 +08:00
parent 14016b8d4e
commit 1810c5dc4a
12 changed files with 12 additions and 11 deletions

View File

@@ -210,7 +210,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'), label: $t('common.delete'),
type: 'link', type: 'link',
danger: true, danger: true,
color: 'error',
auth: ['erp:purchase-in:delete'], auth: ['erp:purchase-in:delete'],
popConfirm: { popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]), title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -210,7 +210,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'), label: $t('common.delete'),
type: 'link', type: 'link',
danger: true, danger: true,
color: 'error',
auth: ['erp:purchase-order:delete'], auth: ['erp:purchase-order:delete'],
popConfirm: { popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]), title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -210,7 +210,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'), label: $t('common.delete'),
type: 'link', type: 'link',
danger: true, danger: true,
color: 'error',
auth: ['erp:purchase-return:delete'], auth: ['erp:purchase-return:delete'],
popConfirm: { popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]), title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -210,7 +210,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'), label: $t('common.delete'),
type: 'link', type: 'link',
danger: true, danger: true,
color: 'error',
auth: ['erp:sale-order:delete'], auth: ['erp:sale-order:delete'],
popConfirm: { popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]), title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -207,7 +207,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'), label: $t('common.delete'),
type: 'link', type: 'link',
danger: true, danger: true,
color: 'error',
auth: ['erp:sale-out:delete'], auth: ['erp:sale-out:delete'],
popConfirm: { popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]), title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -210,7 +210,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'), label: $t('common.delete'),
type: 'link', type: 'link',
danger: true, danger: true,
color: 'error',
auth: ['erp:sale-return:delete'], auth: ['erp:sale-return:delete'],
popConfirm: { popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]), title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -296,7 +296,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
}, },
{ {
title: '操作', title: '操作',
width: 220, width: 260,
fixed: 'right', fixed: 'right',
slots: { default: 'actions' }, slots: { default: 'actions' },
}, },

View File

@@ -210,7 +210,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'), label: $t('common.delete'),
type: 'link', type: 'link',
danger: true, danger: true,
color: 'error',
auth: ['erp:stock-check:delete'], auth: ['erp:stock-check:delete'],
popConfirm: { popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]), title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -207,7 +207,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'), label: $t('common.delete'),
type: 'link', type: 'link',
danger: true, danger: true,
color: 'error',
auth: ['erp:stock-in:delete'], auth: ['erp:stock-in:delete'],
popConfirm: { popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]), title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -210,7 +210,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'), label: $t('common.delete'),
type: 'link', type: 'link',
danger: true, danger: true,
color: 'error',
auth: ['erp:stock-move:delete'], auth: ['erp:stock-move:delete'],
popConfirm: { popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]), title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -210,7 +210,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'), label: $t('common.delete'),
type: 'link', type: 'link',
danger: true, danger: true,
color: 'error',
auth: ['erp:stock-out:delete'], auth: ['erp:stock-out:delete'],
popConfirm: { popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]), title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -158,6 +158,17 @@ const [Grid, gridApi] = useVbenVxeGrid({
auth: ['erp:stock-check:export'], auth: ['erp:stock-check:export'],
onClick: handleExport, onClick: handleExport,
}, },
{
label: '批量删除',
type: 'danger',
disabled: isEmpty(checkedIds),
icon: ACTION_ICON.DELETE,
auth: ['erp:stock-check:delete'],
popConfirm: {
title: `是否删除所选中数据?`,
confirm: handleDelete.bind(null, checkedIds),
},
},
]" ]"
/> />
</template> </template>