1 |
- import{af as l,aI as r,aX as h,_ as F,r as m,z as _,v as p,o as b,M as g,J as x,w as B,x as n}from"./index.63ed8a67.js";import{e as D,b as w}from"./index.da87e64d.js";import{R as E}from"./refund.bd48472a.js";import{x as C}from"./status.3351df60.js";import{u as v}from"./use-page-search.f8b54d15.js";import"./tootip.bf54e308.js";const A=[{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:"\u9000\u6B3E\u7F16\u53F7",prop:"returnCode",width:"120px"},{label:"\u8D44\u91D1\u7F16\u53F7",prop:"tradNo",width:120},{label:"\u8D44\u91D1\u8BA4\u9886\u7F16\u53F7",prop:"logNo",width:120},{label:"\u9500\u552E\u5355\u7F16\u53F7",prop:"orderCode",width:"120px"},{label:"\u5546\u54C1\u7F16\u53F7",prop:"goodNo",width:"120px"},{label:"\u72B6\u6001",prop:"status",width:100,cellRenderer:({row:e})=>l(r,null,{default:()=>{var u;return((u=E.find(t=>t.value===String(e.status)))==null?void 0:u.label)||"--"}})},{label:"\u9500\u552E\u6765\u6E90",prop:"qrdSource",width:"120px",cellRenderer({row:e}){return l(r,null,{default:()=>{var u;return(u=C.find(t=>t.value===e.qrdSource))==null?void 0:u.label}})}},{label:"\u5E73\u53F0\u540D\u79F0",prop:"platName",width:"120px"},{label:"\u5BA2\u6237\u540D\u79F0",width:"180px",prop:"customerName"},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",width:"120px"},{label:"\u9000\u6B3E\u91D1\u989D",width:"120px",prop:"cancel_fee"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name"},{label:"\u9000\u6B3E\u65F6\u95F4",prop:"addtime",width:"120px",formatter:({addtime:e})=>h(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],N={title:"\u9000\u6B3E\u7533\u8BF7\u7BA1\u7406",superUserNoAction:!0,columns:A,apis:{httpList:D,httpAdd:w}},y=[{value:"0",label:"\u5F85\u5BA1\u6838"},{value:"1",label:"\u8D22\u52A1\u5BA1\u6838"},{value:"2",label:"\u8D22\u52A1\u9A73\u56DE"}],s={formItems:[{field:"returnCode",type:"input",placeholder:"\u9000\u6B3E\u7F16\u53F7"},{field:"tradNo",type:"input",placeholder:"\u8D44\u91D1\u7F16\u53F7"},{field:"logNo",type:"input",placeholder:"\u8D44\u91D1\u8BA4\u9886\u7F16\u53F7"},{field:"orderCode",type:"input",placeholder:"\u9500\u552E\u5355\u7F16\u53F7"},{field:"apply_name",type:"input",placeholder:"\u7533\u8BF7\u4EBA"},{field:"status",type:"select",placeholder:"\u9000\u6B3E\u72B6\u6001",options:y}]},S=m({__name:"index",setup(e){const u="refund",t="/InvoiceSales/refundDetail",{push:o}=_(),i={pageSearchHook:()=>v(void 0,void 0,s)},d={content:{preview:({returnCode:a})=>o(`${t}?id=${a}`),create:()=>o(t)}};return(a,P)=>{const c=p("PageContainer"),f=p("PageAuth");return b(),g(f,{pageName:u},{default:x(()=>[B(c,{hooks:i,events:d,contentConfig:n(N),"search-config":n(s)},null,8,["contentConfig","search-config"])]),_:1})}}});var H=F(S,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/refund/index.vue"]]);export{H as default};
|