Browse Source

供应商发货申请增加筛选条件

master_hella_20240701
zhaoxuebing 9 months ago
parent
commit
ad210884fa
  1. 12
      src/api/wms/itempackage/index.ts
  2. 4
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

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

@ -30,6 +30,18 @@ export const getItempackagingPage = async (params) => {
} }
} }
// 查询物料包装信息 列表--供应商发货申请
export const getItempackagingPageBySupplierdeliver = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/itempackage/seniorBySupplierdeliver', data })
} else {
return await request.get({ url: `/wms/itempackage/pageBySupplierdeliver`, params })
}
}
// 查询物料包装信息 详情 // 查询物料包装信息 详情
export const getItempackaging = async (id: number) => { export const getItempackaging = async (id: number) => {
return await request.get({ url: `/wms/itempackage/get?id=` + id }) return await request.get({ url: `/wms/itempackage/get?id=` + id })

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

@ -876,7 +876,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
searchField: 'packQty', searchField: 'packQty',
searchTitle: '物品包装信息', searchTitle: '物品包装信息',
searchAllSchemas: Itempackaging.allSchemas, searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItemPackageApi.getItempackagingPage, searchPage: ItemPackageApi.getItempackagingPageBySupplierdeliver,
searchCondition: [ searchCondition: [
{ {
key: 'itemCode', key: 'itemCode',
@ -899,7 +899,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
searchField: 'packQty', searchField: 'packQty',
searchTitle: '物品包装信息', searchTitle: '物品包装信息',
searchAllSchemas: Itempackaging.allSchemas, searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItemPackageApi.getItempackagingPage, searchPage: ItemPackageApi.getItempackagingPageBySupplierdeliver,
searchCondition: [ searchCondition: [
{ {
key: 'itemCode', key: 'itemCode',

Loading…
Cancel
Save