feat:【ele】【erp】stock 的迁移(50%)- in

This commit is contained in:
YunaiV
2025-11-16 18:36:53 +08:00
parent 1810c5dc4a
commit cb9aaa338c
10 changed files with 21 additions and 6 deletions

View File

@@ -196,6 +196,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
{
label: row.status === 10 ? '审批' : '反审批',
type: 'link',
icon: ACTION_ICON.AUDIT,
auth: ['erp:stock-check:update-status'],
popConfirm: {
title: `确认${row.status === 10 ? '审批' : '反审批'}${row.no}吗?`,
@@ -210,6 +211,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'),
type: 'link',
danger: true,
icon: ACTION_ICON.DELETE,
auth: ['erp:stock-check:delete'],
popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -193,6 +193,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
{
label: row.status === 10 ? '审批' : '反审批',
type: 'link',
icon: ACTION_ICON.AUDIT,
auth: ['erp:stock-in:update-status'],
popConfirm: {
title: `确认${row.status === 10 ? '审批' : '反审批'}${row.no}吗?`,
@@ -207,6 +208,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'),
type: 'link',
danger: true,
icon: ACTION_ICON.DELETE,
auth: ['erp:stock-in:delete'],
popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -196,6 +196,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
{
label: row.status === 10 ? '审批' : '反审批',
type: 'link',
icon: ACTION_ICON.AUDIT,
auth: ['erp:stock-move:update-status'],
popConfirm: {
title: `确认${row.status === 10 ? '审批' : '反审批'}${row.no}吗?`,
@@ -210,6 +211,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'),
type: 'link',
danger: true,
icon: ACTION_ICON.DELETE,
auth: ['erp:stock-move:delete'],
popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -196,6 +196,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
{
label: row.status === 10 ? '审批' : '反审批',
type: 'link',
icon: ACTION_ICON.AUDIT,
auth: ['erp:stock-out:update-status'],
popConfirm: {
title: `确认${row.status === 10 ? '审批' : '反审批'}${row.no}吗?`,
@@ -210,6 +211,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'),
type: 'link',
danger: true,
icon: ACTION_ICON.DELETE,
auth: ['erp:stock-out:delete'],
popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]),