1 |
- import{P as d}from"./page-content.26cec3f3.js";import{u as f,_ as m}from"./use-page-search.ef2d650b.js";import{ah as h,bo as F,aM as _,q as D,x as C,r as g,o as y,n as B,t as o,v as t,H as r,S as E}from"./index.307d1dca.js";import{c as b,d as k}from"./index.891a8082.js";import{p as W,s as P}from"./configs.ddfbc06f.js";import"./index.43bf6170.js";import"./responseHandle.d2003523.js";import"./hooks.d804685b.js";import"./use-response-handle.a7ab3a70.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:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",minWidth:180,align:"left"},{label:"\u5F85\u4ED8\u6B3E\u91D1\u989D",prop:"dpay_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})=>_(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}]},x={class:"main role"},w=E("\u65B0\u5EFA"),A={name:"purchPay"},I=D({...A,setup(e){const{pageContentRef:u,handleSearchClick:a,handleResetClick:n}=f(),{push:i}=C();function p(){i("/purchase/purchPayDetail")}function s(l){i({path:"/purchase/purchPayDetail",query:{id:l.dzNo}})}return(l,S)=>{const c=g("el-button");return y(),B("div",x,[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:r(()=>[o(c,{type:"primary",onClick:p},{default:r(()=>[w]),_:1})]),_:1},8,["content-config"])])}}});export{I as default};
|