import { Technology } from "@/api/interface/index"; import { PORT1 } from "@/api/config/servicePort"; import http from "@/api"; /** * @name 获取 库存:物料类别 */ export const getL1MtrlType = (params: Technology.ReqMtrlType) => { return http.post(PORT1 + `/GetL1MtrltypeTree`, params); }; /** * @name 获取 物料列表 */ export const getMtrldefList = (params: Technology.ReqMtrldefList) => { return http.post(PORT1 + `/GetERPMtrldefList`, params); }; /** * @name 获取 物料列表 */ export const getMtrldefDetailList = (params: Technology.ReqMtrldefDetailList) => { return http.post(PORT1 + `/GetL1MtrldefDetailList`, params); };