"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Enums.js"),n=require("./method.js"),s=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const l=e.defineComponent({__name:"index",setup(l){const u=e.ref(!1);return e.onLoad(e=>{var o;console.log(e,"e"),s.useModel.formData.value.asset_houses_id=null==e?void 0:e.asset_houses_id,null==(o=n.method)||o.getHouseBills()}),(l,r)=>{var t,i,a,m,c;return{a:e.f(null==(i=null==(t=e.unref(s.useModel))?void 0:t.listData)?void 0:i.value,(n,s,l)=>e.e({a:e.t((null==n?void 0:n.display_text)||"-"),b:e.t(null==n?void 0:n.total_paid_amount_monthly),c:"410f6c84-1-"+l+",410f6c84-0",d:e.o(e=>u.value=!u.value,`items_${s}`)},u.value?{e:e.f(null==n?void 0:n.bills,(n,u,r)=>({a:"410f6c84-2-"+l+"-"+r+",410f6c84-0",b:e.p({value:null==n?void 0:n.type,Enums:e.unref(o.HouseBillsTypeEnum)}),c:e.t(null==n?void 0:n.total_payable_amount),d:`bills_${s}_${u}`}))}:{},{f:`items_${s}`})),b:e.p({type:"down",size:"15",color:"#666"}),c:u.value,d:e.o(null==(a=e.unref(n.method))?void 0:a.loadMore),e:e.p({meta:null==(c=null==(m=e.unref(s.useModel))?void 0:m.metaData)?void 0:c.value})}}}});wx.createPage(l);
