From 9e271b147db81153ad037b62de8051df64dfa612 Mon Sep 17 00:00:00 2001 From: xs Date: Wed, 26 Mar 2025 17:24:13 +0800 Subject: [PATCH] =?UTF-8?q?1.3.1=20=E5=89=8D=E7=AB=AF=EF=BC=9A=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E8=AE=A1=E5=88=92=E7=94=B1=E9=80=89=E6=8B=A9=E7=89=A9?= =?UTF-8?q?=E6=96=99bom=E6=94=B9=E4=B8=BA=E9=80=89=E6=8B=A9=E7=89=A9?= =?UTF-8?q?=E6=96=99bom=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/planInfo/index.ts | 26 ++ src/views/mes/planInfo/index.vue | 455 ++++++++++++++++++------------- 2 files changed, 288 insertions(+), 193 deletions(-) diff --git a/src/api/mes/planInfo/index.ts b/src/api/mes/planInfo/index.ts index bc70cac..a8b1059 100644 --- a/src/api/mes/planInfo/index.ts +++ b/src/api/mes/planInfo/index.ts @@ -1,6 +1,7 @@ import request from '@/utils/request'; import { AxiosPromise } from 'axios'; import { PlanInfoVO, PlanInfoForm, PlanInfoQuery } from '@/api/mes/planInfo/types'; +import {MaterialBomQuery, MaterialBomVO} from "@/api/mes/materialBom/types"; /** * 查询生产工单信息列表 @@ -134,3 +135,28 @@ export const queryMoritorList = (query?: PlanInfoQuery): AxiosPromise => { + return request({ + url: '/mes/planInfo/materialBomTreeSelect', + method: 'get', + params:query + }); +}; + + +/** + * 查询物料bom版本下拉树结构 + */ +export const materialBomVersionSelect = (query?: MaterialBomQuery): AxiosPromise => { + return request({ + url: '/mes/planInfo/materialBomVersionSelect', + method: 'get', + params:query + }); +}; + diff --git a/src/views/mes/planInfo/index.vue b/src/views/mes/planInfo/index.vue index 955b1ca..6575de9 100644 --- a/src/views/mes/planInfo/index.vue +++ b/src/views/mes/planInfo/index.vue @@ -10,11 +10,11 @@ + @keyup.enter='handleQuery'/> + @keyup.enter='handleQuery'/> @@ -42,7 +42,7 @@ - + @@ -53,7 +53,7 @@ - + @@ -113,36 +113,36 @@ - - + + - - - - - - - - + width='100'/> + + + + + + + + + width='100'/> - - - - - + + + + + - + - - - + + + - + @@ -202,7 +202,7 @@ + v-model:limit='queryParams.pageSize' @pagination='getList'/> @@ -226,20 +226,31 @@ - - - - + + + + + + + + + + + + + + + @@ -290,7 +301,7 @@ - + @@ -315,7 +326,7 @@ - + @@ -348,7 +359,7 @@ - +