index.6517cbe1.js 2.6 KB

1
  1. import{af as o,aI as r,_ as m,d as _,n as F,r as l,o as v,G as g,C as B,l as C,u as i}from"./index.7fe3185d.js";import{c as b}from"./index.3b4260f2.js";import{R as s,a as w}from"./inv-return.16ac6fcd.js";import{i as y}from"./status.92aec598.js";import{u as A}from"./use-page-search.83587669.js";import"./tootip.33ef012b.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:t})=>o(r,null,{default:()=>{var e;return(e=s.find(u=>u.value===String(t.status)))==null?void 0:e.label}})},{label:"\u53D1\u7968\u7C7B\u578B",prop:"inv_type",width:160,cellRenderer:({row:t})=>o(r,null,{default:()=>{var e;return((e=y.find(u=>u.value===String(t.inv_type)))==null?void 0:e.label)||"--"}})},{label:"\u9000\u7968\u65B9\u5F0F",prop:"return_type",width:130,cellRenderer:({row:t})=>o(r,null,{default:()=>{var e;return((e=w.find(u=>u.value===String(t.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: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"}]},T=_({__name:"index",setup(t){const e="returnTicket",u="/InvoiceSales/returnTicketDetail",{push:a}=F(),c={pageSearchHook:()=>A(void 0,void 0,p)},d={content:{create:()=>a(u),preview:({returnCode:n})=>a(`${u}?id=${n}`)}};return(n,k)=>{const h=l("PageContainer"),f=l("PageAuth");return v(),g(f,{pageName:e},{default:B(()=>[C(h,{hooks:c,events:d,contentConfig:i(P),"search-config":i(p)},null,8,["contentConfig","search-config"])]),_:1})}}});var I=m(T,[["__file","D:/work/accout-vue3-ui1/src/views/InvoiceSales/returnTicket/index.vue"]]);export{I as default};