diff --git a/src/api/orderItem.ts b/src/api/orderItem.ts index d139477..18acab9 100644 --- a/src/api/orderItem.ts +++ b/src/api/orderItem.ts @@ -81,6 +81,17 @@ export const orderItemApi = { preCreation(data: any) { return request({ url: '/biz/orderItem/preCreation', method: 'post', data }) }, + + //查询项目名称 + xmoptions(params: any) { + return request({ url: '/biz/orderProject/options', method: 'get', params }) + }, + + //根据项目查询物料 + wloptions(params: any) { //projectId + return request({ url: '/biz/orderItem/options', method: 'get', params }) + }, + // 导出 export(params?: { ids?: string[]; code?: string; projectId?: number; beginTime?: string; endTime?: string }) { const p: Record = {}