"use strict";const e=require("../../../common/vendor.js");if(!Array){(e.resolveComponent("hs-page-head-information")+e.resolveComponent("uni-icons")+e.resolveComponent("cc-scroll-loading")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-page-head-information/hs-page-head-information.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const o=e.defineComponent({__name:"index",setup(o){const n={current_page:1,last_page:1,per_page:10,total:1},c=e.ref([{checked:!1}]),i=()=>{e.index.navigateTo({url:"/ME/me_invoice/add/index"})},t=()=>{e.index.showModal({title:"提示",content:"演示发票抬头不能删除！",showCancel:!1,confirmColor:"#0082FA",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}})};return(o,s)=>({a:e.p({title:"365天后截止在线开票，届时请前往物业管理处索取发票!"}),b:e.f(c.value,((o,n,c)=>e.e({a:o.checked},o.checked?{b:"fde7887c-2-"+c+",fde7887c-1",c:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{d:"fde7887c-3-"+c+",fde7887c-1",e:e.p({type:"circle",size:"20",color:"#666"})},{f:e.o((e=>o.checked=!o.checked),`item_${n}`),g:e.o(t,`item_${n}`),h:e.o(i,`item_${n}`),i:`item_${n}`,j:e.n("invoice_item "+(o.checked?"invoice_item_active":""))}))),c:e.p({meta:n}),d:e.o((e=>i())),e:e.o((o=>{var n;(null==(n=null==c?void 0:c.value[0])?void 0:n.checked)?e.index.showModal({title:"提示",content:"当前项目暂未开放！",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}}):e.index.showToast({title:"请选择发票抬头",icon:"none"})})),f:e.p({btnParimaryName:"开发票",btnOtherName:"添加发票抬头",btnOtherShow:!0})})}});wx.createPage(o);
