Lou
2024-01-17 3e58875897024e4d6986be6abc4f94371e745016
更新
4 files modified
74 ■■■■ changed files
subPackage/bs/views/rentDetail.vue 37 ●●●● patch | view | raw | blame | history
subPackage/house/member/index.vue 1 ●●●● patch | view | raw | blame | history
subPackage/label/hotel.vue 18 ●●●● patch | view | raw | blame | history
subPackage/label/school.vue 18 ●●●● patch | view | raw | blame | history
subPackage/bs/views/rentDetail.vue
@@ -64,8 +64,9 @@
        <!-- <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"
@@ -222,10 +223,10 @@
                    deleteBtn: false,
                    verifyBtn: false
                },
                selectDefaultIndex:{
                    rentalUse:0,
                    relation:0,
                    houseType:0
                selectDefaultIndex: {
                    rentalUse: 0,
                    relation: 0,
                    houseType: 0
                }
            }
        },
@@ -345,7 +346,8 @@
                    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,
@@ -451,20 +453,20 @@
                //     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() {
@@ -508,14 +510,14 @@
                // 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) => {
@@ -638,6 +640,7 @@
                margin-bottom: 30rpx;
            }
        }
        .bottom-tools {
            display: flex;
            background-color: #ffffff;
@@ -667,4 +670,4 @@
        padding: 5rpx 20rpx;
        border-bottom: 1px solid #eff1f3;
    }
</style>
</style>
subPackage/house/member/index.vue
@@ -784,6 +784,7 @@
            // 新增更新操作
            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) {
subPackage/label/hotel.vue
@@ -13,11 +13,11 @@
                    <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>
@@ -188,7 +188,7 @@
                    hotelName: "",
                    checkUserName: "",
                    checkTelephone: "",
                    checkTime: '',
                    checkTime: Number(new Date()),
                    fireNums: "",
                    fireStatus: "",
                    scFlag: "",
@@ -213,12 +213,12 @@
                        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,
subPackage/label/school.vue
@@ -12,11 +12,11 @@
                    <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>
@@ -220,7 +220,7 @@
                    campusName: "",
                    checkUserName: "",
                    checkTelephone: "",
                    checkTime: '',
                    checkTime: Number(new Date()),
                    location: '',
                    fourOne: '',
                    fireFacsType: '',
@@ -249,12 +249,12 @@
                        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,