Browse Source

缺陷:HL-6415修复

hella_online_20241114
zhaoxuebing 3 weeks ago
parent
commit
d5d6e8c682
  1. 12
      src/api/wms/purchaseDetail/index.ts
  2. 2
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts

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

@ -56,6 +56,18 @@ export const getPurchaseDetailPageWMS = async (params) => {
} }
// 查询采购订单子列表
export const getPurchaseDetailPageWMSPurchasereceiptRequest = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/purchase-detail/purchasereceiptRequestSeniorWMS', data })
} else {
return await request.get({ url: `/wms/purchase-detail/purchasereceiptRequestPageWMS`, params })
}
}
// 查询M类型的采购订单子列表 // 查询M类型的采购订单子列表
export const getPurchaseDetailPageWMSMOrderType = async (params) => { export const getPurchaseDetailPageWMSMOrderType = async (params) => {
if (params.isSearch) { if (params.isSearch) {

2
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts

@ -67,7 +67,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
isConcatDetailSchemas:true,//是否是主子表合并 默认false isConcatDetailSchemas:true,//是否是主子表合并 默认false
searchDetailSchemas:PurchaseDetail.allSchemas, searchDetailSchemas:PurchaseDetail.allSchemas,
searchAllSchemas: PurchaseMain.allSchemas, // 查询弹窗所需类 searchAllSchemas: PurchaseMain.allSchemas, // 查询弹窗所需类
searchPage: PurchaseDetailApi.getPurchaseDetailPageWMS, // 查询弹窗所需分页方法 searchPage: PurchaseDetailApi.getPurchaseDetailPageWMSPurchasereceiptRequest, // 查询弹窗所需分页方法
isEnter:true, isEnter:true,
searchCondition: [{ searchCondition: [{
key:'status', key:'status',

Loading…
Cancel
Save