|
|
@@ -8,6 +8,7 @@ use bizGhs\order\classes\StockWastageOrderClass;
|
|
|
use bizGhs\shop\classes\ShopAdminClass;
|
|
|
use bizGhs\stat\classes\StatKdClass;
|
|
|
use bizGhs\stat\classes\StatSaleClass;
|
|
|
+use bizHd\purchase\classes\PurchaseClass;
|
|
|
use bizHd\stat\classes\StatVisitClass;
|
|
|
use common\components\dict;
|
|
|
use common\components\util;
|
|
|
@@ -154,7 +155,7 @@ class ConsoleController extends BaseController
|
|
|
|
|
|
$visitCustom = StatVisitClass::getVisitNum($this->mainId);
|
|
|
|
|
|
-
|
|
|
+ $cgNum = PurchaseClass::getCount(['mainId' => $this->mainId, 'status' => ['in', [2, 3]]]);
|
|
|
|
|
|
$menu = [
|
|
|
["name" => "商城", "img" => "ghs/home/shop3.png", "url" => "/admin/home/mall"],
|
|
|
@@ -168,7 +169,7 @@ class ConsoleController extends BaseController
|
|
|
["name" => "调拨入库", "img" => "ghs/home/dbrk.png", "url" => "/pagesStorehouse/allot/allotPut"],
|
|
|
["name" => "调拨出库", "img" => "ghs/home/dbck.png", "url" => "/pagesStorehouse/allot/allotEx"],
|
|
|
["name" => "供货商", "img" => "ghs/home/icon_buy_item.png", "url" => "/pagesStorehouse/allot/allotPut"],
|
|
|
- ["name" => "买花记录", "img" => "ghs/home/icon_buy_record.png", "url" => "/pagesStorehouse/allot/allotEx"],
|
|
|
+ ["name" => "买花记录", "img" => "ghs/home/icon_buy_record.png", "url" => "/pagesStorehouse/allot/allotEx", 'remindNum' => $cgNum],
|
|
|
["name" => "库存总览", "img" => "ghs/home/kcyjs.png", "url" => "/admin/stat/stock"],
|
|
|
["name" => "支出", "img" => "ghs/home/kcyjs.png", "url" => "/admin/expend/list"],
|
|
|
["name" => "员工", "img" => "ghs/home/yggl.png", "url" => "/admin/staff/list"],
|