From 031140a241984926837f72f5de5a96fb4c02d18d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=A1=E9=92=B1?= Date: Mon, 10 Mar 2025 13:46:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E4=BA=A7=E5=93=81=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E5=B1=9E=E6=80=A7=E5=80=BC=E7=9B=B8=E5=85=B3=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productcategorypropertiesvalue/index.ts | 41 ++++ .../ProductCategoryPropertiesValueForm.vue | 106 +++++++++ .../productcategorypropertiesvalue/index.vue | 209 ++++++++++++++++++ 3 files changed, 356 insertions(+) create mode 100644 src/api/erp/product/category/productcategoryproperties/productcategorypropertiesvalue/index.ts create mode 100644 src/views/erp/product/category/productcategorypropertiesvalue/ProductCategoryPropertiesValueForm.vue create mode 100644 src/views/erp/product/category/productcategorypropertiesvalue/index.vue diff --git a/src/api/erp/product/category/productcategoryproperties/productcategorypropertiesvalue/index.ts b/src/api/erp/product/category/productcategoryproperties/productcategorypropertiesvalue/index.ts new file mode 100644 index 000000000..98ef41ea7 --- /dev/null +++ b/src/api/erp/product/category/productcategoryproperties/productcategorypropertiesvalue/index.ts @@ -0,0 +1,41 @@ +import request from '@/config/axios' + +// ERP 产品分类属性值 VO +export interface ProductCategoryPropertiesValueVO { + id: number // 编号 + productCategoryPropertiesId: number // 产品分类属性 + productCategoryPropertiesValue: string // 产品分类属性值 +} + +// ERP 产品分类属性值 API +export const ProductCategoryPropertiesValueApi = { + // 查询ERP 产品分类属性值分页 + getProductCategoryPropertiesValuePage: async (params: any) => { + return await request.get({ url: `/erp/product-category-properties-value/page`, params }) + }, + + // 查询ERP 产品分类属性值详情 + getProductCategoryPropertiesValue: async (id: number) => { + return await request.get({ url: `/erp/product-category-properties-value/get?id=` + id }) + }, + + // 新增ERP 产品分类属性值 + createProductCategoryPropertiesValue: async (data: ProductCategoryPropertiesValueVO) => { + return await request.post({ url: `/erp/product-category-properties-value/create`, data }) + }, + + // 修改ERP 产品分类属性值 + updateProductCategoryPropertiesValue: async (data: ProductCategoryPropertiesValueVO) => { + return await request.put({ url: `/erp/product-category-properties-value/update`, data }) + }, + + // 删除ERP 产品分类属性值 + deleteProductCategoryPropertiesValue: async (id: number) => { + return await request.delete({ url: `/erp/product-category-properties-value/delete?id=` + id }) + }, + + // 导出ERP 产品分类属性值 Excel + exportProductCategoryPropertiesValue: async (params) => { + return await request.download({ url: `/erp/product-category-properties-value/export-excel`, params }) + } +} \ No newline at end of file diff --git a/src/views/erp/product/category/productcategorypropertiesvalue/ProductCategoryPropertiesValueForm.vue b/src/views/erp/product/category/productcategorypropertiesvalue/ProductCategoryPropertiesValueForm.vue new file mode 100644 index 000000000..22b99da9a --- /dev/null +++ b/src/views/erp/product/category/productcategorypropertiesvalue/ProductCategoryPropertiesValueForm.vue @@ -0,0 +1,106 @@ + + \ No newline at end of file diff --git a/src/views/erp/product/category/productcategorypropertiesvalue/index.vue b/src/views/erp/product/category/productcategorypropertiesvalue/index.vue new file mode 100644 index 000000000..7a6378eb7 --- /dev/null +++ b/src/views/erp/product/category/productcategorypropertiesvalue/index.vue @@ -0,0 +1,209 @@ + + + \ No newline at end of file