1 |
- import{ah as h,aK as m,af as F,d as f,B as g,bn as B,y as r,o as C,O as D,L as b,z as E,u as n}from"./index.06a28d24.js";import{c as _,d as y}from"./index.4c07611c.js";import{s as l}from"./_options.4f60ed4c.js";import{u as P}from"./use-page-search.9c614287.js";const N=[{label:"\u4ED8\u6B3E\u89E3\u9664\u7F16\u53F7",prop:"returnCode",width:160,align:"left"},{label:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u53F7",prop:"orderCode",width:160,align:"left"},{label:"\u5BF9\u8D26\u7F16\u53F7",prop:"payNo",width:160,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u53F7",prop:"supplierNo",width:160,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",minWidth:180},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u53F7",prop:"companyNo",width:160},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u72B6\u6001",prop:"status",minWidth:120,cellRenderer:({row:e,props:u})=>h(m,{size:u.size},{default:()=>{var t;return(t=l.find(o=>String(e.status)===o.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:_,httpDelete:y,httpAdd:!0}},s={formItems:[{field:"returnCode",type:"input",placeholder:"\u4ED8\u6B3E\u89E3\u9664\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:l}]},z=f({__name:"index",setup(e){const u="purchPayRelive",t="/purchase/purchPayReliveDetail",{push:o}=g(),p={pageSearchHook:()=>P(void 0,void 0,s)};B(u);const i={content:{preview:({returnCode:a})=>o(`${t}?id=${a}`),create:()=>o(t)}};return(a,v)=>{const d=r("PageContainer"),c=r("PageAuth");return C(),D(c,{pageName:u},{default:b(()=>[E(d,{hooks:p,events:i,contentConfig:n(w),"search-config":n(s)},null,8,["contentConfig","search-config"])]),_:1})}}});export{z as default};
|