diff --git a/src/api/ops/asset.ts b/src/api/ops/asset.ts
index 6d3daf2..5ebe900 100644
--- a/src/api/ops/asset.ts
+++ b/src/api/ops/asset.ts
@@ -62,6 +62,7 @@ export interface AssetForm {
model?: string
manufacturer?: string
serial_number?: string
+ source_address?: string
purchase_date?: string
original_value?: number
supplier_id?: number
diff --git a/src/views/ops/pages/assets/device/components/DeviceDetailDialog.vue b/src/views/ops/pages/assets/device/components/DeviceDetailDialog.vue
index 3895152..39984e7 100644
--- a/src/views/ops/pages/assets/device/components/DeviceDetailDialog.vue
+++ b/src/views/ops/pages/assets/device/components/DeviceDetailDialog.vue
@@ -21,6 +21,9 @@
{{ device?.serial_number || '-' }}
+
+ {{ device?.source_address || '-' }}
+
{{ formatDate(device?.purchase_date) }}
@@ -117,6 +120,7 @@ interface Device {
model?: string
manufacturer?: string
serial_number?: string
+ source_address?: string
purchase_date?: string
original_value?: number
supplier?: { id: number; name: string; code: string }
@@ -213,4 +217,8 @@ export default {
:deep(.arco-descriptions-item-label) {
font-weight: 500;
}
+
+.source-address {
+ word-break: break-all;
+}
diff --git a/src/views/ops/pages/assets/device/form/index.vue b/src/views/ops/pages/assets/device/form/index.vue
index ece68e1..f662c7c 100644
--- a/src/views/ops/pages/assets/device/form/index.vue
+++ b/src/views/ops/pages/assets/device/form/index.vue
@@ -119,6 +119,13 @@
+
+
+
+
+
+
+
@@ -326,6 +333,7 @@ const form = ref({
model: '',
manufacturer: '',
serial_number: '',
+ source_address: '',
purchase_date: '',
original_value: undefined,
supplier_id: undefined,