import{P as d}from"./page-content.6b548a2d.js";import{u as f,_ as m}from"./use-page-search.f38b29a1.js";import{ah as h,bf as F,aN as D,q as _,x as B,r as C,o as g,n as y,t as o,v as t,H as p,S as E}from"./index.10c3f8e5.js";import{c as b,d as k}from"./index.5ed24c0b.js";import{p as W,s as P}from"./configs.40b3dcc9.js";import"./index.1c15f518.js";import"./responseHandle.3a46a31b.js";import"./hooks.5f77ce90.js";import"./use-response-handle.23bba72b.js";const N=[{type:"selection",minWidth:55,align:"left",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\u7F16\u53F7",prop:"payNo",minWidth:180,align:"left"},{label:"\u4F9B\u5E94\u5546\u7F16\u53F7",prop:"supplierNo",minWidth:180,align:"left"},{label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:180},{label:"\u672C\u6B21\u4ED8\u6B3E\u91D1\u989D",prop:"dpay_fee",minWidth:180,align:"left"},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",minWidth:180,align:"left"},{label:"\u5F85\u4ED8\u6B3E\u91D1\u989D",prop:"wpay_fee",minWidth:180,align:"left"},{label:"\u5DF2\u56DE\u7968\u91D1\u989D",prop:"ainv_fee",minWidth:180,align:"left"},{label:"\u672A\u56DE\u7968\u91D1\u989D",prop:"winv_fee",minWidth:180,align:"left"},{label:"\u72B6\u6001",prop:"dstatus",minWidth:120,cellRenderer:({row:e,props:u})=>h(F,{size:u.size},{default:()=>{var a;return(a=W.find(n=>e.dstatus===n.value))==null?void 0:a.label}})},{label:"\u7533\u8BF7\u65F6\u95F4",minWidth:180,prop:"createTime",formatter:({addtime:e})=>D(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],v={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:N,deleteProp:"dzNo",apis:{httpList:b,httpDelete:k},powers:["001","002","003","004","005","006","007","008"]},R={formItems:[{field:"supplierNo",type:"input",placeholder:"\u4F9B\u5E94\u5546\u7F16\u53F7"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u53F7"},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startPlaceholder:"\u5F00\u59CB\u65E5\u671F",endPlaceholder:"\u7ED3\u675F\u65E5\u671F"}},{field:"status",type:"select",placeholder:"\u5BA1\u6838\u72B6\u6001",options:P}]},w={class:"main role"},x=E("\u65B0\u5EFA"),A={name:"purchPay"},I=_({...A,setup(e){const{pageContentRef:u,handleSearchClick:a,handleResetClick:n}=f(),{push:i}=B();function r(){i("/purchase/purchPayDetail")}function s(l){i({path:"/purchase/purchPayDetail",query:{id:l.dzNo}})}return(l,S)=>{const c=C("el-button");return g(),y("div",w,[o(t(m),{ref_key:"pageContentRef",ref:u,"form-config":t(R),onSearchBtnClick:t(a),onResetBtnClick:t(n)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),o(t(d),{ref_key:"pageContentRef",ref:u,"content-config":t(v),onPreviewBtnClick:s},{create:p(()=>[o(c,{type:"primary",onClick:r},{default:p(()=>[x]),_:1})]),_:1},8,["content-config"])])}}});export{I as default};
