From d3c7006b9973243505fc4df4add5a7774266eff4 Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Wed, 22 May 2024 11:58:08 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E9=80=80=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasereturn/purchasereturnRequestMain/index.vue | 8 +++++++- .../purchasereturnRequestMain.data.ts | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) 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',