Commit Graph

4389 Commits

Author SHA1 Message Date
5fe0f202d0 Merge branch 'main' into jskim-node 2026-04-22 00:28:18 +00:00
kjs
3b796ca9e3 feat: Add outsourcing outbound functionality
- Introduced a new controller for managing outsourcing outbound processes, including automatic candidate retrieval and outbound list management.
- Implemented API routes for fetching candidates, listing outsourcing outbounds, and creating new outbound records.
- Enhanced the SQL queries to ensure proper filtering by company code and to utilize existing outbound management tables effectively.
- Added new routes for handling outsourcing outbound operations in the Express application, improving the overall functionality of the logistics module.
2026-04-22 09:27:45 +09:00
kjs
08e601eab8 feat: Refactor production report data retrieval logic
- Updated the `getProductionReportData` function to utilize the `work_order_process` table for accurate production data retrieval.
- Enhanced the SQL query to include new fields such as `process_name`, `equipment_name`, and `plan_qty`, improving the detail and accuracy of the production report.
- Adjusted date and company filters to align with the new data structure, ensuring proper data segregation and retrieval based on company codes.
- Improved handling of equipment and item information by incorporating lateral joins for better data accuracy and representation.
2026-04-21 14:15:57 +09:00
kjs
a863427c4f feat: Update equipment handling in process management
- Enhanced the `getProcessEquipments` function to support matching both legacy equipment codes and new IDs, improving data retrieval accuracy.
- Updated the `availableEquipments` logic in the `ProcessMasterTab` component to handle both equipment codes and IDs, ensuring a seamless user experience when adding equipment.
- Improved error handling for equipment selection, providing user feedback when a selected equipment cannot be found.
- Refactored the display of equipment names to ensure accurate representation, even when equipment codes are not available.
2026-04-21 13:54:14 +09:00
kjs
e0b89036d0 feat: Enhance copy functionality for item inspection information
- Introduced state management for copy form and inspection rows to facilitate editing and copying of inspection data.
- Implemented logic to duplicate selected inspection data into a copy modal, allowing users to edit and manage copied information.
- Enhanced the copy process to include validation and user feedback, ensuring a smooth experience when copying inspection details to multiple target items.
- Updated the modal handling to support dynamic row management for copied inspection items, improving usability and flexibility.
2026-04-21 10:31:40 +09:00
f30ef643f9 Merge pull request 'jskim-node' (#31) from jskim-node into main
Some checks failed
Build and Push Images / build-and-push (push) Failing after 1m0s
Reviewed-on: #31
2026-04-20 09:09:36 +00:00
kjs
51c4fddde0 feat: Add report cell value management functionality
- Introduced a new controller for managing custom input values in report cells, allowing users to retrieve and upsert values associated with specific reports and targets.
- Implemented API routes for fetching and saving report cell values, ensuring proper authentication and data handling.
- Enhanced the frontend components to support the new report cell input functionality, including the ability to edit and save input values in a modal.
- Updated inventory and equipment management pages to include new features for handling missing items and managing warehouse locations effectively.
2026-04-20 17:59:28 +09:00
kjs
725aa976bf Merge branch 'main' of https://g.wace.me/jskim/vexplor_dev into jskim-node 2026-04-20 14:52:03 +09:00
kjs
68bc857eae feat: Implement pagination and enhanced keyword search in work instruction retrieval
- Added pagination support to the `getList` function in the work instruction controller, allowing for efficient data retrieval with `page` and `pageSize` parameters.
- Enhanced the keyword search functionality to include checks for item numbers in the work instruction details, improving search accuracy.
- Updated the frontend components to utilize the new `SmartSelect` component for supplier and partner selection, enhancing user experience.
- Adjusted the `EDataTable` component to support server-side pagination, ensuring better performance with large datasets.
2026-04-20 14:51:32 +09:00
kjs
377e3e51e8 Merge branch 'jskim-node' of https://g.wace.me/jskim/vexplor_dev into jskim-node 2026-04-20 14:14:26 +09:00
kjs
9737805bf9 feat: Enhance outbound and receiving update functionalities with inventory adjustments
- Updated the `update` function in the outbound controller to include detailed inventory adjustments when modifying outbound records, ensuring accurate stock management.
- Implemented rollback mechanisms for both outbound and receiving updates to maintain data integrity in case of errors.
- Enhanced the `deleteOutbound` function to include inventory recovery and historical logging for deleted outbound records.
- Introduced a new utility function `adjustInventory` to handle inventory changes consistently across different controllers.
- Improved error handling and logging for better traceability during outbound and receiving operations.
2026-04-20 14:14:24 +09:00
dd01ebb484 Merge pull request 'jskim-node' (#30) from jskim-node into main
Some checks failed
Build and Push Images / build-and-push (push) Failing after 46s
Reviewed-on: #30
2026-04-20 00:31:28 +00:00
a7b977c5f6 Merge branch 'main' into jskim-node 2026-04-20 00:31:21 +00:00
kjs
48b9ba3d2a feat: Enhance routing details and subcontractor mapping functionality
- Updated the `getRoutingDetails` function to enrich routing details with subcontractor codes, improving data retrieval for routing information.
- Implemented a mapping mechanism to associate subcontractor codes with routing details, ensuring accurate representation of outsourcing suppliers.
- Enhanced the `saveRoutingDetails` function to handle subcontractor mappings during the save operation, ensuring data integrity and consistency.
- Updated the BOM service to improve unit handling and added inventory unit information for better clarity in item representation.
- Refactored production plan management to streamline modal handling and improve error messaging for better user feedback.
2026-04-17 18:25:35 +09:00
kjs
78e102fd45 Merge branch 'jskim-node' of https://g.wace.me/jskim/vexplor_dev into jskim-node 2026-04-17 13:11:02 +09:00
kjs
173b85b476 feat: Implement copy functionality for item inspection information
- Added a modal for copying inspection information from a selected item to multiple target items.
- Implemented search and selection logic for target items to facilitate the copying process.
- Included validation to ensure a source item is selected and that target items are valid before proceeding with the copy operation.
- Enhanced user feedback with toast notifications for successful and error states during the copy process.
- Updated BOM management to include unit label handling for better clarity in item representation.
2026-04-17 13:11:01 +09:00
kjs
b158b0aa77 feat: Enhance mold serial summary retrieval and improve category handling
- Updated the `getMoldSerialSummary` function to dynamically retrieve category values for mold statuses and operations, allowing for more flexible data aggregation.
- Implemented a mapping mechanism to categorize status codes based on their labels, improving the clarity of the summary results.
- Adjusted SQL queries to utilize the new category mappings for more accurate counts of mold statuses.
- Refactored the packaging and loading unit deletion logic to handle company code checks more efficiently, ensuring proper data access control.
2026-04-16 18:23:20 +09:00
01c77c553b Merge pull request 'jskim-node' (#29) from jskim-node into main
Some checks failed
Build and Push Images / build-and-push (push) Failing after 1m37s
Reviewed-on: #29
2026-04-16 04:56:00 +00:00
17a5869bc0 Merge branch 'main' into jskim-node 2026-04-16 04:55:53 +00:00
kjs
c503e2c59c Merge branch 'gbpark-node' of https://g.wace.me/jskim/vexplor_dev into jskim-node 2026-04-16 13:41:41 +09:00
kjs
dc7dd2776b feat: Enhance receiving update functionality and clean up imports
- Updated the receiving controller to allow for the update of inbound records, including both header and item fields (inbound_qty, unit_price, total_amount).
- Cleaned up the import statements in the receiving page by removing a duplicate toast import, improving code clarity and maintainability.
2026-04-16 13:41:35 +09:00
DDD1542
e6496c56f9 123123 2026-04-16 13:41:02 +09:00
kjs
4a0d4ab5c7 Merge branch 'jskim-node' of https://g.wace.me/jskim/vexplor_dev into jskim-node 2026-04-16 13:22:56 +09:00
kjs
359fd2823f feat: Update pagination size for API requests across multiple pages
- Changed the pagination size from 500 to 0 for various API requests in the equipment, logistics, master data, quality, and sales pages.
- This adjustment aims to optimize data retrieval by potentially reducing the amount of data fetched in initial requests, improving performance and responsiveness.
- Ensured that the changes are consistent across all relevant components to maintain uniformity in data handling.
2026-04-16 13:22:54 +09:00
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
a89e99560d feat: Enhance Excel template generation with error handling improvements
- Added errorStyle set to "stop" for various input validations in the template generation process.
- This enhancement ensures that users receive clear error messages when input criteria are not met, improving the overall user experience during data entry.
- These changes aim to streamline the Excel upload process and enhance data integrity across multiple company implementations.
2026-04-15 16:02:11 +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
40a04046c9 Merge pull request 'jskim-node' (#28) from jskim-node into main
Some checks failed
Build and Push Images / build-and-push (push) Failing after 1m39s
Reviewed-on: #28
2026-04-15 00:31:07 +00:00
123ccc9575 Merge branch 'main' into jskim-node 2026-04-15 00:31:01 +00:00
kjs
7aaf264661 feat: Enhance work item detail management with additional inspection fields
- Updated the processWorkStandardController and workInstructionController to include new fields for process_inspection_apply and equip_inspection_apply in SQL queries and data handling.
- Modified the DetailFormModal and WorkItemDetailList components to support individual registration of inspection items and equipment inspections, improving the flexibility of the inspection process.
- Implemented logic to handle automatic content generation for inspection and equipment inspection types, enhancing user experience and data accuracy.
- These changes aim to improve the management of work item details and streamline the inspection process across multiple company implementations.
2026-04-14 17:51:47 +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
b0cc0fce9f refactor: Update work instruction queries to use work_instruction_id for consistency
- Changed references from work_instruction_no to work_instruction_id in the popProductionController and workInstructionController for improved consistency and clarity.
- Updated SQL queries to ensure proper data handling and integrity by aligning with the new identifier.
- These changes aim to streamline the data retrieval process and enhance overall code maintainability across multiple company implementations.
2026-04-14 12:09:06 +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