import{al as f,aS as F,ae as B,_ as y,d as C,n as g,r as s,o as _,G as P,C as b,l as E,u as n}from"./index.56c69f5a.js";import{c as D,d as N}from"./index.3dc5e478.js";import{r,o}from"./status.2df4810d.js";import{a as p}from"./columnRenderHelper.6c05b86e.js";import{u as v}from"./use-page-search.27df6d7f.js";const w=[{type:"selection",width:40,align:"center",hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",minWidth:60,align:"left",hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u9000\u6B3E\u7533\u8BF7\u7F16\u7801",prop:"returnCode",width:150,align:"left"},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",width:150,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u7801",prop:"supplierNo",width:150,align:"left"},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801",prop:"companyNo",width:150},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyNo",minWidth:180},{label:"\u72B6\u6001",prop:"status",minWidth:130,cellRenderer:({row:e,props:a})=>f(F,{size:a.size},{default:()=>{var u;return(u=r.find(t=>String(e.status)===t.value))==null?void 0:u.label}})},{label:"\u4E1A\u52A1\u7C7B\u578B",width:95,...p(o,"is_comon")},{label:"\u4E1A\u52A1\u7C7B\u578B",width:95,...p(o,"is_comon")},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:90,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",width:140,prop:"addtime",formatter:({addtime:e})=>B(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],A={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:w,deleteProp:"dzNo",showDelete:({dstatus:e})=>Number(e)!==3,companyProp:"supplierNo",superUserNoAction:!0,listNoRelation:!0,apis:{httpList:D,httpDelete:N,httpAdd:!0}},i={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:"\u5BA1\u6838\u72B6\u6001",options:r},{field:"companyNo",type:"business-query"},{field:"returnCode",type:"input",placeholder:"\u9000\u6B3E\u7533\u8BF7\u7F16\u7801"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u7801"},{field:"is_comon",type:"select",placeholder:"\u4E1A\u52A1\u7C7B\u578B",span:4,options:o},{field:"is_comon",type:"select",placeholder:"\u4E1A\u52A1\u7C7B\u578B",span:4,options:o}]},x=C({__name:"index",setup(e){const a="supplyPurchPayRelive",u="/supply/supplyPurchPayReliveDetail",{push:t}=g(),c={pageSearchHook:()=>v(void 0,void 0,i)},d={content:{preview:({returnCode:l})=>t(`${u}?id=${l}`),create:()=>t(u)}};return(l,R)=>{const h=s("PageContainer"),m=s("PageAuth");return _(),P(m,{pageName:a},{default:b(()=>[E(h,{hooks:c,events:d,contentConfig:n(A),"search-config":n(i)},null,8,["contentConfig","search-config"])]),_:1})}}});var H=y(x,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/supply/purchPayRelive/index.vue"]]);export{H as default};
