index.ece0e7b6.js 2.7 KB

1
  1. import{aa as d,aF as m,aW as h,_ as f,r as F,z as D,v as l,o as B,M as g,J as _,w as E,x as n}from"./index.ec200855.js";import{c as b,d as C}from"./index.5d1f7e82.js";import{s as v}from"./_options.75c311fb.js";import{u as y}from"./use-page-search.ffb2f0f1.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:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierNo",minWidth:180,align:"left"},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:110},{label:"\u672C\u6B21\u4ED8\u6B3E\u91D1\u989D",prop:"dpay_fee",minWidth:110,align:"left"},{label:"\u72B6\u6001",prop:"status",minWidth:120,cellRenderer:({row:e,props:t})=>d(m,{size:t.size},{default:()=>{var u;return((u=v.find(a=>String(e.dstatus)===a.value))==null?void 0:u.label)||"--"}})},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",minWidth:180,prop:"addtime",formatter:({addtime:e})=>h(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],N={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:P,deleteProp:"dzNo",apis:{httpList:b,httpDelete:C},superUserNoAction:!0,showDelete:({dstatus:e})=>Number(e)<=2},W=[{value:"0",label:"\u5F85\u53D1\u8D77"},{value:"1",label:"\u5F85\u4E70\u65B9\u5BA1\u6838"},{value:"2",label:"\u5F85\u4ED8\u6B3E\u56DE\u6267"},{value:"3",label:"\u5BA1\u6838\u6210\u529F"},{value:"4",label:"\u4E70\u65B9\u516C\u53F8\u9A73\u56DE"},{value:"5",label:"\u4ED8\u6B3E\u5DF2\u9000"}],i={formItems:[{field:"supplierNo",type:"input",placeholder:"\u5356\u65B9\u516C\u53F8\u7F16\u53F7"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u53F7"},{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:W}]},x=F({__name:"index",setup(e){const t="purchPay",u="/purchase/purchPayDetail",{push:a}=D(),s={pageSearchHook:()=>y(void 0,void 0,i)},r={content:{preview:({dzNo:o})=>a(`${u}?id=${o}`)}};return(o,A)=>{const p=l("PageContainer"),c=l("PageAuth");return B(),g(c,{pageName:t},{default:_(()=>[E(p,{hooks:s,events:r,contentConfig:n(N),"search-config":n(i)},null,8,["contentConfig","search-config"])]),_:1})}}});var z=f(x,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/purchase/purchPay/index.vue"]]);export{z as default};