From a228c5c73f2df5038cfc742f47ce899194a4c9e4 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 08 Dec 2023 13:48:58 +0800
Subject: [PATCH] 出租房bug修复
---
subPackage/user/family/edit.vue | 2 +-
subPackage/house/member/index.vue | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/subPackage/house/member/index.vue b/subPackage/house/member/index.vue
index bda0983..efa91aa 100644
--- a/subPackage/house/member/index.vue
+++ b/subPackage/house/member/index.vue
@@ -194,7 +194,7 @@
relationName: '',
location: "",
title: "",
- roleType:null,
+ // roleType:null,
description: "",
},
rules: {
@@ -383,7 +383,7 @@
const workStatusIndex = this.dataList.workStatusList.findIndex(item => item.name === this.workStatusName)
const maritalStatusIndex = this.dataList.maritalStatusList.findIndex(item => item.name === this.maritalStatusName)
- this.form['roleType'] = roleTypeIndex >0 ? this.dataList.roleList[roleTypeIndex].value : ""
+ this.form['roleType'] = roleTypeIndex >=0 ? this.dataList.roleList[roleTypeIndex].value : ""
this.form['relationship'] = relationshipIndex >0 ? this.dataList.relationshipList[relationshipIndex].value: ""
this.form['gender'] = genderIndex >0 ?this.dataList.genderList[genderIndex].value: ""
this.form['isPrimaryContact'] = isPrimaryContactIndex >0 ?this.dataList.isPrimaryContactList[isPrimaryContactIndex].value: ""
diff --git a/subPackage/user/family/edit.vue b/subPackage/user/family/edit.vue
index 483d18a..e61a2c1 100644
--- a/subPackage/user/family/edit.vue
+++ b/subPackage/user/family/edit.vue
@@ -368,7 +368,7 @@
},
//类型选择确认
typeSelect(item) {
- const [ result ] = e.value
+ const [ result ] = item.value
this[this.selectBusModel] = result.name
this.form[this.selectBusKey] = result.value
this.typeShow = !this.typeShow
--
Gitblit v1.9.3