Browse Source

HL-5632:供应商发货申请,点击明细要货计划分页有问题

hella_online_20240803
songguoqiang 2 months ago
parent
commit
93d742879d
  1. 12
      src/api/wms/purchasePlanDetail/index.ts
  2. 4
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

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

@ -40,6 +40,18 @@ export const getPurchasePlanDetailPage = async (params) => {
} }
} }
// 查询要货计划子列表 -- 供应商发货申请添加明细
export const getPurchasePlanDetailPageClcik = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/purchase-plan-detail/clickDetailsSenior', data })
} else {
params = getPageParams(params)
return await request.get({ url: `/wms/purchase-plan-detail/clickDetailsPage`, params })
}
}
// 查询采购收货记录子列表 // 查询采购收货记录子列表
export const getPurchasePlanDetailList = async (params) => { export const getPurchasePlanDetailList = async (params) => {
return await request.get({ url: `/wms/purchase-plan-detail/allList`, params }) return await request.get({ url: `/wms/purchase-plan-detail/allList`, params })

4
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

@ -1036,7 +1036,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
searchField: 'number', searchField: 'number',
searchTitle: '要货计划信息', searchTitle: '要货计划信息',
searchAllSchemas: PurchasePlanDetail.allSchemas, searchAllSchemas: PurchasePlanDetail.allSchemas,
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage, searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPageClcik,
searchCondition: [ searchCondition: [
{ {
key: 'number', key: 'number',
@ -1070,7 +1070,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
searchField: 'number', searchField: 'number',
searchTitle: '要货计划信息', searchTitle: '要货计划信息',
searchAllSchemas: PurchasePlanDetail.allSchemas, searchAllSchemas: PurchasePlanDetail.allSchemas,
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage, searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPageClcik,
searchCondition: [ searchCondition: [
{ {
key: 'number', key: 'number',

Loading…
Cancel
Save