1 |
- import{ah as m,aK as F,af as h,d as f,B as g,y as n,o as B,O as y,L as C,z as P,u as i}from"./index.06a28d24.js";import{c as _,d as b}from"./index.4c07611c.js";import{s as p}from"./_options.d7c587ad.js";import{u as D}from"./use-page-search.9c614287.js";const E=[{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:o})=>m(F,{size:o.size},{default:()=>{var t;return(t=p.find(u=>String(e.status)===u.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})=>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:E,deleteProp:"dzNo",showDelete:({dstatus:e})=>Number(e)!==3,companyProp:"supplierNo",superUserNoAction:!0,apis:{httpList:_,httpDelete:b,httpAdd:!0}},l={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:p}]},w=f({__name:"index",setup(e){const o="supplyPurchPayRelive",t="/supply/supplyPurchPayReliveDetail",{push:u}=g(),r={pageSearchHook:()=>D(void 0,void 0,l)},s={content:{preview:({returnCode:a})=>u(`${t}?id=${a}`),create:()=>u(t)}};return(a,W)=>{const d=n("PageContainer"),c=n("PageAuth");return B(),y(c,{pageName:o},{default:C(()=>[P(d,{hooks:r,events:s,contentConfig:i(N),"search-config":i(l)},null,8,["contentConfig","search-config"])]),_:1})}}});export{w as default};
|