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 @@