index.51dd766c.js 3.5 KB

1
  1. import{ah as n,aE as s,aX as _,_ as h,q as F,B as C,C as D,aQ as w,o as g,n as B,t as r,H as x,p as b,v as u,bw as k}from"./index.413ee8cb.js";import{u as v,P as E}from"./use-page-search.4f9e3dd3.js";import{P as y}from"./page-content.f28f89ee.js";import{a as d}from"./tragelog.fff16219.js";import{b as A}from"./index.3cb1f57f.js";import{x as P}from"./status.b8063a0d.js";import S from"./capital-dialog.ad75a9a7.js";import"./basic-form.1f1ab9b1.js";import"./global.9ad647c8.js";import"./hooks.217daa00.js";import"./index.bef541ea.js";import"./responseHandle.6d0667d8.js";import"./use-response-handle.9aced8b8.js";import"./basic-descriptions.6966943a.js";const R={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})=>n(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 n(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})=>_(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],i={title:"\u8D44\u91D1\u516C\u6D77\u6C60",powers:["001","002","003","004","005","006","007","008"],columns:N,apis:{httpList:A}};const H={class:"main role"},I={"w-full":""},M={name:"capitalPool"},T=F({...M,setup(e){const t=C(null);function o({timer:p}){const[l,a]=p;return{result:{start:l,end:a},deleteProps:["timer"]}}const{pageContentRef:c,handleResetClick:f,handleSearchClick:m}=v(o);return D(()=>i.powers=w().getMenuActions("capitalPool")),(p,l)=>(g(),B("div",H,[r(k,{"is-show":u(i).powers.some(a=>a==="001")},{default:x(()=>[b("div",I,[r(u(E),{"form-config":u(R),onSearchBtnClick:u(m),onResetBtnClick:u(f)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),r(u(y),{ref_key:"pageContentRef",ref:c,"content-config":u(i),onPreviewBtnClick:l[0]||(l[0]=({logNo:a})=>t.value.onDisplay(a))},null,8,["content-config"])])]),_:1},8,["is-show"]),r(S,{ref_key:"capitalDialogRef",ref:t},null,512)]))}});var $=h(T,[["__scopeId","data-v-3a7cac9e"],["__file","D:/work/accout-vue3-ui/src/views/InvoiceSales/capitalPool/index.vue"]]);export{$ as default};