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 _}from"./page-content.6b548a2d.js";import{h}from"./index.10fe67d9.js";import{aN as B,_ as F,q as y,o as g,n as k,t as n,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 b={formItems:[{field:"company",type:"input",placeholder:"\u5BA2\u6237\u516C\u53F8\u540D\u79F0"},{field:"contactor",type:"input",placeholder:"\u8054\u7CFB\u4EBA"}]},E=[{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})=>B(t).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],x={title:"\u4F01\u4E1A\u5BA2\u6237",powers:["001","002","003","004","005","006","007","008"],columns:E,apis:{httpList:h}},A={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 v={class:"main role"},D={name:"invoiceheader"},w=y({...D,setup(t){const{pageContentRef:o,handleResetClick:a,handleSearchClick:l}=s(),{pageModalRef:i,handleUpdateData:u,handleCreateData:r,handlePreviewData:c,handleConfrim:p,defaultInfo:d}=m({pageContentRef:o});return(P,R)=>(g(),k("div",v,[n(e(f),{"form-config":e(b),onSearchBtnClick:e(l),onResetBtnClick:e(a)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),n(e(_),{ref_key:"pageContentRef",ref:o,"content-config":e(x),onCreateBtnClick:e(r),onUpdateBtnClick:e(u),onPreviewBtnClick:e(c)},null,8,["content-config","onCreateBtnClick","onUpdateBtnClick","onPreviewBtnClick"]),n(e(C),{ref_key:"pageModalRef",ref:i,"prview-description":"","modal-config":e(A),"default-info":e(d),onConfirmBtnClick:e(p)},null,8,["modal-config","default-info","onConfirmBtnClick"])]))}});var $=F(w,[["__scopeId","data-v-c0e0d148"]]);export{$ as default};
