import{aj as h,aL as f,ah as y,_,d as C,A as g,E as B,x as s,o as D,N as b,K as v,y as p,u as n}from"./index.743f0c80.js";import{c as w,d as E}from"./index.f68c617d.js";import{s as a}from"./_opitons.a64c570c.js";import{u as N}from"./use-page-search.a895acdb.js";import P from"./invoice-modal.3547ab02.js";import"./index.5fbf2896.js";import"./invoice.7fa18a6d.js";import"./status.868e86c0.js";const A=[{type:"selection",width:55,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\u53F7",prop:"returnCode",width:180},{label:"\u5BF9\u8D26\u7F16\u53F7",prop:"payNo",width:180},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u53F7",prop:"supplierNo",width:150},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",width:150},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u53F7",prop:"companyNo",width:150},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",width:150},{label:"\u72B6\u6001",prop:"status",width:160,transform:e=>{var t;return(t=a.find(u=>String(e)===u.value))==null?void 0:t.label},cellRenderer:({row:e,props:t})=>h(f,{size:t.size},{default:()=>{var u;return(u=a.find(o=>String(e.status)===o.value))==null?void 0:u.label}})},{label:"\u9000\u7968\u7406\u7531",prop:"reason"},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"addtime",width:180,formatter:({addtime:e})=>y(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:A,apis:{httpList:w,httpDelete:E,httpAdd:!0},deleteProp:"hpNo",superUserNoAction:!0,delTooltip:"\u662F\u5426\u64A4\u56DE\u91C7\u8D2D\u56DE\u7968\u7533\u8BF7",companyProp:"supplierNo",showDelete:({status:e})=>Number(e)!==6},i={formItems:[{field:"status",type:"select",placeholder:"\u5BA1\u6838\u72B6\u6001",options:a},{field:"companyNo",type:"business-query"},{field:"returnCode",type:"input",placeholder:"\u9000\u7968\u7533\u8BF7\u7F16\u53F7"},{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"}}]},x=C({__name:"index",setup(e){const t="supplyTicketReturnRelive",u="/supply/supplyTicketReturnReliveDetail",{push:o}=g(),l=B(null),c={pageSearchHook:()=>N(void 0,void 0,i)},d={content:{preview:({returnCode:r})=>o(`${u}?id=${r}`),create:()=>o(u)}};return(r,R)=>{const m=s("PageContainer"),F=s("PageAuth");return D(),b(F,{pageName:t},{default:v(()=>[p(m,{hooks:c,events:d,contentConfig:n(k),"search-config":n(i)},null,8,["contentConfig","search-config"]),p(P,{ref_key:"invoiceModalRef",ref:l},null,512)]),_:1})}}});var L=_(x,[["__file","D:/work/accout-vue3-ui/src/views/supply/ticketReturnRelive/index.vue"]]);export{L as default};