|
@@ -92,6 +92,20 @@
|
|
|
</view>
|
|
|
|
|
|
|
|
|
+ <view class="num-style">
|
|
|
+ <view class="container" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
+ <spane>现住地址</spane>
|
|
|
+ <view style="display: flex; justify-content: flex-end;" v-if="!this.isEmpty(this.XQValue.name)">
|
|
|
+ {{XQValue.name}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="container" style="display: flex; justify-content: flex-end; ">
|
|
|
+ <input class="uni-input" type="text" v-model="BuildingName" style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx; "></input><span style="padding-left: 10rpx;padding-right: 10rpx;">栋</span>
|
|
|
+ <input class="uni-input" type="text" v-model="UnintName" style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx; "></input><span style="padding-left: 10rpx;padding-right: 10rpx;width:60px;">单元</span>
|
|
|
+ <input class="uni-input" type="text" v-model="RoomName" style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx; "></input><span style="padding-left: 10rpx;padding-right: 10rpx;">号</span>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view v-for="(user,index) in currentResidentsPhoe" :key="index" class="num-style">
|
|
|
|
|
|
|
|
@@ -570,6 +584,9 @@
|
|
|
imgArr: [],
|
|
|
idCard: '',
|
|
|
XQValue: {},
|
|
|
+ BuildingName: '',
|
|
|
+ UnintName: '',
|
|
|
+ RoomName: '',
|
|
|
XZQValue: {},
|
|
|
projectValue: {
|
|
|
'dictValue': '0'
|
|
@@ -1222,7 +1239,18 @@
|
|
|
this.$modal.msg("请选择房间")
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
+ if (this.isEmpty(this.BuildingName)) {
|
|
|
+ this.$modal.msg('请输入现住楼栋')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.isEmpty(this.UnintName)) {
|
|
|
+ this.$modal.msg('请输入现住单元')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.isEmpty(this.RoomName)) {
|
|
|
+ this.$modal.msg('请输入现住号')
|
|
|
+ return
|
|
|
+ }
|
|
|
if (this.currentResidentsPhoe.length <= 0) {
|
|
|
this.$modal.msg('现住人电话不能为空');
|
|
|
return
|
|
@@ -1398,7 +1426,10 @@
|
|
|
phoneArr.push(list.phone)
|
|
|
})
|
|
|
|
|
|
- putRoomDetails(this.FJValue.id, phoneArr.join())
|
|
|
+
|
|
|
+
|
|
|
+ let AddressStr = this.XQValue.name + this.BuildingName + '栋' + this.UnintName + '单元' + this.RoomName + '号';
|
|
|
+ putRoomDetails(this.FJValue.id, phoneArr.join(),AddressStr)
|
|
|
.then(res => {
|
|
|
|
|
|
if (res.code == '200') {
|
|
@@ -1424,8 +1455,8 @@
|
|
|
phoneArr.push(list.phone)
|
|
|
})
|
|
|
|
|
|
- putRoomDetails(this.FJValue.id, phoneArr
|
|
|
- .join())
|
|
|
+ let AddressStr = this.XQValue.name + this.BuildingName + '栋' + this.UnintName + '单元' + this.RoomName + '号';
|
|
|
+ putRoomDetails(this.FJValue.id, phoneArr.join(),AddressStr)
|
|
|
.then(res => {
|
|
|
|
|
|
if (res.code == '200') {
|