* [bug#53323,0.5h] fix screen 3 scroll.

This commit is contained in:
qixinzhi
2024-07-31 10:16:14 +08:00
committed by 刘刚
parent b35f2ddade
commit fc26123e4f
+3 -1
View File
@@ -88,6 +88,9 @@ class screen extends control
*/
public function view(int $screenID, int $year = 0, int $month = 0, int $dept = 0, string $account = '')
{
if(empty($year)) $year = date('Y');
if(empty($month)) $month = date('m');
if($screenID == 3)
{
echo $this->fetch('report', 'annualData', "year={$year}&dept={$dept}&account={$account}");
@@ -128,7 +131,6 @@ class screen extends control
*/
public function viewOld(int $screenID, int $year = 0, int $month = 0, int $dept = 0, string $account = '')
{
if(empty($year)) $year = date('Y');
if(empty($year)) $year = date('Y');
if(empty($month)) $month = date('m');