dever 3 年之前
父節點
當前提交
8dd7683e11
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      main/database/manage_config.php
  2. 2 2
      package/manage/plugin/Console.php

+ 1 - 1
main/database/manage_config.php

@@ -123,7 +123,7 @@ return array
             'match'     => 'option',
             'update'    => 'image',
             'key'       => '1',
-            'place'     => '750*1386',
+            'place'     => '750*422',
         ),
 
         'file'        => array

+ 2 - 2
package/manage/plugin/Console.php

@@ -29,7 +29,7 @@ class Console
         $data[] = array
         (
             'name' => '当日销售额',
-            'num' => $today_sell_cash['total'] ? $today_sell_cash['total'] : 0,
+            'num' => $today_sell_cash['total'] ? round($today_sell_cash['total'], 2) : 0,
             'href' => '#',
         );
 
@@ -43,7 +43,7 @@ class Console
         $data[] = array
         (
             'name' => '采购额',
-            'num' => $today_buy_cash['total'] ? $today_buy_cash['total'] : 0,
+            'num' => $today_buy_cash['total'] ? round($today_buy_cash['total'], 2) : 0,
             'href' => '#',
         );