index.04e6aa19.js 2.9 KB

1
  1. import{P as d}from"./page-content.d948a327.js";import{u as f,_ as m}from"./use-page-search.726caae6.js";import{ah as h,br as F,b8 as D,q as _,H as g,t as B,o as C,n as y,w as n,D as t,x as l,z as E}from"./index.f47bb45b.js";import{b,c as k}from"./index.1e73202b.js";import{p as W,s as N}from"./configs.9323506e.js";import"./index.ec081681.js";import"./responseHandle.420c64c5.js";import"./hooks.d7601f5e.js";import"./use-response-handle.a0fb8de0.js";const P=[{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:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplierName",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:"pay_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:"status",minWidth:120,cellRenderer:({row:e,props:u})=>h(F,{size:u.size},{default:()=>W.find(a=>e.status===a.value).label})},{label:"\u7533\u8BF7\u65F6\u95F4",minWidth:180,prop:"createTime",formatter:({createTime:e})=>D(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],x={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:P,deleteProp:"dzNo",apis:{httpList:b,httpDelete:k}},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:N}]},v={class:"main role"},w=E("\u65B0\u5EFA"),j=_({__name:"index",setup(e){const{pageContentRef:u,handleSearchClick:a,handleResetClick:p}=f(),{push:i}=g();function r(){i("/purchase/purchPayDetail")}function s(o){i({path:"/purchase/purchPayDetail",query:{id:o.payNo}})}return(o,A)=>{const c=B("el-button");return C(),y("div",v,[n(t(m),{ref_key:"pageContentRef",ref:u,"form-config":t(R),onSearchBtnClick:t(a),onResetBtnClick:t(p)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),n(t(d),{ref_key:"pageContentRef",ref:u,"content-config":t(x),onPreviewBtnClick:s},{create:l(()=>[n(c,{type:"primary",onClick:r},{default:l(()=>[w]),_:1})]),_:1},8,["content-config"])])}}});export{j as default};