import{al as F,aS as f,ae as C,_,d as y,n as g,w as B,r,o as D,G as v,C as b,l as s,u as n}from"./index.1d1a5ecb.js";import{c as w,d as N}from"./index.06fba49f.js";import{w as p}from"./status.d6b2a53d.js";import{u as E}from"./use-page-search.f4c305e2.js";import P from"./invoice-modal.257abbd9.js";import"./index.b5c3b679.js";import"./invoice.be540bfd.js";const R=[{type:"selection",width:40,align:"center",hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u9000\u7968\u7533\u8BF7\u7F16\u7801",prop:"returnCode",width:150},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",width:150},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",minWidth:150},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u7801",prop:"supplierNo",width:150},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:150},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801",prop:"companyNo",width:150},{label:"\u72B6\u6001",prop:"status",width:160,cellRenderer:({row:e,props:o})=>F(f,{size:o.size},{default:()=>{var u;return(u=p.find(t=>String(e.status)===t.value))==null?void 0:u.label}})},{label:"\u9000\u7968\u7406\u7531",prop:"reason"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:80},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"addtime",width:140,formatter:({addtime:e})=>C(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",slot:"operation",width:110}],k={title:"\u91C7\u8D2D\u56DE\u7968",statusProp:"companyNo",columns:R,apis:{httpList:w,httpDelete:N,httpAdd:!0},deleteProp:"hpNo",superUserNoAction:!0,delTooltip:"\u662F\u5426\u64A4\u56DE\u91C7\u8D2D\u56DE\u7968\u7533\u8BF7",companyProp:"supplierNo",listNoRelation:!0,showDelete:({status:e})=>Number(e)!==6},i={formItems:[{field:"create_timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"start",endProp:"end",startPlaceholder:"\u65B0\u5EFA\u8D77\u59CB\u65F6\u95F4",endPlaceholder:"\u65B0\u5EFA\u7ED3\u675F\u65F6\u95F4"}},{field:"companyNo",type:"business-query"},{field:"status",type:"select",placeholder:"\u5BA1\u6838\u72B6\u6001",options:p},{field:"returnCode",type:"input",placeholder:"\u9000\u7968\u7533\u8BF7\u7F16\u7801"}]},A=y({__name:"index",setup(e){const o="supplyTicketReturnRelive",u="/supply/supplyTicketReturnReliveDetail",{push:t}=g(),l=B(null),c={pageSearchHook:()=>E(void 0,void 0,i)},d={content:{preview:({returnCode:a})=>t(`${u}?id=${a}`),create:()=>t(u)}};return(a,x)=>{const m=r("PageContainer"),h=r("PageAuth");return D(),v(h,{pageName:o},{default:b(()=>[s(m,{hooks:c,events:d,contentConfig:n(k),"search-config":n(i)},null,8,["contentConfig","search-config"]),s(P,{ref_key:"invoiceModalRef",ref:l},null,512)]),_:1})}}});var z=_(A,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/supply/ticketReturnRelive/index.vue"]]);export{z as default};
