Browse Source

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

hella_online_20240803
songguoqiang 3 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) => {
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',
searchTitle: '要货计划信息',
searchAllSchemas: PurchasePlanDetail.allSchemas,
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage,
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPageClcik,
searchCondition: [
{
key: 'number',
@ -1070,7 +1070,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
searchField: 'number',
searchTitle: '要货计划信息',
searchAllSchemas: PurchasePlanDetail.allSchemas,
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage,
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPageClcik,
searchCondition: [
{
key: 'number',

Loading…
Cancel
Save