import{am as a,aR as n,bO as m,bb as _,_ as F,d as v,p as g,r as l,o as b,G as B,D as C,l as y,m as i,bd as w}from"./index.js";import{c as A}from"./index.cddc3b13.js";import{R as s,a as D}from"./inv-return.ab09dd7c.js";const P=[{label:"\u9000\u7968\u7F16\u7801",prop:"returnCode",width:150},{label:"\u53D1\u7968\u7533\u8BF7\u7F16\u7801",prop:"invNo",width:150},{label:"\u53D1\u7968\u91D1\u989D",prop:"inv_value",width:110},{label:"\u9000\u7968\u72B6\u6001",prop:"status",width:120,cellRenderer:({row:u})=>a(n,null,{default:()=>{var e;return(e=s.find(t=>t.value===String(u.status)))==null?void 0:e.label}})},{label:"\u53D1\u7968\u7C7B\u578B",prop:"inv_type",width:160,cellRenderer:({row:u})=>a(n,null,{default:()=>{var e;return((e=m.find(t=>t.value===String(u.inv_type)))==null?void 0:e.label)||"--"}})},{label:"\u9000\u7968\u65B9\u5F0F",prop:"return_type",width:130,cellRenderer:({row:u})=>a(n,null,{default:()=>{var e;return((e=D.find(t=>t.value===String(u.return_type)))==null?void 0:e.label)||"--"}})},{label:"\u4E1A\u52A1\u516C\u53F8",prop:"companyName",minWidth:180,..._("inv_out","companyName","\u4E1A\u52A1\u516C\u53F8\u7F16\u7801:")},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:70},{label:"\u7533\u8BF7\u65F6\u95F4",prop:"addtime",width:145},{label:"\u64CD\u4F5C",fixed:"right",width:50,slot:"operation"}],N={title:"\u9000\u7968\u7533\u8BF7\u7BA1\u7406",superUserNoAction:!0,columns:P,apis:{httpList:A,httpAdd:!0}},p={formItems:[{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"start",endProp:"end",startPlaceholder:"\u7533\u8BF7\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u7533\u8BF7\u7ED3\u675F\u65F6\u95F4"}},{field:"status",type:"select",placeholder:"\u9000\u7968\u72B6\u6001",options:s},{field:"returnCode",type:"input",placeholder:"\u9000\u7968\u7F16\u7801"},{field:"invNo",type:"input",placeholder:"\u53D1\u7968\u7F16\u7801"},{field:"apply_name",type:"input",placeholder:"\u7533\u8BF7\u4EBA"}]},R=v({__name:"index",setup(u){const e="returnTicket",t="/InvoiceSales/returnTicketDetail",{push:r}=g(),c={pageSearchHook:()=>w(void 0,void 0,p)},d={content:{create:()=>r(t),preview:({returnCode:o})=>r(`${t}?id=${o}`)}};return(o,T)=>{const h=l("PageContainer"),f=l("PageAuth");return b(),B(f,{pageName:e},{default:C(()=>[y(h,{hooks:c,events:d,contentConfig:i(N),"search-config":i(p)},null,8,["contentConfig","search-config"])]),_:1})}}});var x=F(R,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/InvoiceSales/returnTicket/index.vue"]]);export{x as default};
