Browse Source

HL-5495 退货库位更换接口

hella_online_20240828
wangyufei 3 months ago
parent
commit
9fe1d446ea
  1. 9
      src/api/wms/location/index.ts
  2. 2
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts

9
src/api/wms/location/index.ts

@ -128,6 +128,15 @@ export const selectBusinessTypeOutLocation = async (params) => {
return request.get({ url: `/wms/location/pageBusinessTypeOutLocation`, params }) return request.get({ url: `/wms/location/pageBusinessTypeOutLocation`, params })
} }
} }
export const selectBusinessTypeOutLocationAll = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/location/pageBusinessTypeOutLocationSeniorAll', data })
} else {
return request.get({ url: `/wms/location/pageBusinessTypeOutLocationAll`, params })
}
}
export const selectPageItemAreaToLocation = async (params) => { export const selectPageItemAreaToLocation = async (params) => {

2
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts

@ -22,7 +22,7 @@ import { Q2 } from '@/views/qms/inspectionQ2/inspectionQ2.data'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data'
let locationList = await LocationApi.selectBusinessTypeOutLocation({ let locationList = await LocationApi.selectBusinessTypeOutLocationAll({
businessType:'PurchaseReturn', businessType:'PurchaseReturn',
isIn:'out' isIn:'out'
}) })

Loading…
Cancel
Save