From 4a372c24405c25a87b2f43471a714affa5bb7c7a Mon Sep 17 00:00:00 2001 From: andy <1042025947@qq.com> Date: Tue, 2 Jun 2026 17:07:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/orderItem.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 = {}