1 |
- import{af as o,aC as a,d as f,m as F,r as l,o as _,E as g,B,j as C,u as i}from"./index.b2b87cd1.js";import{c as v}from"./index.fe8f8947.js";import{R as s,a as b}from"./inv-return.56f11d9d.js";import{i as y}from"./status.7cff7b18.js";import{u as w}from"./use-page-search.33590006.js";import"./tootip.aa9c65df.js";const A=[{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})=>o(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})=>o(a,null,{default:()=>{var e;return((e=y.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})=>o(a,null,{default:()=>{var e;return((e=b.find(t=>t.value===String(u.return_type)))==null?void 0:e.label)||"--"}})},{label:"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801",prop:"inv_out",width:150},{label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{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"}],P={title:"\u9000\u7968\u7533\u8BF7\u7BA1\u7406",superUserNoAction:!0,columns:A,apis:{httpList:v,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"}]},x=f({__name:"index",setup(u){const e="returnTicket",t="/InvoiceSales/returnTicketDetail",{push:r}=F(),c={pageSearchHook:()=>w(void 0,void 0,p)},d={content:{create:()=>r(t),preview:({returnCode:n})=>r(`${t}?id=${n}`)}};return(n,D)=>{const h=l("PageContainer"),m=l("PageAuth");return _(),g(m,{pageName:e},{default:B(()=>[C(h,{hooks:c,events:d,contentConfig:i(P),"search-config":i(p)},null,8,["contentConfig","search-config"])]),_:1})}}});export{x as default};
|