import{al as r,aS as o,_ as h,d as _,n as F,r as l,o as v,G as g,C,l as B,u as i}from"./index.1d1a5ecb.js";import{c as b}from"./index.fd0a7cba.js";import{R as s,a as y}from"./inv-return.a5af9fc6.js";import{i as w}from"./status.d6b2a53d.js";import{r as A}from"./columnRenderHelper.0fb69d06.js";import{u as P}from"./use-page-search.f4c305e2.js";import"./tootip.76f6bcc3.js";const D=[{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})=>r(o,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})=>r(o,null,{default:()=>{var e;return((e=w.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})=>r(o,null,{default:()=>{var e;return((e=y.find(t=>t.value===String(u.return_type)))==null?void 0:e.label)||"--"}})},{label:"\u4E1A\u52A1\u516C\u53F8",prop:"companyName",minWidth:180,...A("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:D,apis:{httpList:b,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"}]},S=_({__name:"index",setup(u){const e="returnTicket",t="/InvoiceSales/returnTicketDetail",{push:a}=F(),c={pageSearchHook:()=>P(void 0,void 0,p)},d={content:{create:()=>a(t),preview:({returnCode:n})=>a(`${t}?id=${n}`)}};return(n,T)=>{const m=l("PageContainer"),f=l("PageAuth");return v(),g(f,{pageName:e},{default:C(()=>[B(m,{hooks:c,events:d,contentConfig:i(N),"search-config":i(p)},null,8,["contentConfig","search-config"])]),_:1})}}});var $=h(S,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/returnTicket/index.vue"]]);export{$ as default};
