mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-31 21:25:33 +08:00
37 lines
991 B
PHP
37 lines
991 B
PHP
<?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;
|
||
}
|
||
|
||
}
|