1 |
- import{am as l,bM as _,aR as r,bK as P,bL as E,bb as N,_ as k,d as R,x as d,aM as S,bc as T,p as I,r as n,o as f,G as m,D as i,l as s,m as p,J as L,a as M,bd as q}from"./index.js";import{b as W}from"./index.4cbdbe33.js";import{a as C}from"./tragelog.c1550a2e.js";import O from"./capital-modal.8a137f.js";import{e as U}from"./index.15f5f77c.js";import"./sale.d975d32a.js";const V=[{label:"\u8D44\u91D1\u8BA4\u9886\u7F16\u7801",prop:"logNo",fixed:"left",width:"150px"},{label:"\u8D44\u91D1\u7F16\u7801",prop:"tradNo",width:"150px"},{label:"\u9500\u552E\u8BA2\u5355\u7F16\u7801",prop:"orderCode",width:"150px"},{label:"\u9500\u552E\u4E3B\u5355\u53F7",prop:"cxCode",width:"160px"},{label:"\u8BA4\u9886\u91D1\u989D",prop:"total_fee",width:"110px"},{label:"\u5E73\u53F0\u7C7B\u578B",prop:"platform",width:"120px",cellRenderer({row:t}){return l(r,null,{default:()=>{var e;return((e=_.find(u=>u.value===t.platform_type))==null?void 0:e.label)||"--"}})}},{label:"\u8D44\u91D1\u8BA4\u9886\u72B6\u6001",prop:"status",width:100,cellRenderer:({row:t})=>l(r,null,{default:()=>{var e;return((e=C.find(u=>u.value===t.status))==null?void 0:e.label)||"--"}})},{label:"\u8BA2\u5355\u6765\u6E90",prop:"qrdSource",width:"100px",cellRenderer({row:t}){return l(r,null,{default:()=>{var e;return(e=P.find(u=>u.value===t.qrdSource))==null?void 0:e.label}})}},{label:"\u5546\u54C1\u7C7B\u578B",prop:"qrdType",width:"100px",cellRenderer({row:t}){return l(r,null,{default:()=>{var e;return(e=E.find(u=>u.value===t.qrdType))==null?void 0:e.label}})}},{label:"\u5E73\u53F0\u540D\u79F0",prop:"platName",width:"120px"},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",nimWidth:"160px",...N("goodNo","goodName","\u5546\u54C1\u7F16\u7801:")},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:"70px"},{label:"\u8BA4\u9886\u65F6\u95F4",prop:"addtime",width:"140px"},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],G={title:"\u8D44\u91D1\u516C\u6D77\u6C60",columns:V,apis:{httpList:W}},h={formItems:[{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"start",endProp:"end",startPlaceholder:"\u8D44\u91D1\u8BA4\u9886\u8D77\u59CB\u65F6\u95F4",endPlaceholder:"\u8D44\u91D1\u8BA4\u9886\u7ED3\u675F\u65F6\u95F4"}},{field:"status",type:"select",placeholder:"\u8D44\u91D1\u8BA4\u9886\u72B6\u6001",options:C},{field:"platform_type",type:"select",placeholder:"\u5E73\u53F0\u7C7B\u578B",options:_},{field:"logNo",type:"input",placeholder:"\u8D44\u91D1\u8BA4\u9886\u7F16\u7801"},{field:"tradNo",type:"input",placeholder:"\u8D44\u91D1\u7F16\u7801"},{field:"orderCode",type:"input",placeholder:"\u9500\u552E\u8BA2\u5355\u7F16\u7801"},{field:"cxCode",type:"input",placeholder:"\u9500\u552E\u4E3B\u5355\u53F7"}]},H=R({__name:"index",setup(t){const e="capitalPool",u=d(null),{hasPermissionWithCode:D}=S("capitalClaim"),c=d(null),{run:b}=T({success:()=>c.value.onSearch()}),g=o=>b(U(o)),B=I(),x={pageSearchHook:()=>q(void 0,void 0,h)},F={content:{preview:({logNo:o})=>B.push("/InvoiceSales/capitalDetail?id="+o+"&back=capitalPool")}};return(o,J)=>{const A=n("el-button"),y=n("el-popconfirm"),w=n("PageContainer"),v=n("PageAuth");return f(),m(v,{pageName:e},{default:i(()=>[s(w,{hooks:x,events:F,"get-content-ref":a=>c.value=a,contentConfig:p(G),"search-config":p(h)},{content_action:i(a=>[p(D)("009")&&String(a.status)==="1"?(f(),m(y,{key:0,placement:"top",title:"\u662F\u5426\u786E\u8BA4\u64A4\u9500\u8D44\u91D1\u8BA4\u9886?",onConfirm:()=>g({logNo:a.logNo})},{reference:i(()=>[s(A,{icon:p(L)("refresh-right"),type:"primary",link:""},null,8,["icon"])]),_:2},1032,["onConfirm"])):M("v-if",!0)]),_:1},8,["get-content-ref","contentConfig","search-config"]),s(O,{ref_key:"capitalModalRef",ref:u},null,512)]),_:1})}}});var Z=k(H,[["__file","C:/Users/63107/Desktop/mine/settle-vue3/src/views/InvoiceSales/capitalPool/index.vue"]]);export{Z as default};
|