import{useColumns as m}from"./columns.0bb122d6.js";import{a as f}from"./index.138fe671.js";import{_ as v,q as g,A as h,B as n,a4 as i,x as y,C as k,o as x,n as b}from"./index.10c3f8e5.js";import{r as z}from"./responseHandle.3a46a31b.js";const A={class:"main bg-white"},B={name:"InvoiceApplyDetail"},C=g({...B,setup(N){const{logout:_}=h(),u={buy_id:"",companyNo:"",khNo:"",invtype:"",email:"",remark:"",orderArr:[]};n("");const e=i({...u});y();const l=n([]),a=n(!1);m();const t=i({total:0,pageSize:15,currentPage:1,background:!0});async function p(){if(a.value)return;a.value=!0;const{code:r,data:c,message:d}=await f(e);z({code:r,message:d,logout:_,handler:()=>{const{list:o,count:s}=c;l.value=o!=null?o:[],t.total=s!=null?s:0,t.pageSize=e.size,t.currentPage=e.page}}),a.value=!1}return k(()=>{p()}),(r,c)=>(x(),b("div",A,"111"))}});var P=v(C,[["__scopeId","data-v-6622bd10"]]);export{P as default};
