index.39bf8438.js 2.9 KB

1
  1. import{aj as t,aF 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.1417328f.js";import{e as g,c as A}from"./index.da2264ed.js";import{R as C}from"./refund.375567d1.js";import{x as D,a as v}from"./status.727086c1.js";import{u as w}from"./use-page-search.7e7b4728.js";import"./tootip.8c37fa8a.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=C.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=D.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=v.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"}],y={title:"\u9000\u6B3E\u7533\u8BF7\u7BA1\u7406",superUserNoAction:!0,columns:N,apis:{httpList:g,httpAdd:A}},E=[{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:E}]},S=F({__name:"index",setup(o){const e="refund",u="/InvoiceSales/refundDetail",{push:l}=m(),d={pageSearchHook:()=>w(void 0,void 0,s)},i={content:{preview:({returnCode:r})=>l(`${u}?id=${r}`),create:()=>l(u)}};return(r,P)=>{const c=p("PageContainer"),f=p("PageAuth");return _(),B(f,{pageName:e},{default:b(()=>[x(c,{hooks:d,events:i,contentConfig:n(y),"search-config":n(s)},null,8,["contentConfig","search-config"])]),_:1})}}});var j=h(S,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/InvoiceSales/refund/index.vue"]]);export{j as default};