import{af as o,ce as l,dg as h,dh as B,cA as r,_,d as m,k as F,r as n,o as b,A,y as g,h as C,i as p,cC as D}from"./index.js";import{e as v,b as x}from"./index.3dfad87f.js";import{R as w}from"./refund.352cdc62.js";const y=[{value:0,label:"\u624B\u52A8\u521B\u5EFA",type:"info"},{value:1,label:"\u7CFB\u7EDF\u540C\u6B65"}],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:"\u64CD\u4F5C\u6765\u6E90",width:120,cellRenderer:({row:u})=>o(l,{type:u.tag_type=="1"?"info":""},{default:()=>{var e;return((e=y.find(t=>t.value==u.tag_type))==null?void 0:e.label)||"--"}})},{label:"\u5173\u8054\u8D44\u91D1\u8BA4\u9886\u7F16\u53F7",width:120,prop:"relaNo"},{label:"\u72B6\u6001",prop:"status",width:100,cellRenderer:({row:u})=>o(l,null,{default:()=>{var e;return((e=w.find(t=>t.value===String(u.status)))==null?void 0:e.label)||"--"}})},{label:"\u8BA2\u5355\u6765\u6E90",prop:"qrdSource",width:"100px",cellRenderer({row:u}){return o(l,null,{default:()=>{var e;return(e=h.find(t=>t.value==u.qrdSource))==null?void 0:e.label}})}},{label:"\u5546\u54C1\u7C7B\u578B",prop:"qrdType",width:"100px",cellRenderer({row:u}){return o(l,null,{default:()=>{var e;return(e=B.find(t=>t.value==u.qrdType))==null?void 0:e.label}})}},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",minWidth:"160px",...r("goodNo","goodName","\u5546\u54C1\u7F16\u7801:")},{label:"\u5E73\u53F0\u540D\u79F0",prop:"platName",width:"100px"},{label:"\u5BA2\u6237\u540D\u79F0",width:"180px",prop:"customerName",...r("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"}],N={title:"\u9000\u6B3E\u7533\u8BF7\u7BA1\u7406",superUserNoAction:!0,columns:E,apis:{httpList:v,httpAdd:x}},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="refund",s="/InvoiceSales/refundDetail",k=m({__name:"index",setup(u){const{push:e}=F(),t={pageSearchHook:()=>D(void 0,void 0,d)},i={content:{preview:({returnCode:a})=>e(`${s}?id=${a}`),create:()=>e(s)}};return(a,P)=>{const c=n("PageContainer"),f=n("PageAuth");return b(),A(f,{pageName:R},{default:g(()=>[C(c,{hooks:t,events:i,contentConfig:p(N),"search-config":p(d)},null,8,["contentConfig","search-config"])]),_:1})}}});var U=_(k,[["__file","D:/work/jiesuan/settle-vue3/src/views/InvoiceSales/refund/index.vue"]]);export{U as default};
