feat:【ele】【erp】stock 的迁移(30%)- check
This commit is contained in:
@@ -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]),
|
||||||
|
|||||||
@@ -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]),
|
||||||
|
|||||||
@@ -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]),
|
||||||
|
|||||||
@@ -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]),
|
||||||
|
|||||||
@@ -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]),
|
||||||
|
|||||||
@@ -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]),
|
||||||
|
|||||||
@@ -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' },
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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]),
|
||||||
|
|||||||
@@ -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]),
|
||||||
|
|||||||
@@ -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]),
|
||||||
|
|||||||
@@ -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]),
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user