index.ts 704 B

12345678910111213141516
  1. /** ================================= 仓库信息 ================================**/
  2. import { commonSearch_go } from "@/goServiceAPI";
  3. import { ErmcpWareHouseInfo, WareHouseInfoReq } from "@/goServiceAPI/ermcp/warehouse-info/interface";
  4. /**
  5. * 查询仓库信息 /Ermcp/QueryWarehouseInfo
  6. * @param req.userid 用户id(必填)
  7. * @param req.status 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  8. * @constructor
  9. */
  10. export function QueryWareHouse(req: WareHouseInfoReq): Promise<ErmcpWareHouseInfo[]> {
  11. return commonSearch_go('/Ermcp/QueryWarehouseInfo', req)
  12. .catch(err => {
  13. throw new Error(`查询仓库信息: ${err.message}`);
  14. })
  15. }