1 |
- import{aj as n,aL as r,_ as h,d as _,A as F,x as i,o as v,N as g,K as B,y as C,u as l}from"./index.743f0c80.js";import{c as y}from"./index.5ec0a88b.js";import{R as s,a as b}from"./inv-return.5f9f9423.js";import{i as P}from"./status.868e86c0.js";import{u as D}from"./use-page-search.a895acdb.js";import"./tootip.48acd346.js";const T=[{label:"\u9000\u7968\u7F16\u53F7",prop:"returnCode",minWidth:160},{label:"\u53D1\u7968\u7533\u8BF7\u7F16\u53F7",prop:"invNo",minWidth:160},{label:"\u53D1\u7968\u91D1\u989D",prop:"inv_value",minWidth:110},{label:"\u9000\u7968\u72B6\u6001",prop:"status",minWidth:100,cellRenderer:({row:u})=>n(r,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",minWidth:160,cellRenderer:({row:u})=>n(r,null,{default:()=>{var e;return((e=P.find(t=>t.value===String(u.inv_type)))==null?void 0:e.label)||"--"}})},{label:"\u9000\u7968\u65B9\u5F0F",prop:"return_type",minWidth:130,cellRenderer:({row:u})=>n(r,null,{default:()=>{var e;return((e=b.find(t=>t.value===String(u.return_type)))==null?void 0:e.label)||"--"}})},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth: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:T,apis:{httpList:y,httpAdd:!0}},p={formItems:[{field:"returnCode",type:"input",placeholder:"\u9000\u7968\u7F16\u53F7"},{field:"invNo",type:"input",placeholder:"\u53D1\u7968\u7F16\u53F7"},{field:"apply_name",type:"input",placeholder:"\u7533\u8BF7\u4EBA"},{field:"status",type:"select",placeholder:"\u9000\u7968\u72B6\u6001",options:s},{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"}}]},x=_({__name:"index",setup(u){const e="returnTicket",t="/InvoiceSales/returnTicketDetail",{push:o}=F(),c={pageSearchHook:()=>D(void 0,void 0,p)},d={content:{create:()=>o(t),preview:({returnCode:a})=>o(`${t}?id=${a}`)}};return(a,A)=>{const m=i("PageContainer"),f=i("PageAuth");return v(),g(f,{pageName:e},{default:B(()=>[C(m,{hooks:c,events:d,contentConfig:l(k),"search-config":l(p)},null,8,["contentConfig","search-config"])]),_:1})}}});var U=h(x,[["__file","D:/work/accout-vue3-ui/src/views/InvoiceSales/returnTicket/index.vue"]]);export{U as default};
|