import{al as t,aS as r,_ as h,d as _,n as B,r as p,o as b,G as F,C as g,l as x,u as n}from"./index.1d1a5ecb.js";import{e as A,b as C}from"./index.15bb94b2.js";import{R as D}from"./refund.ef679067.js";import{x as v,b as w}from"./status.d6b2a53d.js";import{r as s}from"./columnRenderHelper.0fb69d06.js";import{u as N}from"./use-page-search.f4c305e2.js";import"./tootip.76f6bcc3.js";const E=[{label:"\u9000\u6B3E\u7F16\u7801",prop:"returnCode",width:"150px"},{label:"\u8D44\u91D1\u8BA4\u9886\u7F16\u7801",prop:"logNo",width:150},{label:"\u9500\u552E\u8BA2\u5355\u7F16\u7801",prop:"orderCode",width:"150px"},{label:"\u8D44\u91D1\u7F16\u7801",prop:"tradNo",width:150},{label:"\u9000\u6B3E\u91D1\u989D",width:"110px",prop:"cancel_fee"},{label:"\u72B6\u6001",prop:"status",width:100,cellRenderer:({row:o})=>t(r,null,{default:()=>{var e;return((e=D.find(u=>u.value===String(o.status)))==null?void 0:e.label)||"--"}})},{label:"\u8BA2\u5355\u6765\u6E90",prop:"qrdSource",width:"100px",cellRenderer({row:o}){return t(r,null,{default:()=>{var e;return(e=v.find(u=>u.value===o.qrdSource))==null?void 0:e.label}})}},{label:"\u5546\u54C1\u7C7B\u578B",prop:"qrdType",width:"100px",cellRenderer({row:o}){return t(r,null,{default:()=>{var e;return(e=w.find(u=>u.value===o.qrdType))==null?void 0:e.label}})}},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",minWidth:"160px",...s("goodNo","goodName","\u5546\u54C1\u7F16\u7801:")},{label:"\u5E73\u53F0\u540D\u79F0",prop:"platName",width:"100px"},{label:"\u5BA2\u6237\u540D\u79F0",width:"180px",prop:"customerName",...s("customerNo","customerName","\u5BA2\u6237\u7F16\u7801:")},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:"80px"},{label:"\u6DFB\u52A0\u65F6\u95F4",prop:"addtime",width:"140px"},{label:"\u64CD\u4F5C",fixed:"right",width:50,slot:"operation"}],y={title:"\u9000\u6B3E\u7533\u8BF7\u7BA1\u7406",superUserNoAction:!0,columns:E,apis:{httpList:A,httpAdd:C}},S=[{value:"0",label:"\u5F85\u5BA1\u6838"},{value:"1",label:"\u8D22\u52A1\u5BA1\u6838"},{value:"2",label:"\u8D22\u52A1\u9A73\u56DE"}],d={formItems:[{field:"returnCode",type:"input",placeholder:"\u9000\u6B3E\u7F16\u7801"},{field:"status",type:"select",placeholder:"\u9000\u6B3E\u72B6\u6001",options:S},{field:"logNo",type:"input",placeholder:"\u8D44\u91D1\u8BA4\u9886\u7F16\u7801"},{field:"orderCode",type:"input",placeholder:"\u9500\u552E\u8BA2\u5355\u7F16\u7801"},{field:"tradNo",type:"input",placeholder:"\u8D44\u91D1\u7F16\u7801"},{field:"apply_name",type:"input",placeholder:"\u7533\u8BF7\u4EBA"}]},R=_({__name:"index",setup(o){const e="refund",u="/InvoiceSales/refundDetail",{push:a}=B(),i={pageSearchHook:()=>N(void 0,void 0,d)},c={content:{preview:({returnCode:l})=>a(`${u}?id=${l}`),create:()=>a(u)}};return(l,P)=>{const f=p("PageContainer"),m=p("PageAuth");return b(),F(m,{pageName:e},{default:g(()=>[x(f,{hooks:i,events:c,contentConfig:n(y),"search-config":n(d)},null,8,["contentConfig","search-config"])]),_:1})}}});var j=h(R,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/refund/index.vue"]]);export{j as default};
