import{al as h,aS as f,ae as F,_ as y,d as B,n as g,r as p,o as D,G as _,C,l as E,u as r}from"./index.1d1a5ecb.js";import{c as N,d as P}from"./index.4861dff1.js";import{p as n}from"./status.d6b2a53d.js";import{r as s}from"./columnRenderHelper.0fb69d06.js";import{u as b}from"./use-page-search.f4c305e2.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:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u7801",prop:"dzNo",width:150,align:"left"},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",width:150},{label:"\u72B6\u6001",prop:"dstatus",width:130,cellRenderer:({row:e,props:o})=>h(f,{size:o.size},{default:()=>{var u;return(u=n.find(t=>String(e.dstatus)===t.value))==null?void 0:u.label}})},{label:"\u672C\u6B21\u4ED8\u6B3E\u91D1\u989D",prop:"dpay_fee",width:110,align:"left"},{label:"\u603B\u989D\u6B3E",prop:"total_fee",width:110},{label:"\u5356\u51FA\u65B9\u516C\u53F8",prop:"supplierName",minWidth:180,...s("supplierNo","supplierName","\u5356\u51FA\u65B9\u516C\u53F8\u7F16\u7801:")},{label:"\u4E70\u5165\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180,...s("companyNo","companyName","\u4E70\u5165\u65B9\u516C\u53F8\u7F16\u7801:")},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:90,align:"left"},{label:"\u56DE\u6267\u65F6\u95F4",width:140,prop:"return_time"},{label:"\u7533\u8BF7\u65F6\u95F4",width:140,prop:"addtime",formatter:({addtime:e})=>F(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],v={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:w,deleteProp:"dzNo",showDelete:({dstatus:e})=>Number(e)!==3,companyProp:"supplierNo",superUserNoAction:!0,listNoRelation:!0,apis:{httpList:N,httpDelete:P,httpAdd:!0}},l={formItems:[{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"startTime",endProp:"endTime",startPlaceholder:"\u5F00\u59CB\u65E5\u671F",endPlaceholder:"\u7ED3\u675F\u65E5\u671F"}},{field:"status",type:"select",placeholder:"\u5BA1\u6838\u72B6\u6001",options:n},{field:"companyNo",type:"business-query"},{field:"dzNo",type:"input",placeholder:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u7801"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u7801"}]},x=B({__name:"index",setup(e){const o="supplyPurchPay",u="/supply/supplyPurchPayDetail",{push:t}=g(),i={pageSearchHook:()=>b(void 0,void 0,l)},c={content:{preview:({dzNo:a})=>t(`${u}?id=${a}`),create:()=>t(u)}};return(a,A)=>{const d=p("PageContainer"),m=p("PageAuth");return D(),_(m,{pageName:o},{default:C(()=>[E(d,{hooks:i,events:c,contentConfig:r(v),"search-config":r(l)},null,8,["contentConfig","search-config"])]),_:1})}}});var L=y(x,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/supply/purchPay/index.vue"]]);export{L as default};
