Enhance division filtering in sales pages for better data retrieval
- Updated the division filter logic in CustomerManagementPage, SalesOrderPage, and SalesItemPage to use 'contains' operator for multi-value matching. - This change allows for more flexible filtering of sales items based on the division, improving the accuracy of displayed data. - The division filter now consistently uses the same value across different components, ensuring uniformity in data handling. This commit enhances the functionality of the sales management pages by refining the filtering process, leading to a better user experience in managing sales data.
This commit is contained in:
@@ -457,6 +457,8 @@ export default function CustomerManagementPage() {
|
||||
try {
|
||||
const filters: any[] = [];
|
||||
if (itemSearchKeyword) filters.push({ columnName: "item_name", operator: "contains", value: itemSearchKeyword });
|
||||
// 영업관리/판매품 division 필터 (다중값 contains 매칭)
|
||||
filters.push({ columnName: "division", operator: "contains", value: "CAT_ML8ZFVEL_1TOR" });
|
||||
const res = await apiClient.post(`/table-management/tables/item_info/data`, {
|
||||
page: 1, size: 50,
|
||||
dataFilter: filters.length > 0 ? { enabled: true, filters } : undefined,
|
||||
|
||||
Reference in New Issue
Block a user