Commit Graph

706 Commits

Author SHA1 Message Date
DDD1542
36d584ffa3 fix: remove duplicate toast import in COMPANY_30 receiving page
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 12:13:53 +09:00
DDD1542
cb9b5b2ec7 Merge remote-tracking branch 'origin/jskim-node' into jskim-node
; Conflicts:
;	frontend/app/(main)/COMPANY_30/sales/order/page.tsx
2026-04-16 12:10:32 +09:00
DDD1542
623cbc0b61 feat: add report preset management API
- Implemented CRUD operations for report presets in reportPresetController.
- Added routes for listing, creating, updating, and deleting report presets.
- Ensured authentication is required for all preset operations.
- Enhanced MaterialData interface to include optional width, height, and thickness properties.
2026-04-16 12:08:28 +09:00
kjs
a20fd267fc feat: Add table aggregation endpoint for data summarization
- Implemented a new endpoint to retrieve aggregated data (SUM/COUNT) for specified columns in a given table.
- Added validation to ensure the presence of table name and valid aggregation columns in the request.
- Integrated company code filtering to restrict data access based on user permissions.
- Updated the table management routes to include the new aggregation functionality.
- Enhanced the frontend order page to utilize the new aggregation endpoint for improved statistical reporting.
2026-04-16 12:03:51 +09:00
kjs
0e09b9e686 feat: Implement duplicate inbound registration check and enhance receiving page
- Added a check in the receiving controller to prevent duplicate inbound registrations based on the inbound number, ensuring idempotency.
- Updated the receiving page to maintain selected items across different inbound types, improving user experience.
- Enhanced the item mapping logic to utilize inventory unit codes, ensuring accurate data representation.
- Adjusted the layout to include a new column for inbound type in the receiving table, providing better visibility of item classifications.
2026-04-16 11:31:41 +09:00
kjs
d3491a79bb feat: Implement approval request validation and enhance UI components
- Added validation to prevent duplicate approval requests for the same target, ensuring that only one active or completed approval exists at a time.
- Implemented a check to disallow self-approval in the approval line unless the approval type is 'self'.
- Integrated the ApprovalDetailModal component into the main layout for improved user experience.
- Updated the SalesOrderPage to include approval status in the data structure, enhancing visibility of approval states.
- Enhanced BOM management modals across multiple company implementations to accommodate new UI requirements.
2026-04-16 10:26:38 +09:00
kjs
b9ddb88c4e feat: Update inspection and item inspection pages for improved layout and functionality
- Adjusted the layout of the inspection management page to ensure it occupies the full viewport height, enhancing usability.
- Integrated a new SmartExcelUploadModal component into the item inspection page, allowing for bulk uploads of item inspection data via Excel.
- Implemented logic for handling Excel uploads, including data mapping and process retrieval, to streamline the inspection process.
- Enhanced the item inspection page with dynamic loading of inspection types based on category, improving user experience and data management.
- These updates aim to optimize the inspection management workflow across multiple company implementations.
2026-04-15 15:07:17 +09:00
kjs
313e963e63 Merge branch 'jskim-node' of https://g.wace.me/jskim/vexplor_dev into jskim-node 2026-04-15 14:23:45 +09:00
kjs
dffa16f3e5 feat: Add Smart Excel Upload functionality for item inspection
- Introduced a new SmartExcelUploadModal component to facilitate bulk item inspection uploads via Excel.
- Implemented logic for downloading templates, validating uploaded files, and parsing data for inspection criteria.
- Enhanced the item inspection page to support dynamic loading of item process mappings and reference data for improved user experience.
- Added necessary types and utility functions for template generation and parsing, ensuring robust handling of Excel data.
- These changes aim to streamline the item inspection process and improve data management across multiple company implementations.
2026-04-15 14:23:44 +09:00
DDD1542
2e8350c0f6 Merge branch 'jskim-node' of https://g.wace.me/jskim/vexplor_dev into jskim-node
; Conflicts:
;	frontend/app/(main)/COMPANY_30/sales/order/page.tsx
2026-04-15 12:03:09 +09:00
DDD1542
b7082b7799 김주석씨 2026-04-15 11:46:05 +09:00
kjs
3c526f0b35 Merge branch 'jskim-node' of https://g.wace.me/jskim/vexplor_dev into jskim-node 2026-04-14 16:58:54 +09:00
kjs
ecb6321cb6 feat: Enhance inspection management and item inspection pages with selection options
- Updated the inspection management page to include handling for selection options when the judgment criteria is of type "선택형".
- Implemented logic to validate that at least one option is provided when the selection criteria is selected, improving user feedback with appropriate error messages.
- Enhanced the item inspection page to support judgment criteria and selection options, allowing for more detailed inspection configurations.
- Added functionality to dynamically load and display category options for judgment criteria and units, streamlining the user experience in setting up inspections.
- These changes aim to improve the usability and functionality of the inspection management process across multiple company implementations.
2026-04-14 16:58:53 +09:00
DDD1542
4d55aebe61 기무주서쿠의원장님 살려주십쇼 2026-04-14 16:45:12 +09:00
kjs
030ffb581b refactor: Update inventory and unit handling across logistics and purchase pages
- Changed references from `unit` to `inventory_unit` in various logistics and purchase components to improve consistency and clarity.
- Updated API calls to fetch inventory unit values instead of generic unit values, ensuring accurate data representation.
- Enhanced data mapping and rendering logic to reflect the new inventory unit structure, improving user experience and data integrity.
- These changes aim to streamline inventory management processes and enhance usability across multiple company implementations.
2026-04-14 14:37:00 +09:00
kjs
7e9d75e1a4 feat: Implement automatic equipment code generation and allocation in equipment registration
- Enhanced the equipment registration process to support automatic code generation based on predefined numbering rules.
- Integrated API calls to fetch and preview numbering rules, allowing for dynamic equipment code assignment.
- Added error handling to manage failures in code allocation, ensuring a smoother user experience during equipment registration.
- Updated the input field for equipment code to reflect automatic generation status, improving clarity for users.
- These changes aim to streamline the equipment management process and enhance usability across multiple company implementations.
2026-04-14 12:27:27 +09:00
kjs
0622a5c1b6 refactor: Optimize order summary query and implement pagination in production plan management
- Consolidated the order summary query to integrate detailed, stock, and planning information into a single CTE for improved performance and clarity.
- Removed redundant checks for lead time in item_info, simplifying the query structure.
- Introduced pagination functionality in the production plan management page, allowing users to navigate through order items more efficiently.
- Enhanced the user interface to reflect the paginated data, improving overall usability and data handling across multiple company implementations.
2026-04-14 11:51:53 +09:00
kjs
3f108f87a2 feat: Calculate standard and tolerance values based on lower and upper limits in equipment inspection
- Implemented logic to derive standard and tolerance values from lower and upper limits when double-clicking on inspection items.
- Enhanced user interaction by automatically calculating these values, improving data accuracy and usability in the inspection form.
- These changes aim to streamline the inspection process and provide clearer insights into equipment metrics across multiple company implementations.
2026-04-14 09:54:26 +09:00
kjs
28bb443ee8 feat: Implement pagination functionality across logistics and production pages
- Added pagination state management to Outbound, Receiving, and Production Result pages, enhancing data navigation.
- Introduced page size input for users to customize the number of items displayed per page.
- Implemented logic to calculate total pages and manage current page state, improving user experience when handling large datasets.
- Updated table rendering to reflect paginated data, ensuring efficient data display and interaction.
- These changes aim to streamline data handling and improve usability across multiple company implementations.
2026-04-13 18:40:32 +09:00
kjs
f54d763373 refactor: Update packaging page to enhance data handling and user experience
- Changed column key for maximum weight from `max_weight` to `max_load_kg` for clarity.
- Added a new status label `UNREGISTERED` to improve item status tracking.
- Enhanced data loading logic to merge item information with packaging units, ensuring accurate representation of available items.
- Removed the registration button, allowing users to click on unregistered items to open the registration modal directly.
- These changes aim to streamline the packaging management process and improve usability across multiple company implementations.
2026-04-13 18:31:35 +09:00
kjs
2c75677394 feat: Implement user ID duplication check in user registration and update processes
- Added functionality to check for existing user IDs during new user registration and updates to prevent overwriting accounts from different companies.
- Enhanced error handling to return appropriate messages when a duplicate user ID is detected.
- Updated the frontend to include user ID duplication verification, ensuring a smoother user experience during user creation and editing.
- These changes aim to improve data integrity and user management across multiple company implementations.
2026-04-13 18:20:24 +09:00
kjs
adf1738772 refactor: Enhance subcontractor, supplier, and customer division handling in item pages
- Added API calls to fetch division types for subcontractors, suppliers, and customers, improving data accuracy and relevance in the respective item pages.
- Updated table cell rendering to utilize the resolved division values, ensuring a more user-friendly display of information.
- These changes aim to provide tailored data views and enhance the overall user experience across multiple company implementations.
2026-04-13 16:05:04 +09:00
kjs
8a2ee0c0e7 refactor: Update API calls in inspection management pages to include company-specific filters
- Modified API requests in the inspection management pages for multiple companies to include a `filterCompanyCode` query parameter.
- This change ensures that the data fetched is specific to the respective company, enhancing data accuracy and relevance.
- Aimed at improving the user experience by providing tailored data views across different company implementations.
2026-04-13 13:55:04 +09:00
kjs
77b7a0cdbb refactor: Update table column widths and improve pagination settings in purchase and sales order pages
- Changed column width definitions from fixed to minimum widths for better responsiveness in the purchase order and sales order pages.
- Increased the pagination size from 500 to 5000 for supplier and user data fetching to accommodate larger datasets.
- Enhanced item search functionality by including management item filters in server queries, improving data handling and user experience.
- These changes aim to provide a more flexible and user-friendly interface across multiple company implementations.
2026-04-13 13:38:44 +09:00
kjs
4267b42fdf refactor: Streamline logistics pages by removing unused variables and enhancing header filters
- Removed unnecessary variables and commented-out code related to master-detail grouping in the outbound and receiving pages.
- Simplified the header filter and sorting logic to improve performance and readability.
- Updated the column mapping and filtering mechanisms to ensure a more efficient data handling process.
- These changes aim to enhance the overall user experience and maintainability of the logistics management interface across multiple company implementations.
2026-04-13 13:15:28 +09:00
kjs
9272ddb345 refactor: Improve table header and cell styling for production plan management and item inspection pages
- Updated the table header and cell styles to enhance visibility and usability, including adjustments to z-index and sticky positioning.
- Implemented dynamic label mapping for inspection types in the item inspection page to improve clarity.
- Enhanced the sales order page by including management item filters in server queries, allowing for better data handling and user experience.
- These changes aim to provide a more intuitive interface and improve data representation across multiple company implementations.
2026-04-13 11:58:26 +09:00
kjs
b28e8e206c feat: Implement drag-and-drop functionality for modal column reordering in purchase order page
- Added DnD (Drag and Drop) capabilities to allow users to reorder columns in the modal for purchase orders.
- Introduced a new `SortableModalHead` component to manage the sortable headers.
- Implemented local storage functionality to save and retrieve the column order, enhancing user customization.
- This feature aims to improve the user experience by providing flexibility in how data is displayed across multiple company implementations.
2026-04-13 10:55:11 +09:00
kjs
2776437702 refactor: Simplify customer form validation and remove unused fields
- Updated the customer form validation to only check for the business number, removing checks for contact phone and email.
- Removed unused input fields for contact person, phone, and email from the customer management page to streamline the form and improve user experience.
- This change aims to enhance the clarity and usability of the customer management interface across multiple company implementations.
2026-04-13 10:52:48 +09:00
kjs
f1d01d0eed feat: Update progress label mapping in work instruction pages
- Enhanced the `getProgressLabel` function to utilize a mapping for progress statuses, improving clarity in status representation.
- The mapping includes translations for statuses such as "completed", "in_progress", and "pending", ensuring a more user-friendly display across multiple company implementations.
- This change aims to improve the overall user experience by providing clearer information regarding work progress.
2026-04-13 10:36:41 +09:00
kjs
e693963c2a feat: Enhance inbound-outbound and material status pages with remark parsing and category mapping
- Implemented a `parseRemark` function to convert JSON remarks into human-readable text, improving clarity in the inbound-outbound page.
- Updated the category filtering logic to utilize parsed remarks, enhancing data representation.
- Added unit label mapping for better display of item units in the inbound-outbound page.
- Enhanced the material status page with a status mapping feature, allowing for dynamic styling based on status labels.
- These changes aim to improve user experience by providing clearer information and better data management across multiple company implementations.
2026-04-13 10:26:23 +09:00
kjs
59f60799ab feat: Increase data retrieval limits in purchase and sales pages
- Updated API calls in the purchase and sales item pages to increase the data size limit from 500 to 5000, enhancing the ability to fetch larger datasets.
- This change aims to improve performance and user experience by allowing more data to be loaded in a single request across multiple company implementations.
2026-04-12 22:04:09 +09:00
kjs
1709ba6fbb feat: Implement searchable category comboboxes and enhance item management
- Added searchable category combobox and multi-category combobox components to improve item selection in the purchase and sales item pages.
- Updated the supplier management page to utilize useCallback for item search, enhancing performance and responsiveness.
- Implemented real-time search functionality for item selection, ensuring a smoother user experience.
- Enhanced the handling of item mappings and prices, allowing for soft deletion of supplier connections while retaining data integrity.

These changes aim to improve the overall user experience by providing more intuitive item management and selection processes across multiple company implementations.
2026-04-12 21:57:03 +09:00
kjs
96b9ac78db feat: Enhance user mapping in BOM and inventory pages
- Updated API calls in the InventoryStatusPage and BomManagementPage to fetch user data with a limit of 9999 users, improving performance and ensuring all users are loaded.
- Implemented user mapping to display user names instead of IDs, enhancing clarity in user-related data across multiple company implementations.
- These changes aim to improve the overall user experience by providing clearer information and better data management in the logistics and BOM sections.
2026-04-12 21:31:36 +09:00
kjs
e8eeef1e53 fix: Update error handling and warehouse code rendering in inventory and outbound pages
- Enhanced error handling in the OutboundPage component to capture and display error messages from API responses, improving user feedback during operations.
- Updated the InventoryStatusPage to render warehouse names instead of codes, providing clearer information to users.
- These changes aim to enhance the user experience by ensuring better error visibility and more informative data representation across multiple company implementations.
2026-04-12 21:16:09 +09:00
kjs
31bdbe1331 feat: Enhance inventory and outbound pages with category mapping and user information
- Implemented user mapping to display user names instead of IDs in the inventory and receiving pages.
- Added category mapping for materials and units in the outbound page, improving data representation.
- Updated API calls to fetch user and category data, ensuring accurate and user-friendly displays.
- These enhancements aim to improve the overall user experience by providing clearer information and better data management across multiple company implementations.
2026-04-12 19:34:45 +09:00
kjs
3a63cafea1 fix: Update dependency array in SalesOrderPage component
- Added `categoryOptions` to the dependency array of the useEffect hook that fetches orders, ensuring that the component re-fetches orders when category options change.
- This change improves the responsiveness of the SalesOrderPage when category options are updated, enhancing the overall user experience across multiple company implementations.
2026-04-12 19:02:54 +09:00
f75b0d05ce Merge branch 'main' into jskim-node 2026-04-11 12:44:40 +00:00
kjs
972a0143ad refactor: Integrate ImageUpload component for mold image handling
- Replaced manual image upload logic with the ImageUpload component for better management of mold images.
- Updated image source handling to ensure proper display of images based on their URL format.
- Enhanced error handling for image display to improve user experience.

These changes aim to streamline the image upload process and enhance the overall functionality of the mold information page across multiple companies.
2026-04-11 14:50:18 +09:00
kjs
a232399cbc refactor: Update item division handling in supplier and customer management pages
- Added loading of item division categories to enhance filtering capabilities in supplier and customer management pages.
- Updated filtering logic to dynamically use item division codes for improved item search results.
- Ensured consistent handling of division codes across multiple company pages.

These changes aim to improve the user experience and data management in supplier and customer processes across various companies.
2026-04-11 13:40:01 +09:00
SeongHyun Kim
d18d708dbb Merge branch 'main' of https://g.wace.me/jskim/vexplor_dev
Some checks failed
Build and Push Images / build-and-push (push) Failing after 1m35s
2026-04-10 18:49:34 +09:00
SeongHyun Kim
ed881646a5 merge: POP 재고관리 전면 구현 (feature→staging) 2026-04-10 18:48:52 +09:00
kjs
d3e005914b refactor: Enhance subcontractor and item management functionality
- Added loading of item division categories to improve item search capabilities in subcontractor management pages.
- Updated filtering logic to use dynamic category codes for division filtering in subcontractor and sales item pages.
- Consolidated standard price labels in purchase item pages for clarity.

These changes aim to improve the user experience and data handling in subcontractor and item management processes across multiple companies.
2026-04-10 18:38:03 +09:00
kjs
97d94e77d2 Merge branch 'jskim-node' of https://g.wace.me/jskim/vexplor_dev into jskim-node 2026-04-10 17:32:34 +09:00
kjs
58faa1f759 refactor: Improve inspection management page functionality and UI
- Enhanced the rendering of the manager column to display user labels instead of IDs for better clarity.
- Updated the default state for the defect form to set is_active to "사용" upon creation.
- Simplified the badge rendering logic for the is_active status to improve readability.
- Adjusted the select component for active status to remove unnecessary options and streamline user interaction.

These changes aim to enhance the user experience and data representation in the inspection management process across multiple companies.
2026-04-10 17:32:33 +09:00
DDD1542
c8922e23b0 123 2026-04-10 17:31:57 +09:00
SeongHyun Kim
8c23f48996 feat: POP 재고관리 전면 구현 — 재고조정/재고이동/다중품목 공정
재고조정:
- fullBleed 좌우 분할, 숫자키패드 모달, 위치불일치 QR스캔+모달
- 임시저장 cart_items 상태관리 (saved/cancelled/confirmed)
- 조정이력 별도 페이지, DateRangePicker 통일
- popInventoryController 11개 API (adjust-batch, stock-detail, locations 등)

재고이동:
- 창고 탭: 탭 버튼 패턴 + flat 리스트 (아코디언 제거)
- 공정 탭: 공정명/설비 필터 모달 (작업지시번호 탭 제거)
- move-batch API: 창고→창고 + 공정→창고 (source_type 확장)
- 품목 이력 바텀시트 (transaction_type별 색상)

다중품목 공정실행:
- syncWorkInstructions LIMIT 1 제거 → detail 전체 순회
- batch_id 기반 품목별 공정 분리
- WorkOrderList/ProcessWork 품목 구분 표시

기타:
- PopShell fullBleed 모드 추가
- alert() → 토스트 메시지 교체
- MonitoringSettings import 수정
2026-04-10 17:17:23 +09:00
kjs
7c97ec8ea3 refactor: Enhance item inspection page functionality and UI
- Added resizable panel components to improve layout flexibility.
- Updated item name label from "품목명" to "품명" for consistency.
- Refactored state management for selected items and inspection types to enhance user interaction.
- Improved modal handling and search functionality for item selection.
- Enhanced inspection method and category loading to ensure accurate data representation.

These changes aim to provide a better user experience and streamline the item inspection process across multiple companies.
2026-04-10 16:55:49 +09:00
kjs
f916abca77 Merge branch 'jskim-node' of https://g.wace.me/jskim/vexplor_dev into jskim-node 2026-04-10 15:59:39 +09:00
kjs
2f50d7d809 fix: Enhance file handling and inspection method mapping
- Updated fileController to include Cross-Origin-Resource-Policy headers for improved security and file handling.
- Added error handling for file streams to ensure robust responses in case of read errors.
- Modified materialStatusController to correctly map material IDs to their respective codes for inventory stock queries.
- Enhanced moldController to include warranty shot count in mold creation and update processes.
- Improved item inspection page by adding inspection method category loading and mapping, ensuring accurate display of method labels in the UI.

These changes aim to enhance the overall functionality and user experience across multiple companies by ensuring proper file handling, data mapping, and error management.
2026-04-10 15:59:38 +09:00
DDD1542
7405d31454 Merge branch 'jskim-node' of https://g.wace.me/jskim/vexplor_dev into jskim-node 2026-04-10 14:17:43 +09:00