Files
OMS/app/inventorydepth/lib/finder/regulation/goodselect.php
2025-12-28 23:13:25 +08:00

37 lines
991 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
/**
* @author chenping<chenping@shopex.cn>
*/
class inventorydepth_finder_regulation_goodselect {
public $column_operator = '操作';
public $column_operator_order = 1;
public function column_operator($row)
{
$id = $row['id'];
$init_bn = $_GET['init_bn'];
$condition = $_GET['condition'];
$finder_id = $_GET['_finder']['finder_id'];
$url = "index.php?app=inventorydepth&ctl=regulation_apply&act=removeFilter&p[0]={$id}&p[1]={$init_bn}&p[2]={$condition}";
$url .= '&finder_id='.$finder_id;
$button = <<<EOF
<a href='javascript:void(0);' onclick='
if(confirm("确认要移除吗?")){
W.page("{$url}",{
});
window.finderGroup["{$finder_id}"].refresh(true);
}
'>移除</a>
EOF;
return $button;
}
}