app = $app; // // if($_GET['app']!='wms'){ // // #unset($this->column_edit); // } // } // var $addon_cols = "po_id,eo_status,statement,po_status,po_type,check_status"; // var $column_edit = "操作"; // var $column_edit_width = "150"; // function column_edit($row){ // echo 'f'; // $find_id = $_GET['_finder']['finder_id']; // $id = $row[$this->col_prefix.'po_id']; // $stockset= app::get('ome')->getConf('purchase.stock.stockset'); // // $user = kernel::single('desktop_user'); // // // $width = 80; // $button2 = <<传统入库 //EOF; // $button22 = <<条码入库 //EOF; //$button3 = <<终止 | //EOF; // $button3_disabled = <<终止 | //EOF; // // $button21 = <<打印 | //EOF; // $string = ''; // if( $row[$this->col_prefix.'eo_status'] <> '3' && $row[$this->col_prefix.'check_status']==2 ){ // if($stockset=='true'){ // $string .= $button22; // }else{ // $string .= $button2; // } // $string .= " | ".$button21; // } // // $string = ''.$string.''; // return $string; // } // //}