Browse Source

HL-5785制品子件报废字段调整

hella_online_20240904
yufei_wang 3 months ago
parent
commit
8d21e3645e
  1. 12
      src/api/wms/bomDismantle/index.ts
  2. 12
      src/api/wms/productionlineitem/index.ts

12
src/api/wms/bomDismantle/index.ts

@ -28,8 +28,18 @@ export const getProductscrapBomRecordPage = async (params1) => {
} }
} }
export const getProductscrapBomRecordPageBatch = async (params1) => {
console.log('getProductscrapBomRecordPage',params1)
let params = {...params1}
if(params.isRecord){
delete params.isRecord
return await request.get({ url: `/wms/productscrap-request-main/bomRecordPageBatch`, params })
}else{
delete params.isRecord
return await request.get({ url: `/wms/productscrap-request-main/bomPageBatch`, params })
}
}
// 查询制品报废申请子列表 // 查询制品报废申请子列表
export const getProductscrapBomDismantleRecordPage = async (params) => { export const getProductscrapBomDismantleRecordPage = async (params) => {

12
src/api/wms/productionlineitem/index.ts

@ -21,6 +21,18 @@ export const getProductionlineitemPage = async (params) => {
} }
} }
// 查询生产线物料关系列表
export const getProductionlineitemPageBom = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/productionlineitem/seniorBom', data })
} else {
return await request.get({ url: `/wms/productionlineitem/pageBom`, params })
}
}
// 查询生产线物料关系列表——根据 生产线 物料类型为原料和半成品 // 查询生产线物料关系列表——根据 生产线 物料类型为原料和半成品
export const getProductionlineitemPageByItemtype = async (params) => { export const getProductionlineitemPageByItemtype = async (params) => {
if (params.isSearch) { if (params.isSearch) {

Loading…
Cancel
Save