import{af as f,ev as d,ce as F,dS as p,dR as a,dT as B,cA as n,a7 as y,_ as C,d as _,k as g,r,o as P,A,y as D,h as E,i as l,cC as N}from"./index.js";import{c as b,f as v}from"./index.d39ff400.js";const w=[{label:"\u4ED8\u6B3E\u89E3\u9664\u7F16\u7801",prop:"returnCode",width:150,align:"left"},{label:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u7801",prop:"orderCode",width:150,align:"left"},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",width:150,align:"left"},{label:"\u72B6\u6001",prop:"status",width:140,cellRenderer:({row:e,props:u})=>f(F,{size:u.size},{default:()=>{var t;return(t=d.find(o=>String(e.status)===o.value))==null?void 0:t.label}})},{label:"\u4E1A\u52A1\u7C7B\u578B",width:95,...p(a,"is_comon")},{label:"\u4F9B\u5E94\u5546\u7AEF",prop:"has_account",width:80,...p(B,"has_account")},{label:"\u5356\u51FA\u65B9\u516C\u53F8",prop:"supplierName",minWidth:180,...n("supplierNo","supplierName","\u5356\u51FA\u65B9\u516C\u53F8\u7F16\u7801:")},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180,...n("companyNo","companyName","\u65B9\u516C\u53F8\u7F16\u7801:")},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:80,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",width:140,prop:"addtime",formatter:({addtime:e})=>y(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],x={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:w,deleteProp:"dzNo",showDelete:({dstatus:e})=>Number(e)!==3,companyProp:"supplierNo",superUserNoAction:!0,listNoRelation:!0,apis:{httpList:b,httpDelete:v,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:d},{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:a},{field:"is_comon",type:"select",placeholder:"\u4E1A\u52A1\u7C7B\u578B",span:4,options:a}]},R="supplyPurchPayRelive",c="/supply/supplyPurchPayReliveDetail",k=_({__name:"index",setup(e){const{push:u}=g(),t={pageSearchHook:()=>N(void 0,void 0,i)},o={content:{preview:({returnCode:s})=>u(`${c}?id=${s}`),create:()=>u(c)}};return(s,S)=>{const h=r("PageContainer"),m=r("PageAuth");return P(),A(m,{pageName:R},{default:D(()=>[E(h,{hooks:t,events:o,contentConfig:l(x),"search-config":l(i)},null,8,["contentConfig","search-config"])]),_:1})}}});var z=C(k,[["__file","D:/work/jiesuan/settle-vue3/src/views/supply/purchPayRelive/index.vue"]]);export{z as default};
