永洪tech-wisiy 发表于 2021-6-28 09:42 请参考脚本: var date1= new Date(now()); var b = formatDate(dateAdd(date1,"month",-1),"yyyy-MM-dd") ...