| | |
| | | <!-- <select-bus v-if="typeShow" :show="typeShow" v-model="form[selectBusModel]" type="radio"
|
| | | :popupTitle="selectBusTitle" :dataLists="selectBusList" @cancel="typeShow = false" @submit="typeSelect">
|
| | | </select-bus> -->
|
| | | <u-picker :defaultIndex="[selectDefaultIndex[selectBusKey]]" :closeOnClickOverlay="true" v-if="typeShow" :show="typeShow" :columns="[selectBusList]"
|
| | | @close="typeShow = false" @cancel="typeShow = false" keyName="name" @confirm="typeSelect"></u-picker>
|
| | | <u-picker :defaultIndex="[selectDefaultIndex[selectBusKey]]" :closeOnClickOverlay="true" v-if="typeShow"
|
| | | :show="typeShow" :columns="[selectBusList]" @close="typeShow = false" @cancel="typeShow = false"
|
| | | keyName="name" @confirm="typeSelect"></u-picker>
|
| | | <!--出租时间选择-->
|
| | | <u-datetime-picker v-model="currentTime" v-if="rentTimeShow" :closeOnClickOverlay="true"
|
| | | @close="rentTimeShow = false" :show="rentTimeShow" mode="date" @confirm="rentTimeConfirm"
|
| | |
| | | deleteBtn: false,
|
| | | verifyBtn: false
|
| | | },
|
| | | selectDefaultIndex:{
|
| | | rentalUse:0,
|
| | | relation:0,
|
| | | houseType:0
|
| | | selectDefaultIndex: {
|
| | | rentalUse: 0,
|
| | | relation: 0,
|
| | | houseType: 0
|
| | | }
|
| | | }
|
| | | },
|
| | |
| | | houseStatus: this.dataList.houseType[statusIndex].value,
|
| | | rentalUse: this.dataList.rentalUse[rentalIndex].value,
|
| | | fileUrls: this.form.fileUrls,
|
| | | householdVOList
|
| | | householdVOList,
|
| | | roleName: uni.getStorageSync("activeRole").roleName
|
| | | }
|
| | | const {
|
| | | code,
|
| | |
| | | // return item.value == value
|
| | | // })
|
| | | // return res.name
|
| | | |
| | |
|
| | | let data = {
|
| | | index: "",
|
| | | name:""
|
| | | name: ""
|
| | | }
|
| | | for(let i =0,ii = obj.length;i<ii;i++){
|
| | | if(value == obj[i].value){
|
| | | for (let i = 0, ii = obj.length; i < ii; i++) {
|
| | | if (value == obj[i].value) {
|
| | | data.index = i;
|
| | | data.name = obj[i].name;
|
| | | }
|
| | | }
|
| | | return data;
|
| | | |
| | | |
| | |
|
| | |
|
| | | },
|
| | | // 获取租赁相关信息
|
| | | async getCurrentRentInfo() {
|
| | |
| | | // this.rentalUseName = this.findObjValue(rentalUse, this.dataList.rentalUse)
|
| | | // this.relationName = this.findObjValue(tenantRelationship, this.dataList.relation)
|
| | | // this.houseTypeName = this.findObjValue(houseStatus, this.dataList.houseType)
|
| | | |
| | |
|
| | | this.rentalUseName = this.findObjValue(rentalUse, this.dataList.rentalUse).name
|
| | | this.selectDefaultIndex.rentalUse = this.findObjValue(rentalUse,this.dataList.rentalUse).index;
|
| | | this.selectDefaultIndex.rentalUse = this.findObjValue(rentalUse, this.dataList.rentalUse).index;
|
| | | this.relationName = this.findObjValue(tenantRelationship, this.dataList.relation).name
|
| | | this.selectDefaultIndex.relation = this.findObjValue(tenantRelationship, this.dataList.relation).index;
|
| | | this.houseTypeName = this.findObjValue(houseStatus, this.dataList.houseType).name
|
| | | this.selectDefaultIndex.houseType = this.findObjValue(houseStatus, this.dataList.houseType).index
|
| | | |
| | |
|
| | | this.rentFormNum = householdVOList.length
|
| | | this.$nextTick(() => {
|
| | | householdVOList.forEach((item, index) => {
|
| | |
| | | margin-bottom: 30rpx;
|
| | | }
|
| | | }
|
| | |
|
| | | .bottom-tools {
|
| | | display: flex;
|
| | | background-color: #ffffff;
|
| | |
| | | padding: 5rpx 20rpx;
|
| | | border-bottom: 1px solid #eff1f3;
|
| | | }
|
| | | </style> |
| | | </style> |
| | |
| | | // 新增更新操作 |
| | | async saveOrUpdate() { |
| | | this.form['houseCode'] = this.houseCode |
| | | this.form.roleName = uni.getStorageSync("activeRole").roleName; |
| | | if (this.form.cardType) { |
| | | if (this.form.cardType == 111) { |
| | | if (!this.form.idCard) { |
| | |
| | | <u-input v-model="info.hotelName" border="none" placeholder="请输入" placeholderClass="f-28 c-99" |
| | | inputAlign="right"></u-input> |
| | | </u-form-item> |
| | | <u-form-item label="自查时间" prop="checkTime" borderBottom required @click="showSelectDate = true"> |
| | | <!-- <u-form-item label="自查时间" prop="checkTime" borderBottom required @click="showSelectDate = true"> |
| | | <u-input v-model="info.checkTime" disabled disabledColor="#ffffff" border="none" placeholder="请选择" |
| | | placeholderClass="f-28 c-99" inputAlign="right"></u-input> |
| | | <u-icon slot="right" name="arrow-right"></u-icon> |
| | | </u-form-item> |
| | | </u-form-item> --> |
| | | <u-form-item label="自查人姓名" prop="checkUserName" borderBottom required> |
| | | <u-input v-model="info.checkUserName" border="none" placeholder="请输入" placeholderClass="f-28 c-99" |
| | | inputAlign="right"></u-input> |
| | |
| | | hotelName: "", |
| | | checkUserName: "", |
| | | checkTelephone: "", |
| | | checkTime: '', |
| | | checkTime: Number(new Date()), |
| | | fireNums: "", |
| | | fireStatus: "", |
| | | scFlag: "", |
| | |
| | | message: '请输入酒店名称', |
| | | trigger: ['blur', 'change'] |
| | | }, |
| | | 'info.checkTime': { |
| | | type: 'string', |
| | | required: true, |
| | | message: '请选择自查时间', |
| | | trigger: ['blur', 'change'] |
| | | }, |
| | | // 'info.checkTime': { |
| | | // type: 'string', |
| | | // required: true, |
| | | // message: '请选择自查时间', |
| | | // trigger: ['blur', 'change'] |
| | | // }, |
| | | 'info.checkUserName': { |
| | | type: 'string', |
| | | required: true, |
| | |
| | | <u-input v-model="info.campusName" border="none" placeholder="请输入" placeholderClass="f-28 c-99" |
| | | inputAlign="right"></u-input> |
| | | </u-form-item> |
| | | <u-form-item label="自查时间" prop="checkTime" borderBottom required @click="showSelectDate = true"> |
| | | <!-- <u-form-item label="自查时间" prop="checkTime" borderBottom required @click="showSelectDate = true"> |
| | | <u-input v-model="info.checkTime" disabled disabledColor="#ffffff" border="none" placeholder="请选择" |
| | | placeholderClass="f-28 c-99" inputAlign="right"></u-input> |
| | | <u-icon slot="right" name="arrow-right"></u-icon> |
| | | </u-form-item> |
| | | </u-form-item> --> |
| | | <u-form-item label="自查人姓名" prop="checkUserName" borderBottom required> |
| | | <u-input v-model="info.checkUserName" border="none" placeholder="请输入" placeholderClass="f-28 c-99" |
| | | inputAlign="right"></u-input> |
| | |
| | | campusName: "", |
| | | checkUserName: "", |
| | | checkTelephone: "", |
| | | checkTime: '', |
| | | checkTime: Number(new Date()), |
| | | location: '', |
| | | fourOne: '', |
| | | fireFacsType: '', |
| | |
| | | message: '请输入学校名称', |
| | | trigger: ['blur', 'change'] |
| | | }, |
| | | 'info.checkTime': { |
| | | type: 'string', |
| | | required: true, |
| | | message: '请选择自查时间', |
| | | trigger: ['blur', 'change'] |
| | | }, |
| | | // 'info.checkTime': { |
| | | // type: 'string', |
| | | // required: true, |
| | | // message: '请选择自查时间', |
| | | // trigger: ['blur', 'change'] |
| | | // }, |
| | | 'info.checkUserName': { |
| | | type: 'string', |
| | | required: true, |