linwe
2023-12-08 0d016f8d394ace564853e8ae29e69974cd5fd324
出租房bug修复
1 files modified
18 ■■■■ changed files
subPackage/bs/views/zhsb.vue 18 ●●●● patch | view | raw | blame | history
subPackage/bs/views/zhsb.vue
@@ -67,6 +67,9 @@
    },
    methods: {
        async getHouseRent() {
                if (!this.houseCode) {
                    this.houseCode = uni.getStorageSync("siteInfo").houseCode
                }
            const res = await getHouseRentInfo(this.houseCode)
            const {
                aoiName,
@@ -81,12 +84,16 @@
            this.room = (!!unitName ? unitName : '') + doorplateName + "室"
            this.num = 0
            houseRentalList !== 0 && houseRentalList.forEach(item => {
                const { houseTenantVOList, dueTime, rentalTime } = item
                item.num = houseTenantVOList.length
                    const {
                        householdVOList,
                        dueTime,
                        rentalTime
                    } = item
                    item.num = householdVOList.length
                this.num += item.num
                if (item.num !== 0) {
                    item.name = houseTenantVOList[0].name
                    item.housingRentalId = houseTenantVOList[0].housingRentalId
                        item.name = householdVOList[0].name
                        item.housingRentalId = householdVOList[0].housingRentalId
                }
                this.rentList = houseRentalList
            })
@@ -137,6 +144,7 @@
    .location {
        font-weight: 700;
        font-size: 27rpx;
        text {
            color: #AAAAAA;
        }
@@ -167,11 +175,13 @@
.box-title {
    margin: 25rpx 0;
    display: flex;
    .line {
        width: 8rpx;
        margin-right: 10rpx;
        background-color: #2978FF;
    }
    .title {
        font-weight: 700;
    }