Files
OMS/app/material/lib/finder/barcode.php
2025-12-28 23:13:25 +08:00

26 lines
693 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.
*/
/**
* 条码列表项扩展Lib
*
* @author kamisama.xia@gmail.com
* @version 0.1
*/
class material_finder_barcode{
var $column_edit = '操作';
function column_edit($row){
if($_GET['ctl'] == 'admin_barcode' && $_GET['act'] == 'index'){
return "<a href='javascript:void(0);' onclick=\"new Dialog('index.php?app=material&ctl=admin_barcode&act=edit&p[0]={$row['bm_id']}&finder_id={$_GET['_finder']['finder_id']}',{width:600,height:400,title:'编辑条码'});\">编辑</a>";
}else{
return '-';
}
}
}