商品月加权平均单价筛选栏对齐进销存总表:占位文案与商品编码精确查询
This commit is contained in:
parent
45305fefa2
commit
ea7dcff178
@ -415,7 +415,8 @@ class Pages extends Controller
|
||||
->where('report_month', $month);
|
||||
$productCode = trim((string) request('product_code', ''));
|
||||
if ($productCode !== '') {
|
||||
$query->where('product_code', 'like', '%' . addcslashes($productCode, '%_\\') . '%');
|
||||
// 与进销存总表一致:商品编码按精确查询。
|
||||
$query->where('product_code', $productCode);
|
||||
}
|
||||
$provider = trim((string) request('warehouse_provider', ''));
|
||||
if ($provider !== '') {
|
||||
|
||||
@ -996,9 +996,9 @@
|
||||
],
|
||||
'product-inventory/monthly-weighted-average-price' => [
|
||||
['name' => 'month', 'label' => '月份', 'kind' => 'date'],
|
||||
['name' => 'product_code', 'label' => '商品编码'],
|
||||
['name' => 'warehouse_provider', 'label' => '仓储方'],
|
||||
['name' => 'category', 'label' => '分类'],
|
||||
['name' => 'product_code', 'label' => '商品编码', 'placeholder' => '按商品编码精确查询'],
|
||||
['name' => 'warehouse_provider', 'label' => '仓储方', 'placeholder' => '支持包含查询'],
|
||||
['name' => 'category', 'label' => '分类', 'placeholder' => '支持包含查询'],
|
||||
],
|
||||
default => $directoryFields,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user