From 01b8a2ba6ed0d47e62ec4111e1254e8129379304 Mon Sep 17 00:00:00 2001 From: jia <1451658316@qq.com> Date: Thu, 4 Jan 2024 18:07:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=90=E6=96=99=E8=AE=BE=E7=BD=AE=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/material_classify.ts | 31 ++ src/api/material_list.ts | 27 ++ src/api/material_warehouse.ts | 27 ++ src/components/product/index.vue | 20 +- .../Materialmanagement/detail.vue | 283 ----------------- .../edit.vue | 6 +- .../warehousemanagement/detail.vue | 283 ----------------- .../bid_document_examination_detail/edit.vue | 4 +- src/views/material_classify/detail.vue | 180 +++++++++++ src/views/material_classify/edit.vue | 147 +++++++++ src/views/material_classify/index.vue | 137 ++++++++ src/views/material_list/detail.vue | 182 +++++++++++ src/views/material_list/edit.vue | 293 ++++++++++++++++++ .../index.vue | 100 +++--- src/views/material_warehouse/detail.vue | 194 ++++++++++++ .../edit.vue | 153 ++++----- .../index.vue | 75 ++--- src/views/project_alarm_set/edit.vue | 2 +- src/views/project_cost_temp_set/edit.vue | 8 +- src/views/project_document_set/edit.vue | 15 +- src/views/project_logs/edit.vue | 28 +- src/views/project_pre_sales_members/edit.vue | 21 +- src/views/project_profit_set/edit.vue | 4 +- src/views/project_role_set/edit.vue | 4 +- src/views/project_wbs_set/edit.vue | 10 +- src/views/quotation/edit.vue | 85 +++-- src/views/quotation/index.vue | 2 +- src/views/transfer_bill/index.vue | 2 +- 28 files changed, 1484 insertions(+), 839 deletions(-) create mode 100644 src/api/material_classify.ts create mode 100644 src/api/material_list.ts create mode 100644 src/api/material_warehouse.ts delete mode 100644 src/views/Materialmanagement/Materialmanagement/detail.vue rename src/views/Materialmanagement/{Materialmanagement => material_list}/edit.vue (99%) delete mode 100644 src/views/Materialmanagement/warehousemanagement/detail.vue create mode 100644 src/views/material_classify/detail.vue create mode 100644 src/views/material_classify/edit.vue create mode 100644 src/views/material_classify/index.vue create mode 100644 src/views/material_list/detail.vue create mode 100644 src/views/material_list/edit.vue rename src/views/{Materialmanagement/Materialmanagement => material_list}/index.vue (67%) create mode 100644 src/views/material_warehouse/detail.vue rename src/views/{Materialmanagement/warehousemanagement => material_warehouse}/edit.vue (69%) rename src/views/{Materialmanagement/warehousemanagement => material_warehouse}/index.vue (69%) diff --git a/src/api/material_classify.ts b/src/api/material_classify.ts new file mode 100644 index 0000000..6c2eaa3 --- /dev/null +++ b/src/api/material_classify.ts @@ -0,0 +1,31 @@ +import request from '@/utils/request' + +// 材料分类列表 +export function apimaterialLists(params: any) { + return request.get({ url: '/material.material_classify/lists', params }) +} + +// 添加材料分类 +export function apimaterialAdd(params: any) { + return request.post({ url: '/material.material_classify/add', params }) +} + +// 编辑材料分类 +export function apimaterialEdit(params: any) { + return request.post({ url: '/material.material_classify/edit', params }) +} + +// 删除材料分类 +export function apimaterialDelete(params: any) { + return request.post({ url: '/material.material_classify/delete', params }) +} + +// 材料分类详情 +export function apimaterialDetail(params: any) { + return request.get({ url: '/material.material_classify/detail', params }) +} + +//某个分类下的子分类列表 +export function apimaterialDatas(params: any) { + return request.get({ url: '/material.material_classify/datas', params }) +} diff --git a/src/api/material_list.ts b/src/api/material_list.ts new file mode 100644 index 0000000..db8f562 --- /dev/null +++ b/src/api/material_list.ts @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +// 材料分类列表 +export function materialLists(params: any) { + return request.get({ url: '/material.material/lists', params }) +} + +// 添加材料分类 +export function materialAdd(params: any) { + return request.post({ url: '/material.material/add', params }) +} + +// 编辑材料分类 +export function materialEdit(params: any) { + return request.post({ url: '/material.material/edit', params }) +} + +// 删除材料分类 +export function materialDelete(params: any) { + return request.post({ url: '/material.material/delete', params }) +} + +// 材料分类详情 +export function materialDetail(params: any) { + return request.get({ url: '/material.material/detail', params }) +} + diff --git a/src/api/material_warehouse.ts b/src/api/material_warehouse.ts new file mode 100644 index 0000000..b9b25c9 --- /dev/null +++ b/src/api/material_warehouse.ts @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +// 仓库管理列表 +export function materialwarehouseLists(params: any) { + return request.get({ url: '/material.material_warehouse/lists', params }) +} + +// 添加仓库管理 +export function materialwarehouseAdd(params: any) { + return request.post({ url: '/material.material_warehouse/add', params }) +} + +// 编辑仓库管理 +export function materialwarehouseEdit(params: any) { + return request.post({ url: '/material.material_warehouse/edit', params }) +} + +// 删除仓库管理 +export function materialwarehouseDelete(params: any) { + return request.post({ url: '/material.material_warehouse/delete', params }) +} + +// 仓库管理详情 +export function materialwarehouseDetail(params: any) { + return request.get({ url: '/material.material_warehouse/detail', params }) +} + diff --git a/src/components/product/index.vue b/src/components/product/index.vue index db988a6..db623fe 100644 --- a/src/components/product/index.vue +++ b/src/components/product/index.vue @@ -16,13 +16,15 @@