Files
OMS/app/wms/lib/stock.php
2025-12-28 23:13:25 +08:00

26 lines
649 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.
*/
class wms_stock{
/**
* 库存查询相关方法2011.11.01更新
*/
function search_stockinfo($keywords,$branch_type='all')
{
$db = kernel::database();
$product_ids = array();
$product_info = array();
# [模板搜索]基础物料
$basicMaterialSelect = kernel::single('material_basic_select');
$product_info = $basicMaterialSelect->search_stockinfo($keywords, $branch_type);
return $product_info;
}
}
?>