1 |
- import{P as _}from"./page-content.93a04c42.js";import{u as F,_ as D}from"./use-page-search.90c52620.js";import{ah as C,aE as g,aX as B,q as E,a2 as y,x as b,C as k,aQ as P,r as W,o as w,n as N,t as a,H as i,p as S,v as t,bo as v,S as R}from"./index.630a2dc7.js";import{c as A,d as x}from"./index.d6813868.js";import{P as c}from"./purchPay.64b04cd8.js";import"./index.ad9f8c1d.js";import"./responseHandle.9c0c7903.js";import"./hooks.04ae2ab9.js";import"./use-response-handle.4c44cee7.js";import"./basic-form.158050a7.js";import"./global.be899199.js";const T=[{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})=>C(g,{size:u.size},{default:()=>{var o;return(o=c.find(n=>e.dstatus===n.value))==null?void 0:o.label}})},{label:"\u7533\u8BF7\u65F6\u95F4",minWidth:180,prop:"createTime",formatter:({addtime:e})=>B(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],p={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:T,deleteProp:"dzNo",apis:{httpList:A,httpDelete:x},powers:["001","002","003","004","005","006","007","008"]},M={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:c}]},Y={class:"main role"},z={"w-full":""},H=R("\u65B0\u5EFA"),V={name:"purchPay"},Z=E({...V,setup(e){const{pageContentRef:u,handleSearchClick:o,handleResetClick:n}=F(),l=y(()=>p),{push:r}=b();function d(){r("/purchase/purchPayDetail")}function f(s){r({path:"/purchase/purchPayDetail",query:{id:s.dzNo}})}return k(()=>p.powers=P().getMenuActions("purchPay")),(s,q)=>{const m=W("el-button");return w(),N("div",Y,[a(v,{isShow:t(l).powers.some(h=>h==="001")},{default:i(()=>[S("div",z,[a(t(D),{ref_key:"pageContentRef",ref:u,"form-config":t(M),onSearchBtnClick:t(o),onResetBtnClick:t(n)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),a(t(_),{ref_key:"pageContentRef",ref:u,"content-config":t(l),onPreviewBtnClick:f},{create:i(()=>[a(m,{type:"primary",onClick:d},{default:i(()=>[H]),_:1})]),_:1},8,["content-config"])])]),_:1},8,["isShow"])])}}});export{Z as default};
|