public function view_getOutStoreList() { $iostoreAct = new IoStoreAct(); $outStoreArr = $iostoreAct->act_getOutStoreList(); $navlist = array(array('url' => 'index.php?mod=products&act=getProductsComfirmList', 'title' => '产品制作'), array('url' => 'index.php?mod=products&act=getOutStoreList', 'title' => '领料单')); $this->smarty->assign('navlist', $navlist); $this->smarty->assign('onevar', 5); $this->smarty->assign('twovar', 57); $this->smarty->assign('show_page', $outStoreArr['show_page']); $this->smarty->assign('title', '领料单'); $this->smarty->assign('outStoreList', empty($outStoreArr['outStoreList']) ? array() : $outStoreArr['outStoreList']); $this->smarty->display("outStoreList.htm"); }