From 49499dfc1e26212fd6f36c15cafbedcfa90d3714 Mon Sep 17 00:00:00 2001 From: "YEJIAXING-PC\\lenovo" <591141169@qq.com> Date: Fri, 1 Nov 2024 16:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A6=81=E8=B4=A7=E8=AE=A1=E5=88=92=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E9=A1=B5=E9=9D=A2=E4=B8=8D=E5=BA=94=E8=AF=A5=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E7=BC=96=E8=BE=91=E9=87=87=E8=B4=AD=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierdeliver/purchasePlanMain/index.vue | 10 ++++++++++ .../purchasePlanMain/purchasePlanMain.data.ts | 1 + 2 files changed, 11 insertions(+) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue index 930246585..ba6e84229 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue @@ -511,6 +511,11 @@ const getSearchTableData = async (number,formField,searchField)=>{ if(item.field == 'deliveryDate'){ item.componentProps.disabled = false } + if (item.field == 'poNumber') { + item.componentProps.isSearchList = true + item.componentProps.disabled = false + item.componentProps.enterSearch = true + } }) }else if('update'==type){ PurchasePlanMain.allSchemas.formSchema.forEach((item) => { @@ -519,6 +524,11 @@ const getSearchTableData = async (number,formField,searchField)=>{ item.componentProps.disabled = true item.componentProps.isSearchList = false } + if (item.field == 'poNumber') { + item.componentProps.isSearchList = false + item.componentProps.disabled = true + item.componentProps.enterSearch = false + } // if(item.field == 'deliveryDate'){ // item.componentProps.disabled = true // } diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts index efa4b84dc..b4f19d402 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts @@ -159,6 +159,7 @@ export const PurchasePlanMain = useCrudSchemas( form: { // labelMessage: '信息提示说明!!!', componentProps: { + disabled:true, enterSearch: true, dialogWidth: '1085px', //搜索出来弹窗的宽度 isSearchList: true,