|
@@ -356,7 +356,7 @@
|
|
|
prop="radarId"
|
|
|
>
|
|
|
<el-input
|
|
|
- v-model="device.radarId"
|
|
|
+ v-model.number="device.radarId"
|
|
|
style="width: 200px;"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -365,7 +365,7 @@
|
|
|
prop="serialId"
|
|
|
>
|
|
|
<el-input
|
|
|
- v-model="device.serialId"
|
|
|
+ v-model.number="device.serialId"
|
|
|
style="width: 200px;"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -483,7 +483,7 @@
|
|
|
prop="radarId"
|
|
|
>
|
|
|
<el-input
|
|
|
- v-model="device.radarId"
|
|
|
+ v-model.number="device.radarId"
|
|
|
style="width: 200px;"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -492,7 +492,7 @@
|
|
|
prop="serialId"
|
|
|
>
|
|
|
<el-input
|
|
|
- v-model="device.serialId"
|
|
|
+ v-model.number="device.serialId"
|
|
|
style="width: 200px;"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -732,6 +732,7 @@ const deviceEditDialog = ref(false)
|
|
|
const isDeviceEditDialog = (val) => {
|
|
|
deviceEditDialog.value = true
|
|
|
device.value = val
|
|
|
+ isDevice.value = deviceGenre.value.find(item => item.ID === device.value.genre).type
|
|
|
}
|
|
|
|
|
|
const deviceEdit = async() => {
|