feat(@vben/web-antd): erp-stock-in 优化库存入库模块

- 为表格列设置 minWidth 以优化布局
- 使用 Popconfirm组件替代 Modal 确认框
- 通过 message 组件展示操作结果
- 优化删除和审核操作的处理流程
- 引入 useVbenModal 优化表单弹窗
This commit is contained in:
nehc
2025-08-01 16:11:05 +08:00
parent 510ec12582
commit 3afd957713
3 changed files with 71 additions and 43 deletions

View File

@@ -281,12 +281,12 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
{
field: 'supplierName',
title: '供应商',
width: 120,
minWidth: 120,
},
{
field: 'inTime',
title: '入库时间',
width: 180,
minWidth: 180,
cellRender: {
name: 'CellDateTime',
},
@@ -294,12 +294,12 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
{
field: 'creatorName',
title: '创建人',
width: 100,
minWidth: 100,
},
{
field: 'totalCount',
title: '数量',
width: 100,
minWidth: 100,
cellRender: {
name: 'CellAmount',
props: {
@@ -310,7 +310,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
{
field: 'totalPrice',
title: '金额',
width: 120,
minWidth: 120,
cellRender: {
name: 'CellAmount',
props: {
@@ -321,7 +321,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
{
field: 'status',
title: '状态',
width: 90,
minWidth: 90,
fixed: 'right',
cellRender: {
name: 'CellDict',
@@ -330,7 +330,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
},
{
title: '操作',
width: 220,
width: 300,
fixed: 'right',
slots: { default: 'actions' },
},