|
|
@@ -150,38 +150,23 @@ class ConsoleController extends BaseController
|
|
|
|
|
|
$visitCustom = StatVisitClass::getVisitNum($this->mainId);
|
|
|
|
|
|
- if (in_array($this->mainId, [4836, 4941, 4942, 5093, 5314])) {
|
|
|
- //吴都花卉的盘点要显示在首页,不需要显示外采
|
|
|
- $menu = [
|
|
|
- ["name" => "商城", "img" => "ghs/home/shop.png", "url" => "/admin/home/mall"],
|
|
|
- ["name" => "改价", "img" => "ghs/home/gj.png", "url" => "/admin/changePrice/list"],
|
|
|
- ["name" => "花材", "img" => "ghs/home/hcgl.png", "url" => "/admin/item/list"],
|
|
|
- ["name" => "采购", "img" => "ghs/home/icon_caigou.png", "url" => "/pagesPurchase/order"],
|
|
|
- ["name" => "供货商", "img" => "ghs/home/icon_ghs.png", "url" => "/pagesPurchase/supplier"],
|
|
|
- ["name" => "损耗", "img" => "ghs/home/kcyjs.png", "url" => "/admin/breakage/list"],
|
|
|
- ["name" => "调拨入库", "img" => "ghs/home/dbrk.png", "url" => "/pagesStorehouse/allot/allotPut"],
|
|
|
- ["name" => "调拨出库", "img" => "ghs/home/dbck.png", "url" => "/pagesStorehouse/allot/allotEx"],
|
|
|
- ["name" => "结账记录", "img" => "ghs/home/kcyjs.png", "url" => "/admin/clear/customList"],
|
|
|
- ["name" => "支出", "img" => "ghs/home/kcyjs.png", "url" => "/admin/expend/list"],
|
|
|
- ["name" => "盘点", "img" => "ghs/home/pandian.png", "url" => "/pagesStorehouse/inventory/list"],
|
|
|
- ["name" => "库存预警", "img" => "ghs/home/kcyjs.png", "url" => "/admin/item/list?warning=1"],
|
|
|
- ];
|
|
|
- } else {
|
|
|
- $menu = [
|
|
|
- ["name" => "商城", "img" => "ghs/home/shop.png", "url" => "/admin/home/mall"],
|
|
|
- ["name" => "改价", "img" => "ghs/home/gj.png", "url" => "/admin/changePrice/list"],
|
|
|
- ["name" => "花材", "img" => "ghs/home/hcgl.png", "url" => "/admin/item/list"],
|
|
|
- ["name" => "采购", "img" => "ghs/home/icon_caigou.png", "url" => "/pagesPurchase/order"],
|
|
|
- ["name" => "外采", "img" => "ghs/home/icon_caigou.png", "url" => "/pagesPurchase/wcOrder"],
|
|
|
- ["name" => "供货商", "img" => "ghs/home/icon_ghs.png", "url" => "/pagesPurchase/supplier"],
|
|
|
- ["name" => "调拨入库", "img" => "ghs/home/dbrk.png", "url" => "/pagesStorehouse/allot/allotPut"],
|
|
|
- ["name" => "调拨出库", "img" => "ghs/home/dbck.png", "url" => "/pagesStorehouse/allot/allotEx"],
|
|
|
- ["name" => "结账记录", "img" => "ghs/home/kcyjs.png", "url" => "/admin/clear/customList"],
|
|
|
- ["name" => "支出", "img" => "ghs/home/kcyjs.png", "url" => "/admin/expend/list"],
|
|
|
- ["name" => "损耗", "img" => "ghs/home/kcyjs.png", "url" => "/admin/breakage/list"],
|
|
|
- ["name" => "库存预警", "img" => "ghs/home/kcyjs.png", "url" => "/admin/item/list?warning=1"],
|
|
|
- ];
|
|
|
- }
|
|
|
+ $menu = [
|
|
|
+ ["name" => "商城", "img" => "ghs/home/shop.png", "url" => "/admin/home/mall"],
|
|
|
+ ["name" => "改价", "img" => "ghs/home/gj.png", "url" => "/admin/changePrice/list"],
|
|
|
+ ["name" => "花材", "img" => "ghs/home/hcgl.png", "url" => "/admin/item/list"],
|
|
|
+ ["name" => "采购", "img" => "ghs/home/icon_caigou.png", "url" => "/pagesPurchase/order"],
|
|
|
+ ["name" => "外采", "img" => "ghs/home/icon_caigou.png", "url" => "/pagesPurchase/wcOrder"],
|
|
|
+ ["name" => "供货商", "img" => "ghs/home/icon_ghs.png", "url" => "/pagesPurchase/supplier"],
|
|
|
+ ["name" => "调拨入库", "img" => "ghs/home/dbrk.png", "url" => "/pagesStorehouse/allot/allotPut"],
|
|
|
+ ["name" => "调拨出库", "img" => "ghs/home/dbck.png", "url" => "/pagesStorehouse/allot/allotEx"],
|
|
|
+ ["name" => "结账记录", "img" => "ghs/home/kcyjs.png", "url" => "/admin/clear/customList"],
|
|
|
+ ["name" => "支出", "img" => "ghs/home/kcyjs.png", "url" => "/admin/expend/list"],
|
|
|
+ ["name" => "损耗", "img" => "ghs/home/kcyjs.png", "url" => "/admin/breakage/list"],
|
|
|
+ ["name" => "库存预警", "img" => "ghs/home/kcyjs.png", "url" => "/admin/item/list?warning=1"],
|
|
|
+ ["name" => "盘点", "img" => "ghs/home/pandian.png", "url" => "/pagesStorehouse/inventory/list"],
|
|
|
+ ["name" => "改库存", "img" => "ghs/home/kcyjs.png", "url" => "/admin/changePrice/changeStock"],
|
|
|
+ ];
|
|
|
+
|
|
|
util::success([
|
|
|
'asset' => $this->main,
|
|
|
'notice' => $notice,
|