import{useColumns as f}from"./columns.7ec3b738.js";import{h as v}from"./index.d18fb27d.js";import{_ as g,q as h,A as y,B as s,a4 as c,x as k,C as x,o as N,n as b,t as m}from"./index.7a111e62.js";import{r as z}from"./responseHandle.6edfaed2.js";import A from"./addEditForm.e3f19e92.js";import B from"./examStatusForm.899242e9.js";import"./status.09d5d211.js";import"./status.8b8d6c88.js";import"./index.12338420.js";const C={class:"main bg-white"},S={name:"InvoiceApplyDetail"},w=h({...S,setup(E){const{logout:p}=y(),_={buy_id:"",companyNo:"",khNo:"",invtype:"",email:"",remark:"",orderArr:[]};s("");const e=c({..._});k();const d=s([]),a=s(!1);f();const t=c({total:0,pageSize:15,currentPage:1,background:!0});async function u(){if(a.value)return;a.value=!0;const{code:n,data:i,message:l}=await v(e);z({code:n,message:l,logout:p,handler:()=>{const{list:o,count:r}=i;d.value=o!=null?o:[],t.total=r!=null?r:0,t.pageSize=e.size,t.currentPage=e.page}}),a.value=!1}return x(()=>{u()}),(n,i)=>(N(),b("div",C,[m(A),m(B)]))}});var V=g(w,[["__scopeId","data-v-f55d925c"]]);export{V as default};
