From dbb649d1cee790f680f91b4fe52275c1d278071a Mon Sep 17 00:00:00 2001 From: tcy <1193318383@qq.com> Date: Sat, 23 Aug 2025 04:36:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=80=BC=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/materials/batchPlan/index.ts | 10 + src/api/out/monthPlan/index.ts | 23 ++ src/api/out/purchase/index.ts | 24 ++ .../constructionSchedulePlan/index.ts | 10 + src/views/materials/batchPlan/index.vue | 117 ++++----- src/views/out/constructionValue/index.vue | 240 ++++++++---------- src/views/out/purchase/comm/purchPage.vue | 180 +++++++++++++ src/views/out/purchase/index.vue | 28 ++ .../constructionSchedulePlan/index.vue | 102 ++++---- src/views/system/dept/index.vue | 58 ++--- 10 files changed, 518 insertions(+), 274 deletions(-) create mode 100644 src/api/out/purchase/index.ts create mode 100644 src/views/out/purchase/comm/purchPage.vue create mode 100644 src/views/out/purchase/index.vue diff --git a/src/api/materials/batchPlan/index.ts b/src/api/materials/batchPlan/index.ts index 8633eee..0866153 100644 --- a/src/api/materials/batchPlan/index.ts +++ b/src/api/materials/batchPlan/index.ts @@ -143,3 +143,13 @@ export const getDictList = (query: any): AxiosPromise => { params: query }); }; +/** + * 获取到物资状态为已完成的版本 + */ +export const obtainTheVersion = (query: any) => { + return request({ + url: '/cailiaoshebei/mrpBase/obtainTheVersion', + method: 'get', + params: query + }); +}; diff --git a/src/api/out/monthPlan/index.ts b/src/api/out/monthPlan/index.ts index b902124..48f376f 100644 --- a/src/api/out/monthPlan/index.ts +++ b/src/api/out/monthPlan/index.ts @@ -98,3 +98,26 @@ export const getMonthInfo = (query): AxiosPromise => { params: query }); }; +/** + * 修改采购完工产值对甲 + + * @param id + */ +export const purchaseValueAup = (query) => { + return request({ + url: '/out/monthPlan/purchaseValueAup', + method: 'get', + params: query + }); +}; +/** + * 采购完工产值对甲 + * @param id + */ +export const purchaseValueA = (query) => { + return request({ + url: '/out/monthPlan/purchaseValueA', + method: 'get', + params: query + }); +}; \ No newline at end of file diff --git a/src/api/out/purchase/index.ts b/src/api/out/purchase/index.ts new file mode 100644 index 0000000..410a1cd --- /dev/null +++ b/src/api/out/purchase/index.ts @@ -0,0 +1,24 @@ +import request from '@/utils/request'; +/** + * 修改采购完工产值对甲 + + * @param id + */ +export const purchaseValueAup = (query) => { + return request({ + url: '/out/monthPlan/purchaseValueAup', + method: 'get', + params: query + }); +}; +/** + * 采购完工产值对甲 + * @param id + */ +export const purchaseValueA = (query) => { + return request({ + url: '/out/monthPlan/purchaseValueA', + method: 'get', + params: query + }); +}; \ No newline at end of file diff --git a/src/api/progress/constructionSchedulePlan/index.ts b/src/api/progress/constructionSchedulePlan/index.ts index 3a7352d..fec34f8 100644 --- a/src/api/progress/constructionSchedulePlan/index.ts +++ b/src/api/progress/constructionSchedulePlan/index.ts @@ -61,3 +61,13 @@ export const delConstructionSchedulePlan = (id: string | number | Array) => { + return request({ + url: '/project/project/projectStructure/' + id, + method: 'get' + }); +}; diff --git a/src/views/materials/batchPlan/index.vue b/src/views/materials/batchPlan/index.vue index fb9ae9b..d29a31b 100644 --- a/src/views/materials/batchPlan/index.vue +++ b/src/views/materials/batchPlan/index.vue @@ -6,43 +6,20 @@ - - + + - + @@ -65,14 +36,12 @@