Exemple #1
0
 public function view_invReason()
 {
     $state = isset($_GET['state']) ? post_check($_GET['state']) : '';
     $this->smarty->assign('state', $state);
     $InventoryAct = new InventoryAct();
     $inv_reason = $InventoryAct->act_getInvReasonList("*", "where storeId=1");
     $this->smarty->assign('inv_reason', $inv_reason);
     $navlist = array(array('url' => 'index.php?mod=skuStock&act=getSkuStockList', 'title' => '仓库'), array('url' => 'index.php?mod=inventory&act=inventory', 'title' => '盘点管理'), array('url' => 'index.php?mod=inventory&act=invReason', 'title' => '盘点原因列表'));
     $this->smarty->assign('navlist', $navlist);
     $toplevel = 0;
     //一级菜单的序号  0 开始
     $this->smarty->assign('toplevel', $toplevel);
     $secondlevel = 04;
     //当前的二级菜单
     $this->smarty->assign('secondlevel', $secondlevel);
     $this->smarty->assign('toptitle', '盘点原因列表');
     $this->smarty->assign('curusername', $_SESSION['userName']);
     $this->smarty->display('invReason.htm');
 }