Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
yufei0306 6 months ago
parent
commit
e348fdd457
  1. 7
      src/api/wms/preparetoissueDetail/index.ts

7
src/api/wms/preparetoissueDetail/index.ts

@ -18,9 +18,16 @@ export interface PreparetoissueDetailVO {
// 查询备料计划子列表 // 查询备料计划子列表
export const getPreparetoissueDetailPage = async (params) => { export const getPreparetoissueDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/preparetoissue-detail/senior', data })
} else {
return await request.get({ url: `/wms/preparetoissue-detail/page`, params }) return await request.get({ url: `/wms/preparetoissue-detail/page`, params })
} }
}
// 查询备料计划子详情 // 查询备料计划子详情
export const getPreparetoissueDetail = async (id: number) => { export const getPreparetoissueDetail = async (id: number) => {
return await request.get({ url: `/wms/preparetoissue-detail/get?id=` + id }) return await request.get({ url: `/wms/preparetoissue-detail/get?id=` + id })

Loading…
Cancel
Save