1 |
- import{af as m,aI as h,aX as F,_ as f,r as g,z as B,bn as C,v as n,o as _,M as y,J as b,w as D,x as i}from"./index.93d58d1e.js";import{c as P,d as v}from"./index.ba9540a3.js";import{s as r}from"./_options.07ddbf89.js";import{u as E}from"./use-page-search.8ce3a7af.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:"\u9000\u6B3E\u7533\u8BF7\u7F16\u53F7",prop:"returnCode",minWidth:180,align:"left"},{label:"\u5BF9\u8D26\u7F16\u53F7",prop:"payNo",minWidth:180,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u53F7",prop:"supplierNo",minWidth:180,align:"left"},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u53F7",prop:"companyNo",minWidth:180},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyNo",minWidth:180},{label:"\u72B6\u6001",prop:"status",minWidth:120,cellRenderer:({row:e,props:u})=>m(h,{size:u.size},{default:()=>{var t;return(t=r.find(a=>String(e.status)===a.value))==null?void 0:t.label}})},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",minWidth:180,prop:"addtime",formatter:({addtime:e})=>F(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],W={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:N,deleteProp:"dzNo",showDelete:({dstatus:e})=>Number(e)!==3,superUserNoAction:!0,apis:{httpList:P,httpDelete:v,httpAdd:!0}},s={formItems:[{field:"returnCode",type:"input",placeholder:"\u9000\u6B3E\u7533\u8BF7\u7F16\u53F7"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u53F7"},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"start",endProp:"end",startPlaceholder:"\u7533\u8BF7\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u7533\u8BF7\u7ED3\u675F\u65F6\u95F4"}},{field:"status",type:"select",placeholder:"\u5BA1\u6838\u72B6\u6001",options:r}]},x=g({__name:"index",setup(e){const u="purchPayRelive",t="/purchase/purchPayReliveDetail",{push:a}=B(),l={pageSearchHook:()=>E(void 0,void 0,s)};C(u);const p={content:{preview:({returnCode:o})=>a(`${t}?id=${o}`),create:()=>a(t)}};return(o,k)=>{const c=n("PageContainer"),d=n("PageAuth");return _(),y(d,{pageName:u},{default:b(()=>[D(c,{hooks:l,events:p,contentConfig:i(W),"search-config":i(s)},null,8,["contentConfig","search-config"])]),_:1})}}});var Y=f(x,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/purchase/purchPayRelive/index.vue"]]);export{Y as default};
|