col_prefix.'adjust_type']; $cpfr_bn = $row[$this->col_prefix.'cpfr_bn']; $cpfr_id = intval($row['cpfr_id']); $confirm= ' 确认'; if(in_array($row[$this->col_prefix.'bill_status'], ['1']) && $adjust_type == 'import') { return $confirm; } return ''; } public $detail_items = '配货明细'; /** * detail_items * @param mixed $cpfr_id ID * @return mixed 返回值 */ public function detail_items($cpfr_id) { $render = app::get('console')->render(); /*** $items = app::get('console')->model('cpfr_items')->getList('*', array('cpfr_id' => $cpfr_id)); @ini_set('memory_limit','1024M'); $render->pagedata['items'] = $items; return $render->fetch('admin/finder/cpfr/items.html'); ***/ $render->pagedata['cpfr_id'] = $cpfr_id; return $render->fetch('admin/cpfr/cpfr_item.html'); } }