feat(@vben/web-antd): erp-stock-warehouse 新增仓库管理功能
- 添加仓库管理相关的数据结构和 API 接口 - 实现仓库列表展示、搜索、添加、编辑和删除功能 - 添加仓库默认状态切换和导出功能 - 优化表格展示效果,固定操作列 - 移除不必要的按钮和链接
This commit is contained in:
@@ -225,6 +225,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
|
||||
{
|
||||
field: 'actions',
|
||||
title: '操作',
|
||||
fixed: 'right',
|
||||
width: 160,
|
||||
slots: { default: 'actions' },
|
||||
},
|
||||
|
||||
@@ -77,9 +77,6 @@ const [Modal, modalApi] = useVbenModal({
|
||||
// 编辑模式,加载数据
|
||||
const supplierData = await getSupplier(data.id);
|
||||
await formApi.setValues(supplierData);
|
||||
} else {
|
||||
// 新增模式,重置表单
|
||||
await formApi.resetFields();
|
||||
}
|
||||
} finally {
|
||||
modalApi.unlock();
|
||||
|
||||
Reference in New Issue
Block a user