"use strict";const e=require("../../common/vendor.js"),o=require("../../hooks/useNav.js"),t=require("../../api/api.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const n={__name:"applyForDay",setup(n){const{nav:r,navTo:c}=o.useNav(),s=e.ref([]);let u=e.ref([]);return e.onLoad((async e=>{u.value=JSON.parse(decodeURIComponent(e.list)),console.log(u.value);let o=await t.preApply({ordersIds:JSON.parse(decodeURIComponent(e.list))});s.value=o})),(o,t)=>({a:e.p({name:"error-circle-fill",color:"#3c9cff"}),b:e.f(s.value,((o,t,n)=>({a:e.t(o.merchantName),b:e.t(o.electricityAmount),c:e.t(o.serviceAmount),d:e.t(o.invoiceAmount),e:t}))),c:e.o((o=>e.unref(c)(`/pageMake/invoice/makeInvoice?list=${encodeURIComponent(JSON.stringify(e.unref(u)))}`))),d:e.p({customStyle:{height:"80rpx",width:"230rpx"},color:"#4879e6",text:"下一步",shape:"circle"})})}},r=e._export_sfc(n,[["__scopeId","data-v-5655c689"]]);wx.createPage(r);
