public function view_invCondition() { $state = isset($_GET['state']) ? post_check($_GET['state']) : ''; $this->smarty->assign('state', $state); $InventoryAct = new InventoryAct(); $inv_Condition = $InventoryAct->act_getInvConditionList("*", "where companyId=1"); $this->smarty->assign('inv_Condition', $inv_Condition); $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=invCondition', 'title' => '盘点审核条件列表')); $this->smarty->assign('navlist', $navlist); $this->smarty->assign('toptitle', '盘点审核条件列表'); $toplevel = 0; //一级菜单的序号 0 开始 $this->smarty->assign('toplevel', $toplevel); $secondlevel = 04; //当前的二级菜单 $this->smarty->assign('secondlevel', $secondlevel); $this->smarty->assign('curusername', $_SESSION['userName']); $this->smarty->display('invCondition.htm'); }