diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts index 11f0d0ef6..c79413962 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts @@ -387,7 +387,7 @@ export const PurchaseDetail = useCrudSchemas(reactive([ searchField: 'itemCode', searchTitle: '供应商物品信息', searchAllSchemas: Supplieritem.allSchemas, - searchPage: SupplieritemApi.selectItembasicTypeToSupplieritem, + searchPage: SupplieritemApi.getSupplieritemPage, searchCondition: [{ key:'supplierCode', value:'supplierCode', @@ -402,11 +402,15 @@ export const PurchaseDetail = useCrudSchemas(reactive([ searchField: 'itemCode', searchTitle: '供应商物品信息', searchAllSchemas: Supplieritem.allSchemas, - searchPage: SupplieritemApi.selectItembasicTypeToSupplieritem, - searchCondition: [{ - key:'supplierCode', - value:'supplierCode', - isMainValue: true + searchPage: SupplieritemApi.getSupplieritemPage, + searchCondition: [{ + key:'supplierCode', + value:'supplierCode', + isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] } }