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

36 lines
1.2 KiB
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.
*/
class tgkpi_finder_pick {
var $column_ident = "打印批次号";
var $column_ident_width = "120";
var $addon_cols = "print_ident,print_ident_dly";
function column_ident($row) {
$identStr = '';
if($row[$this->col_prefix.'print_ident']){
$identStr .= $row[$this->col_prefix.'print_ident']."_".$row[$this->col_prefix.'print_ident_dly'];
}
return $identStr;
}
var $column_product_name = "商品名称";
var $column_product_name_width = "120";
function column_product_name($row)
{
$basicMaterialLib = kernel::single('material_basic_material');
$bMaterialRow = $basicMaterialLib->getBasicMaterialBybn($row['product_bn']);
return $bMaterialRow['material_name'];
}
var $column_spec_info = "规格";
var $column_spec_info_width = "120";
function column_spec_info($row)
{
$basicMaterialLib = kernel::single('material_basic_material');
$bMaterialRow = $basicMaterialLib->getBasicMaterialBybn($row['product_bn']);
return $bMaterialRow['specifications'];
}
}