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