例如,区间现在2024-09~2024-11,就扩展出来2024-09、2024-10、2024-11
uniquearray(maparray(range(todate($ksrq+"-01"),dateinmonth($jsrq+"-01",-1)),left(item,7)))
根据起始时间、结束时间扩展年月 https://help.fanruan.com/finereport/doc-view-2291.html