mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-04 14:36:50 +08:00
60 lines
2.0 KiB
PHP
60 lines
2.0 KiB
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
//class wms_finder_po{
|
||
// function __construct($app)
|
||
// {
|
||
// $this->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
|
||
// <a class="lnk" href="index.php?app=wms&ctl=admin_eo&act=eo_confirm&p[0]=$id&find_id=$find_id" target="_blank">传统入库</a>
|
||
//EOF;
|
||
// $button22 = <<<EOF
|
||
// <a class="lnk" href="index.php?app=wms&ctl=admin_eo&act=Barcode_stock&p[0]=$id&find_id=$find_id" target="_blank">条码入库</a>
|
||
//EOF;
|
||
//$button3 = <<<EOF
|
||
// <span class="lnk" onclick="new Dialog('index.php?app=wms&ctl=admin_purchase&act=cancel&p[0]=$id&p[1]=cancel',{title:'入库终止',width:500,height:250})">终止</span> |
|
||
//EOF;
|
||
// $button3_disabled = <<<EOF
|
||
// <span class="c-disabled">终止</span> |
|
||
//EOF;
|
||
//
|
||
// $button21 = <<<EOF
|
||
// <a class="lnk" href="index.php?app=wms&ctl=admin_purchase&act=printItem&p[0]=$id&p[1]=eo" target="_bank">打印</a> |
|
||
//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 = '<span class="c-gray">'.$string.'</span>';
|
||
// return $string;
|
||
// }
|
||
//
|
||
//}
|