|
@@ -68,7 +68,9 @@
|
|
|
<view class="flexc mh35">
|
|
|
<view class="flex1 txr f13 co27" v-if="datainfo.residentRelationship&&!hzgx">{{statusFormats(datainfo.residentRelationship,hzgxList,'hzgx')}}</view>
|
|
|
<view class="flex1 txr f13" v-else :class="hzgx?'co27':'coa'">{{hzgx||"请选择与户主关系"}}</view>
|
|
|
- <view class="rimg"><image :src="rimg"></image></view>
|
|
|
+ <view class="rimg">
|
|
|
+ <image :src="rimg"></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</uni-forms-item>
|
|
|
</picker>
|
|
@@ -226,13 +228,6 @@
|
|
|
</view>
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="登记日期" name="registrationDate">
|
|
|
- <!-- <picker mode="timed" :disabled="isdisabled" @change='bindDateChangea'>
|
|
|
- <view class="flexc">
|
|
|
- <view class="flex1 txr f13" :class="datainfo.registrationDate?'co27':'coa'">{{datainfo.registrationDate||"请选择登记日期"}}</view>
|
|
|
- <view class="rimg"><image :src="rimg"></image></view>
|
|
|
- </view>
|
|
|
- </picker> -->
|
|
|
- <!-- :hide-second='true' -->
|
|
|
<view class="flexc">
|
|
|
<uni-datetime-picker :disabled="isdisabled" :class="houserinfo.registrationDate?'co27':'coa'" type="datetime" placeholder="请选择登记日期" :border="false" v-model="houserinfo.registrationDate" />
|
|
|
<view class="rimg"><image :src="rimg"></image></view>
|
|
@@ -713,7 +708,8 @@
|
|
|
},
|
|
|
bindDateChangea(e){
|
|
|
var val=e.detail.value;
|
|
|
- this.houserinfo.registrationDate=val;
|
|
|
+ this.datainfo.residentRelationship=this.hzgxList[val].dictValue;
|
|
|
+ this.hzgx=this.hzgxList[val].dictLabel
|
|
|
},
|
|
|
bindDateChangeb(e){
|
|
|
var val=e.detail.value;
|