Parcourir la source

宅基地表单优化

wulanhaote
hbao il y a 3 ans
Parent
révision
ea7044ec42
1 fichiers modifiés avec 9 ajouts et 9 suppressions
  1. +9
    -9
      src/views/onlineHome/homestead/homeApplication/proposerLite.vue

+ 9
- 9
src/views/onlineHome/homestead/homeApplication/proposerLite.vue Voir le fichier

@@ -511,8 +511,8 @@
required
:readonly="true"
/>
<van-field required :readonly="!formEnabled.acceptingForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyEnd.houseCertificateNo" label="权属证书号(不动产)" placeholder="权属证书号(不动产)" input-align="right" label-width="auto" :rules="[{ required: true }]"/>
<van-field required :readonly="!formEnabled.acceptingForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyEnd.landCertificateNo" label="权属证书号(宅基地)" placeholder="权属证书号(宅基地)" input-align="right" label-width="auto" :rules="[{ required: true }]"/>
<!-- <van-field required :readonly="!formEnabled.acceptingForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyEnd.houseCertificateNo" label="权属证书号(不动产)" placeholder="权属证书号(不动产)" input-align="right" label-width="auto" :rules="[{ required: true }]"/>-->
<!-- <van-field required :readonly="!formEnabled.acceptingForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyEnd.landCertificateNo" label="权属证书号(宅基地)" placeholder="权属证书号(宅基地)" input-align="right" label-width="auto" :rules="[{ required: true }]"/>-->
<van-field required :readonly="!formEnabled.acceptingForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyEnd.buildingHight" label="批建高度" placeholder="批建高度" input-align="right" label-width="auto" type="number" :rules="[{ required: true }]"><template #right-icon>m</template></van-field>
<van-field required :readonly="!formEnabled.acceptingForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyEnd.buildingFloors" label="批建层数" placeholder="批建层数" input-align="right" label-width="auto" type="digit" :rules="[{ required: true }]"><template #right-icon>层</template></van-field>
<van-field required :readonly="!formEnabled.acceptingForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyEnd.actualBuildingHight" label="竣工高度" placeholder="竣工高度" input-align="right" label-width="auto" type="number" :rules="[{ required: true }]"><template #right-icon>m</template></van-field>
@@ -707,7 +707,7 @@
</van-row>
</div>

<van-field rows="3" :autosize="true" type="textarea" label="备注" label-width="auto" placeholder="备注" :readonly="!formEnabled.acceptingForm.townFormEnabled" v-model="applicationDetail.tHouseApplyEnd.remark" input-align="left" :rules="[{ required: true }]"></van-field>
<van-field rows="3" :autosize="true" type="textarea" label="备注" label-width="auto" placeholder="备注" :readonly="!formEnabled.acceptingForm.townFormEnabled" v-model="applicationDetail.tHouseApplyEnd.remark" input-align="left"></van-field>
</template>
</template>

@@ -2495,12 +2495,12 @@ export default {
validateAcceptingFormBase() {
if(!this.applicationDetail.tHouseApplyEnd) return '请填写验收数据';

if (this.checkString(this.applicationDetail.tHouseApplyEnd.houseCertificateNo)) {
return "权属证书号(不动产)不能为空";
}
if (this.checkString(this.applicationDetail.tHouseApplyEnd.landCertificateNo)) {
return "权属证书号(宅基地)不能为空";
}
// if (this.checkString(this.applicationDetail.tHouseApplyEnd.houseCertificateNo)) {
// return "权属证书号(不动产)不能为空";
// }
// if (this.checkString(this.applicationDetail.tHouseApplyEnd.landCertificateNo)) {
// return "权属证书号(宅基地)不能为空";
// }
if (this.checkString(this.applicationDetail.tHouseApplyEnd.buildingHight)) {
return "批建高度不能为空";
}


Chargement…
Annuler
Enregistrer