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