1 |
- import{aW as s,_ as f,z as m,w as C,x as h,C as a,D as e}from"./index.c8ee992c.js";import{u as _,P as B}from"./use-page-search.fb0563c9.js";import{u as F,P as g}from"./use-page-modal.197db91d.js";import{P as y}from"./page-content.acf087ac.js";import{h as k}from"./index.7604c7fb.js";import"./hooks.521a585e.js";import"./index.d931afb6.js";import"./responseHandle.e5944b12.js";import"./use-response-handle.1e253cfc.js";const b={formItems:[{field:"company",type:"input",placeholder:"\u5BA2\u6237\u516C\u53F8\u540D\u79F0"},{field:"contactor",type:"input",placeholder:"\u8054\u7CFB\u4EBA"}]},x=[{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})=>s(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:x,apis:{httpList:k}},E={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=m({...w,setup(t){const{pageContentRef:o,handleResetClick:n,handleSearchClick:l}=_(),{pageModalRef:i,handleUpdateData:u,handleCreateData:r,handlePreviewData:c,handleConfrim:p,defaultInfo:d}=F({pageContentRef:o});return(P,R)=>(C(),h("div",A,[a(e(B),{"form-config":e(b),onSearchBtnClick:e(l),onResetBtnClick:e(n)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),a(e(y),{ref_key:"pageContentRef",ref:o,"content-config":e(v),onCreateBtnClick:e(r),onUpdateBtnClick:e(u),onPreviewBtnClick:e(c)},null,8,["content-config","onCreateBtnClick","onUpdateBtnClick","onPreviewBtnClick"]),a(e(g),{ref_key:"pageModalRef",ref:i,"prview-description":"","modal-config":e(E),"default-info":e(d),onConfirmBtnClick:e(p)},null,8,["modal-config","default-info","onConfirmBtnClick"])]))}});var j=f(D,[["__scopeId","data-v-4578427b"],["__file","D:/work/accout-vue3-ui/src/views/parameter/clients/index.vue"]]);export{j as default};
|