From bf695aa387ebdcf4b17d33f97464b72bc7937d87 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Sat, 29 Mar 2025 19:41:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=EF=BC=9AYT-2257=20=E8=A6=81?= =?UTF-8?q?=E8=B4=A7=E8=AE=A1=E5=88=92=E6=96=B0=E5=A2=9E=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasePlanMain/purchasePlanMain.data.ts | 4 ++-- .../supplierdeliverRequestMain/supplierdeliverBasicForm.vue | 3 +++ .../supplierdeliverRequestMain.data.ts | 6 ++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts index 8f4158efd..b7c6d5045 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts @@ -242,13 +242,13 @@ export const PurchasePlanMain = useCrudSchemas( isTable: true, isForm: true, isTableForm: false, - isSearch: true, + isSearch: false, sortSearchDefault: 3, formatter: dateFormatter2, search: { component: 'DatePicker', componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'YYYY-MM-DD', type: 'daterange', defaultTime: [new Date('1 '), new Date('1 ')] } diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue index 9aba3b5e3..7b0df187f 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue @@ -126,6 +126,9 @@ const openFormByCreate = async ( data ) => { setV['planArriveTime']= new Date(planArriveTimeStr.value).valueOf(); setV['arriveTime']= new Date(planArriveTimeStr.value).valueOf(); } + if(data['schdShipDate']){ + setV['schdShipDate']= data['schdShipDate']; + } formRef.value.open('create', null) // 根据供应商代码获取联系人信息 diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts index 990692578..e465e2339 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts @@ -259,20 +259,18 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( }, { label: '取货日期', - sortTableDefault:5, field: 'schdShipDate', sort: 'custom', isDetail: true, - isTable: true, + isTable: false, isForm: true, isTableForm: false, isSearch: true, - sortSearchDefault: 3, formatter: dateFormatter2, search: { component: 'DatePicker', componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'YYYY-MM-DD', type: 'daterange', defaultTime: [new Date('1 '), new Date('1 ')] }