From 87430999e9d63c906271818b8190a8b968025f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=82=E5=88=9D?= <3236758982@qq.com> Date: Wed, 11 Mar 2026 18:00:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E4=BF=A1=E6=81=AF=E7=9A=84?= =?UTF-8?q?=E4=B8=89=E5=BC=A0=E8=A1=A8=E9=80=82=E9=85=8D=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../product/category/ProductCategoryForm.vue | 158 ++++++--- src/views/erp/product/category/index.vue | 264 +++++++-------- src/views/erp/product/product/ProductForm.vue | 302 +++++++++++------- src/views/erp/product/product/index.vue | 272 ++++++++-------- .../erp/product/unit/ProductUnitForm.vue | 124 +++++-- src/views/erp/product/unit/index.vue | 220 ++++++------- 6 files changed, 775 insertions(+), 565 deletions(-) diff --git a/src/views/erp/product/category/ProductCategoryForm.vue b/src/views/erp/product/category/ProductCategoryForm.vue index 488b31e..1a73bf0 100644 --- a/src/views/erp/product/category/ProductCategoryForm.vue +++ b/src/views/erp/product/category/ProductCategoryForm.vue @@ -1,48 +1,67 @@ - - - - - - - - - - - - - - - - - - {{ dict.label }} - - - - - - 确 定 - 取 消 - - + + + + + 基础信息 + + + + + + + + + + + + + + + + 状态信息 + + + + {{ dict.label }} + + + + + + + + + + + + diff --git a/src/views/erp/product/category/index.vue b/src/views/erp/product/category/index.vue index 5400271..0205efb 100644 --- a/src/views/erp/product/category/index.vue +++ b/src/views/erp/product/category/index.vue @@ -1,129 +1,83 @@ - + + + + + + + + + + + - - - - - - - - - - - - - 搜索 - 重置 - - 新增 - - - 导出 - - - 展开/折叠 - - - - + + + 导出 + {{ isExpandAll ? '折叠' : '展开' }} + - - - - - - - - - - - - - - - - 编辑 - - - 删除 - - - - - - - + + + + + + + + + └─ + {{ item.name || '-' }} + + + + + + 编码 + {{ item.code || '-' }} + + + 排序 + {{ item.sort || '-' }} + + + 创建时间 + {{ formatDate(item.createTime) }} + + + + + - - + + + + + + + + + + + 重置 + 确认筛选 + + + + + + + + diff --git a/src/views/erp/product/product/ProductForm.vue b/src/views/erp/product/product/ProductForm.vue index b0f44bd..077e02f 100644 --- a/src/views/erp/product/product/ProductForm.vue +++ b/src/views/erp/product/product/ProductForm.vue @@ -1,40 +1,41 @@ - - - - - - - + + + + + 基础信息 + + - - - - + + - - - + - - - - + + - - - + + + + + + + 价格信息 + + + + + + + + + + + + + 库存信息 + + + + + + + + + + + + + 供应商信息 + + + + + + + + + 其他信息 + + + + + + + 状态信息 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 确 定 - 取 消 - - + + + + + + + + + diff --git a/src/views/erp/product/product/index.vue b/src/views/erp/product/product/index.vue index 1af9168..2b385e9 100644 --- a/src/views/erp/product/product/index.vue +++ b/src/views/erp/product/product/index.vue @@ -1,138 +1,97 @@ - - + + + + + + + + + + + - - - - - - - - - - - 搜索 - 重置 - - 新增 - - - 导出 - - - - + + + 导出 + + + + + + + + + + {{ item.name || '-' }} + + + + + 条码 + {{ item.barCode || '-' }} + + + 规格 + {{ item.standard || '-' }} + + + 分类 + {{ item.categoryName || '-' }} + + + 单位 + {{ item.unitName || '-' }} + + + 供应商 + {{ item.supplierName || '-' }} + + + 货值 + {{ formatPrice(item.minPrice) }} + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 编辑 - - - 删除 - - - - - - + + + - - + + + + + + + + + 重置 + 确认筛选 + + + + + + + + diff --git a/src/views/erp/product/unit/ProductUnitForm.vue b/src/views/erp/product/unit/ProductUnitForm.vue index bced5db..1fa2b69 100644 --- a/src/views/erp/product/unit/ProductUnitForm.vue +++ b/src/views/erp/product/unit/ProductUnitForm.vue @@ -1,32 +1,51 @@ - - - - - - - - - {{ dict.label }} - - - - - - 确 定 - 取 消 - - + + + + + 基础信息 + + + + + + + 状态信息 + + + + {{ dict.label }} + + + + + + + + + + + + diff --git a/src/views/erp/product/unit/index.vue b/src/views/erp/product/unit/index.vue index d36bda6..0577d35 100644 --- a/src/views/erp/product/unit/index.vue +++ b/src/views/erp/product/unit/index.vue @@ -1,115 +1,76 @@ - + + + + + + + + + + + - - - - - - - - - - - - - 搜索 - 重置 - - 新增 - - - 导出 - - - - + + + 导出 + + + + + + + + + + {{ item.name || '-' }} + + + + + 创建时间 + {{ formatDate(item.createTime) }} + + + + + - - - - - - - - - - - - - - 编辑 - - - 删除 - - - - - - + + + - - + + + + + + + + + + + 重置 + 确认筛选 + + + + + + + +