import{u as d,_ as f}from"./use-page-search.f38b29a1.js";import{P as m}from"./page-content.6b548a2d.js";import{h as _}from"./configs.fcc4c95f.js";import{b as F,d as h}from"./configs.643dbd7e.js";import{ah as B,bf as C,aN as D,_ as b,q as g,x as k,o as y,n as v,t as r,v as t}from"./index.10c3f8e5.js";import"./hooks.5f77ce90.js";import"./index.1c15f518.js";import"./responseHandle.3a46a31b.js";import"./use-response-handle.23bba72b.js";const x={formItems:[{field:"bank",type:"input",placeholder:"\u8BF7\u8F93\u5165\u94F6\u884C\u5361\u53F7"},{field:"status",type:"select",placeholder:"\u8BF7\u9009\u62E9\u8BA4\u9886\u72B6\u6001",options:_},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startPlaceholder:"\u8BA4\u9886\u8D77\u59CB\u65F6\u95F4",endPlaceholder:"\u8BA4\u9886\u7ED3\u675F\u65F6\u95F4"}}]},E=[{type:"selection",width:55,hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u8D44\u91D1\u7F16\u53F7",prop:"tradNo"},{label:"\u8D44\u91D1\u8BA4\u9886\u7F16\u53F7",prop:"logNo"},{label:"\u4EA4\u6613\u65F6\u95F4",prop:"trade_time"},{label:"\u8BA4\u9886\u8D44\u91D1\u603B\u91D1\u989D",prop:"total_fee"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name"},{label:"\u72B6\u6001",prop:"status",cellRenderer:({row:e})=>B(C,null,{default:()=>{var u;return(u=h.find(l=>l.value===e.status))==null?void 0:u.label}})},{label:"\u8BA4\u9886\u65F6\u95F4",prop:"addtime",formatter:({addtime:e})=>D(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],P={title:"\u8D44\u91D1\u516C\u6D77\u6C60",powers:["001","002","003","004","005","006","007","008"],columns:E,apis:{httpList:F}};const A={class:"main role"},R={name:"capitalPool"},w=g({...R,setup(e){const{push:u}=k();function l({timer:a}){const[o,n]=a;return{result:{start:o,end:n},deleteProps:["timer"]}}const{pageContentRef:s,handleResetClick:i,handleSearchClick:p}=d(l);function c(a){u({path:"/InvoiceSales/capitalPoolDetail",query:{id:a}})}return(a,o)=>(y(),v("div",A,[r(t(f),{"form-config":t(x),onSearchBtnClick:t(p),onResetBtnClick:t(i)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),r(t(m),{ref_key:"pageContentRef",ref:s,"content-config":t(P),onPreviewBtnClick:o[0]||(o[0]=({logNo:n})=>c(n))},null,8,["content-config"])]))}});var O=b(w,[["__scopeId","data-v-0ac953b8"]]);export{O as default};
