1 |
- import{u as _,_ as h}from"./use-page-search.e3909779.js";import{P as F}from"./page-content.cced853d.js";import{a as d}from"./tragelog.b3f41614.js";import{b as C}from"./index.8bc8dd90.js";import{ah as p,aE as s,aX as D,_ as w,q as B,B as b,C as g,aQ as x,o as E,n as k,t as r,H as y,p as A,v as u,bw as v}from"./index.aa2c66f0.js";import{x as P}from"./status.b8063a0d.js";import R from"./capital-dialog.e590fb30.js";import"./basic-form.c093d7d1.js";import"./global.9ad647c8.js";import"./hooks.f43cc186.js";import"./index.e0449aed.js";import"./responseHandle.b474db9a.js";import"./use-response-handle.8ad944b5.js";import"./basic-descriptions.346696b8.js";const S={formItems:[{field:"tradNo",type:"input",placeholder:"\u8D44\u91D1\u7F16\u53F7"},{field:"logNo",type:"input",placeholder:"\u8BA4\u9886\u8D44\u91D1\u7F16\u53F7"},{field:"status",type:"select",placeholder:"\u8BF7\u9009\u62E9\u8BA4\u9886\u72B6\u6001",options:d},{field:"orderCode",type:"input",placeholder:"\u9500\u552E\u5355\u7F16\u53F7"},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startPlaceholder:"\u8BA4\u9886\u8D77\u59CB\u65F6\u95F4",endPlaceholder:"\u8BA4\u9886\u7ED3\u675F\u65F6\u95F4"}}]},N=[{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",width:"120px"},{label:"\u8D44\u91D1\u8BA4\u9886\u7F16\u53F7",prop:"logNo",width:"140px"},{label:"\u9500\u552E\u5355\u7F16\u53F7",prop:"orderCode",width:"120px"},{label:"\u5546\u54C1\u7F16\u53F7",prop:"goodNo",width:"120px"},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",width:"120px"},{label:"\u4EA4\u6613\u94F6\u884C",prop:"trade_bank",width:"120px"},{label:"\u4EA4\u6613\u8D26\u6237",prop:"trade_account",width:"120px"},{label:"\u8BA4\u9886\u8D44\u91D1\u603B\u91D1\u989D",prop:"total_fee",width:"140px"},{label:"\u72B6\u6001",prop:"status",width:120,cellRenderer:({row:e})=>p(s,null,{default:()=>{var t;return((t=d.find(o=>o.value===e.status))==null?void 0:t.label)||"--"}})},{label:"\u9500\u552E\u6765\u6E90",prop:"qrdSource",width:"120px",cellRenderer({row:e}){return p(s,null,{default:()=>{var t;return(t=P.find(o=>o.value===e.qrdSource))==null?void 0:t.label}})}},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name"},{label:"\u4EA4\u6613\u65F6\u95F4",prop:"trade_time",width:"120px"},{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"}],n={title:"\u8D44\u91D1\u516C\u6D77\u6C60",powers:["001","002","003","004","005","006","007","008"],columns:N,apis:{httpList:C}};const H={class:"main role"},M={"w-full":""},T={name:"capitalPool"},Y=B({...T,setup(e){const t=b(null);function o({timer:i}){const[l,a]=i;return{result:{start:l,end:a},deleteProps:["timer"]}}const{pageContentRef:c,handleResetClick:f,handleSearchClick:m}=_(o);return g(()=>n.powers=x().getMenuActions("capitalPool")),(i,l)=>(E(),k("div",H,[r(v,{"is-show":u(n).powers.some(a=>a==="001")},{default:y(()=>[A("div",M,[r(u(h),{"form-config":u(S),onSearchBtnClick:u(m),onResetBtnClick:u(f)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),r(u(F),{ref_key:"pageContentRef",ref:c,"content-config":u(n),onPreviewBtnClick:l[0]||(l[0]=({logNo:a})=>t.value.onDisplay(a))},null,8,["content-config"])])]),_:1},8,["is-show"]),r(R,{ref_key:"capitalDialogRef",ref:t},null,512)]))}});var Z=w(Y,[["__scopeId","data-v-8e08ee18"]]);export{Z as default};
|