index.aa8b3dc5.js 2.9 KB

1
  1. import{aj as t,aL as a,_ as h,d as F,A as m,x as p,o as _,N as B,K as b,y as x,u as n}from"./index.743f0c80.js";import{e as g,c as A}from"./index.3e0ba0b3.js";import{R as D}from"./refund.9b1d6d45.js";import{c as C,d as w}from"./status.868e86c0.js";import{u as v}from"./use-page-search.a895acdb.js";import"./tootip.48acd346.js";const N=[{label:"\u9000\u6B3E\u7F16\u53F7",prop:"returnCode",width:"160px"},{label:"\u8D44\u91D1\u7F16\u53F7",prop:"tradNo",width:160},{label:"\u8D44\u91D1\u8BA4\u9886\u7F16\u53F7",prop:"logNo",width:160},{label:"\u9500\u552E\u5355\u7F16\u53F7",prop:"orderCode",width:"160px"},{label:"\u9000\u6B3E\u91D1\u989D",width:"100px",prop:"cancel_fee"},{label:"\u72B6\u6001",prop:"status",width:100,cellRenderer:({row:o})=>t(a,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(a,null,{default:()=>{var e;return(e=C.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(a,null,{default:()=>{var e;return(e=w.find(u=>u.value===o.qrdType))==null?void 0:e.label}})}},{label:"\u5546\u54C1\u7F16\u53F7",prop:"goodNo",width:"160px"},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",minWidth:"160px"},{label:"\u5E73\u53F0\u540D\u79F0",prop:"platName",width:"100px"},{label:"\u5BA2\u6237\u7F16\u53F7",width:"160px",prop:"companyNo"},{label:"\u5BA2\u6237\u540D\u79F0",width:"180px",prop:"customerName"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name"},{label:"\u6DFB\u52A0\u65F6\u95F4",prop:"addtime",width:"150px"},{label:"\u64CD\u4F5C",fixed:"right",width:50,slot:"operation"}],E={title:"\u9000\u6B3E\u7533\u8BF7\u7BA1\u7406",superUserNoAction:!0,columns:N,apis:{httpList:g,httpAdd:A}},y=[{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\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=F({__name:"index",setup(o){const e="refund",u="/InvoiceSales/refundDetail",{push:l}=m(),i={pageSearchHook:()=>v(void 0,void 0,d)},s={content:{preview:({returnCode:r})=>l(`${u}?id=${r}`),create:()=>l(u)}};return(r,R)=>{const c=p("PageContainer"),f=p("PageAuth");return _(),B(f,{pageName:e},{default:b(()=>[x(c,{hooks:i,events:s,contentConfig:n(E),"search-config":n(d)},null,8,["contentConfig","search-config"])]),_:1})}}});var L=h(S,[["__file","D:/work/accout-vue3-ui/src/views/InvoiceSales/refund/index.vue"]]);export{L as default};