import{af as F,eB as s,ce as m,a7 as f,_ as D,d as y,k as _,n as B,r,o as C,A as b,y as g,h as n,i,cC as v}from"./index.js";import{c as w,d as E}from"./index.dd3bcd78.js";import N from"./invoice-modal.d5f3af.js";import"./index.c443965f.js";const P=[{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\u56DE\u7968\u7F16\u7801",prop:"orderCode",width:150},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",width:150},{label:"\u53D1\u7968\u53F7\u7801",prop:"inv_number",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:u})=>F(m,{size:u.size},{default:()=>{var t;return(t=s.find(o=>String(e.status)===o.value))==null?void 0:t.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})=>f(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",slot:"operation",width:110}],R={title:"\u91C7\u8D2D\u56DE\u7968",statusProp:"companyNo",columns:P,apis:{httpList:w,httpDelete:E,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},l={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:s},{field:"hpNo",placeholder:"\u5BF9\u8D26\u56DE\u7968\u7F16\u7801",type:"input"},{field:"returnCode",type:"input",placeholder:"\u9000\u7968\u7533\u8BF7\u7F16\u7801"}]},k="supplyTicketReturnRelive",p="/supply/supplyTicketReturnReliveDetail",A=y({__name:"index",setup(e){const{push:u}=_(),t=B(null),o={pageSearchHook:()=>v(void 0,void 0,l)},c={content:{preview:({returnCode:a})=>u(`${p}?id=${a}`),create:()=>u(p)}};return(a,x)=>{const d=r("PageContainer"),h=r("PageAuth");return C(),b(h,{pageName:k},{default:g(()=>[n(d,{hooks:o,events:c,contentConfig:i(R),"search-config":i(l)},null,8,["contentConfig","search-config"]),n(N,{ref_key:"invoiceModalRef",ref:t},null,512)]),_:1})}}});var H=D(A,[["__file","D:/work/jiesuan/settle-vue3/src/views/supply/ticketReturnRelive/index.vue"]]);export{H as default};
