diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index bb0f8c342..25e49ecbf 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -122,7 +122,8 @@ import { PurchasereturnRequestMainRules, PurchasereturnRequestDetail, PurchasereturnRequestDetailRules, - PurchasereReturnRequestDetailLabel + PurchasereReturnRequestDetailLabel, + PurchasereceiptRecordMain1 } from './purchasereturnRequestMain.data' import * as PurchasereturnRequestMainApi from '@/api/wms/purchasereturnRequestMain' import * as PurchasereturnRequestDetailApi from '@/api/wms/purchasereturnRequestDetail' @@ -155,6 +156,11 @@ const onEnter = async (field,value)=>{ console.log(field,value) if('supplierCode'==field){ //供应商代码 + formRef.value.opensearchTable('purchaseReceiptRecordNumber', 'number', '采购收货记录', PurchasereceiptRecordMain1.allSchemas, PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailPageReturn,[{ + key: 'supplierCode', + value: 'supplierCode', + isMainValue: true + }]) }else if('purchaseReceiptRecordNumber' == field){ //采购收货记录 } diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts index b2f6d91ea..1f7a017d5 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts @@ -30,7 +30,7 @@ const queryParams = { // 采购收货记录展示列 -const PurchasereceiptRecordMain1 = useCrudSchemas(reactive([ +export const PurchasereceiptRecordMain1 = useCrudSchemas(reactive([ { label: '物料代码', field: 'itemCode',