import{u as s,_ as f}from"./use-page-search.f38b29a1.js";import{u as m,_ as C}from"./use-page-modal.046367d9.js";import{P as B}from"./page-content.6b548a2d.js";import{h as F}from"./index.10fe67d9.js";import{aN as h,_,q as E,o as y,n as b,t as u,v as e}from"./index.10c3f8e5.js";import"./hooks.5f77ce90.js";import"./index.1c15f518.js";import"./responseHandle.3a46a31b.js";import"./use-response-handle.23bba72b.js";const g={formItems:[{field:"company",type:"input",placeholder:"\u5546\u54C1\u5206\u7C7B"},{field:"timer",type:"date_picker",placeholder:"\u8054\u7CFB\u4EBA",otherOptions:{type:"daterange",startPlaceholder:"\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u7ED3\u675F\u65F6\u95F4"}},{field:"timer",type:"select",placeholder:"\u8BBE\u7F6E\u72B6\u6001",options:[{label:"\u672A\u8BBE\u7F6E"},{label:"\u5DF2\u8BBE\u7F6E"}]},{field:"timer",type:"input",placeholder:"\u5546\u54C1\u540D\u79F0"},{field:"timer",type:"input",placeholder:"\u5546\u54C1\u7F16\u7801"}]},k=[{type:"selection",width:55,hide:({checkList:t})=>!t.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:t})=>!t.includes("\u5E8F\u53F7\u5217")},{label:"\u5BA2\u6237\u7F16\u53F7",prop:"companyNo"},{label:"\u5BA2\u6237\u540D\u79F0",prop:"companyName"},{label:"\u5F52\u5C5E\u96C6\u56E2",prop:"parent"},{label:"\u8054\u7CFB\u4EBA",prop:"contactor"},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime",formatter:({createTime:t})=>h(t).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],x={title:"\u54A8\u8BE2\u6210\u672C\u7C7B\u76EE\u8BBE\u7F6E",columns:k,notReuqiredInit:!0,apis:{httpList:F}},v={title:"\u5BA2\u6237",itemStyle:{},formItems:[{field:"companyNo",type:"input",label:"\u5BA2\u6237\u7F16\u53F7",labelWidth:"120px"},{field:"companyName",type:"input",labelWidth:"120px",label:"\u5BA2\u6237\u540D\u79F0"},{field:"parent",type:"input",labelWidth:"120px",label:"\u5F52\u5C5E\u96C6\u56E2"},{field:"contactor",type:"input",labelWidth:"120px",label:"\u8054\u7CFB\u4EBA"},{field:"createTime",type:"input",labelWidth:"120px",label:"\u521B\u5EFA\u65F6\u95F4"}]};const A={class:"main role"},D={name:"invoiceheader"},P=E({...D,setup(t){const{pageContentRef:a,handleResetClick:n,handleSearchClick:o}=s(),{pageModalRef:l,handleUpdateData:i,handleCreateData:r,handlePreviewData:p,handleConfrim:c,defaultInfo:d}=m({pageContentRef:a});return(R,w)=>(y(),b("div",A,[u(e(f),{"form-config":e(g),onSearchBtnClick:e(o),onResetBtnClick:e(n)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),u(e(B),{ref_key:"pageContentRef",ref:a,"content-config":e(x),onCreateBtnClick:e(r),onUpdateBtnClick:e(i),onPreviewBtnClick:e(p)},null,8,["content-config","onCreateBtnClick","onUpdateBtnClick","onPreviewBtnClick"]),u(e(C),{ref_key:"pageModalRef",ref:l,"prview-description":"","modal-config":e(v),"default-info":e(d),onConfirmBtnClick:e(c)},null,8,["modal-config","default-info","onConfirmBtnClick"])]))}});var T=_(P,[["__scopeId","data-v-3691570e"]]);export{T as default};
