1 |
- import{u as s,_ as f}from"./use-page-search.7fab324e.js";import{u as m,_ as C}from"./use-page-modal.f5c7a2d9.js";import{P as _}from"./page-content.60052bb9.js";import{h}from"./index.bbda0f1a.js";import{aM as B,_ as F,q as y,o as g,n as k,t as n,v as e}from"./index.134b23bd.js";import"./hooks.5edff40f.js";import"./index.8461c73d.js";import"./responseHandle.2720ef95.js";import"./use-response-handle.cd6bc791.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"}],v={title:"\u4F01\u4E1A\u5BA2\u6237",powers:["001","002","003","004","005","006","007","008"],columns:E,apis:{httpList:h}},x={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"},w={name:"invoiceheader"},D=y({...w,setup(t){const{pageContentRef:o,handleResetClick:a,handleSearchClick:l}=s(),{pageModalRef:i,handleUpdateData:u,handleCreateData:r,handlePreviewData:p,handleConfrim:c,defaultInfo:d}=m({pageContentRef:o});return(P,R)=>(g(),k("div",A,[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(v),onCreateBtnClick:e(r),onUpdateBtnClick:e(u),onPreviewBtnClick:e(p)},null,8,["content-config","onCreateBtnClick","onUpdateBtnClick","onPreviewBtnClick"]),n(e(C),{ref_key:"pageModalRef",ref:i,"prview-description":"","modal-config":e(x),"default-info":e(d),onConfirmBtnClick:e(c)},null,8,["modal-config","default-info","onConfirmBtnClick"])]))}});var $=F(D,[["__scopeId","data-v-33313261"]]);export{$ as default};
|