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 ')] }