新增数据,开始安全巡检模块
This commit is contained in:
@@ -121,7 +121,6 @@ const form = ref({
|
||||
id: null,
|
||||
areaId: null, // 区域id
|
||||
residentId: null, // 车位id
|
||||
villageId: Number(localStorage.getItem('villageid')), // 小区id
|
||||
parkingId: null, // 持有人id
|
||||
carNum: '', //车牌号
|
||||
carBrand: '', //车辆品牌
|
||||
@@ -207,7 +206,6 @@ function changeArealist(val: string) {
|
||||
const submitForm = () => {
|
||||
formRef.value?.validate(async (valid: boolean) => {
|
||||
if (valid) {
|
||||
form.value.villageId = Number(localStorage.getItem('villageid'));
|
||||
if (userid.value.trim() !== '') {
|
||||
updateCar(form.value).then(() => {
|
||||
ElMessage.success('编辑成功');
|
||||
|
||||
Reference in New Issue
Block a user