import{af as n,ce as a,db as f,cA as _,_ as m,d as F,k as v,r as o,o as g,A as B,y as C,h as b,i as l,cC as y}from"./index.js";import{c as A}from"./index.eed3ef73.js";import{R as s,a as w}from"./inv-return.96a2864f.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})=>n(a,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})=>n(a,null,{default:()=>{var e;return((e=f.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})=>n(a,null,{default:()=>{var e;return((e=w.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"}],k={title:"\u9000\u7968\u7533\u8BF7\u7BA1\u7406",superUserNoAction:!0,columns:P,apis:{httpList:A,httpAdd:!0}},i={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"}]},D="returnTicket",p="/InvoiceSales/returnTicketDetail",N=F({__name:"index",setup(u){const{push:e}=v(),t={pageSearchHook:()=>y(void 0,void 0,i)},c={content:{create:()=>e(p),preview:({returnCode:r})=>e(`${p}?id=${r}`)}};return(r,T)=>{const d=o("PageContainer"),h=o("PageAuth");return g(),B(h,{pageName:D},{default:C(()=>[b(d,{hooks:t,events:c,contentConfig:l(k),"search-config":l(i)},null,8,["contentConfig","search-config"])]),_:1})}}});var x=m(N,[["__file","D:/work/jiesuan/settle-vue3/src/views/InvoiceSales/returnTicket/index.vue"]]);export{x as default};
