1 |
- import{am as o,aR as l,bS as b,bT as m,bb as p,_ as B,d as _,p as F,r as n,o as D,G as g,D as A,l as C,m as s,bd as v}from"./index.js";import{e as x,b as w}from"./index.c268fd9f.js";import{R as E}from"./refund.34cbec10.js";const N=[{value:0,label:"\u624B\u52A8\u521B\u5EFA",type:"info"},{value:1,label:"\u7CFB\u7EDF\u540C\u6B65"}],y=[{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:t})=>o(l,{type:t.tag_type=="1"?"info":""},{default:()=>{var e;return((e=N.find(u=>u.value==t.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:t})=>o(l,null,{default:()=>{var e;return((e=E.find(u=>u.value===String(t.status)))==null?void 0:e.label)||"--"}})},{label:"\u8BA2\u5355\u6765\u6E90",prop:"qrdSource",width:"100px",cellRenderer({row:t}){return o(l,null,{default:()=>{var e;return(e=b.find(u=>u.value==t.qrdSource))==null?void 0:e.label}})}},{label:"\u5546\u54C1\u7C7B\u578B",prop:"qrdType",width:"100px",cellRenderer({row:t}){return o(l,null,{default:()=>{var e;return(e=m.find(u=>u.value==t.qrdType))==null?void 0:e.label}})}},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",minWidth:"160px",...p("goodNo","goodName","\u5546\u54C1\u7F16\u7801:")},{label:"\u5E73\u53F0\u540D\u79F0",prop:"platName",width:"100px"},{label:"\u5BA2\u6237\u540D\u79F0",width:"180px",prop:"customerName",...p("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"}],S={title:"\u9000\u6B3E\u7533\u8BF7\u7BA1\u7406",superUserNoAction:!0,columns:y,apis:{httpList:x,httpAdd:w}},R=[{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:R},{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"}]},T=_({__name:"index",setup(t){const e="refund",u="/InvoiceSales/refundDetail",{push:a}=F(),i={pageSearchHook:()=>v(void 0,void 0,d)},c={content:{preview:({returnCode:r})=>a(`${u}?id=${r}`),create:()=>a(u)}};return(r,P)=>{const f=n("PageContainer"),h=n("PageAuth");return D(),g(h,{pageName:e},{default:A(()=>[C(f,{hooks:i,events:c,contentConfig:s(S),"search-config":s(d)},null,8,["contentConfig","search-config"])]),_:1})}}});var I=B(T,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/InvoiceSales/refund/index.vue"]]);export{I as default};
|