Overview
The Service Orders Management system is the core functionality that enables tracking and managing service requests from creation through completion. Each service order captures complete information about the customer, equipment, service requirements, and solution delivery.Service Order Data Structure
TheServiceOrder interface defines the complete structure of a service order:
types/ServiceOrder.ts
Each service order includes comprehensive information about the customer’s company, contact details, equipment specifications, and service requirements all in one place.
Service Order Workflow
The system follows a structured workflow from order creation to solution delivery:Create Order
Users create a new service order by providing company information, contact details, equipment specifications, and service description.
View Details
Review complete order information including customer details, equipment information, and service requirements.
Add Solution
Once service is completed, technicians document the solution and delivery recommendations.
Creating a Service Order
The order creation form (pages/serviceorders/order.vue) captures all necessary information:
Company & Contact Information
- Company Selection: Choose from existing companies or add new ones
- Headquarters/Location: Specify the company location or branch
- Contact Person: Select or create contact with identification details
- Contact Details: Phone numbers, email addresses, and physical address
pages/serviceorders/order.vue
Service Information
The form includes comprehensive service details:- Service Type: Warranty (garantía), Repair (reparación), or Maintenance (mantenimiento)
- Equipment Name: Type of equipment being serviced
- Part Number: Equipment part identification
- Serial Number: Unique equipment serial number
- Description: Detailed description of the equipment condition and service requirements
- Responsible Technician: Assigned service technician
pages/serviceorders/order.vue
Managing Service Orders
The main service orders list (pages/serviceorders/index.vue) provides a comprehensive view of all orders:
Order List Features
Search & Filter
Filter orders by client name, date range, or order number to quickly find specific orders.
Quick Actions
Each order has dropdown actions for Edit, View Details, Add Solution, and Delete.
Order Actions
The system provides four main actions for each service order:pages/serviceorders/index.vue
How order actions work
How order actions work
Each action opens a dedicated modal:
- Editar: Opens the order form with pre-filled data for modification
- Detalles: Displays complete order information in read-only format
- Solución: Allows adding solution details and delivery recommendations
- Eliminar: Permanently removes the order from the system
Viewing Order Details
The detail view (pages/serviceorders/detail.vue) organizes information into three main sections:
1. General Information
- Order Number
- Company Name
- Headquarters/Branch
- Address and City
- Phone and Email
2. Contact Information
- Contact Name and Last Name
- Gender
- Identification Number
- Job Title/Charge
3. Service Information
- Service Type
- Equipment Name
- Part Number and Serial Number
- Problem Description
- Solution (once completed)
- Delivery Conditions
pages/serviceorders/detail.vue
Adding Solutions
Once service is completed, technicians use the solution modal (pages/serviceorders/solution.vue) to document:
- Solution: Detailed description of work performed and issues resolved
- Recommendations: Maintenance recommendations and preventive measures for the customer
pages/serviceorders/solution.vue
Solutions and recommendations become part of the permanent service record and can be viewed in the order details.
API Integration
The system fetches service orders from the backend API:pages/serviceorders/index.vue
Composable for Order Management
TheuseServiceOrders composable provides reusable order management logic:
composables/useServiceOrders.ts
Best Practices
Complete Documentation
Always provide detailed descriptions of equipment condition and service requirements to ensure proper handling.
Accurate Equipment Info
Verify part numbers and serial numbers carefully as they’re critical for warranty and parts ordering.
Timely Solutions
Add solution details promptly after service completion while information is fresh.
Customer Communication
Use the recommendations field to provide valuable preventive maintenance advice to customers.