diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts index 686bae159..a4de606ac 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts @@ -555,7 +555,7 @@ export const DemandforecastingMainPlan = useCrudSchemas(reactive([ { label: '计划日期', field: 'dueDate', - formatter: dateFormatter, + formatter: dateFormatter2, sort: 'custom', table: { width: 150 diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue index cc340c4d4..46fa01fc7 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue @@ -283,6 +283,10 @@ const handlePreviewPlan = async ()=>{ await getListPlan() selectionPlanRows.value = [] dialogVisiblePlan.value = true + // 全选 + nextTick(()=>{ + tablePlanRef.value.toggleAllSelection(true) + }) } const buttonBaseClickPlan = async (val)=>{