1 |
- import{ah as h,aK as m,d as F,B as f,y as n,o as B,O as g,L as D,z as C,u as p}from"./index.06a28d24.js";import{c as _,d as b}from"./index.15c04872.js";import{s as o}from"./_options.94a68b86.js";import{u as E}from"./use-page-search.9c614287.js";const y=[{label:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u53F7",prop:"dzNo",width:160,align:"left"},{label:"\u5BF9\u8D26\u7F16\u53F7",prop:"payNo",width:160},{label:"\u72B6\u6001",prop:"dstatus",minWidth:120,transform:t=>{var u;return(u=o.find(e=>String(t)===e.value))==null?void 0:u.label},cellRenderer:({row:t,props:u})=>h(m,{size:u.size},{default:()=>{var e;return(e=o.find(a=>String(t.dstatus)===a.value))==null?void 0:e.label}})},{label:"\u5BF9\u8D26\u603B\u91D1\u989D",prop:"total_fee",width:110},{label:"\u672C\u6B21\u4ED8\u6B3E\u91D1\u989D",prop:"dpay_fee",width:110,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:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",width:160,prop:"addtime"},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],N={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:y,deleteProp:"dzNo",showDelete:({dstatus:t})=>Number(t)===1,apis:{httpList:_,httpDelete:b,httpAdd:!0}},r={formItems:[{field:"dzNo",type:"input",placeholder:"\u5BF9\u8D26\u4ED8\u6B3E\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:o}]},x=F({__name:"index",setup(t){const u="purchPay",e="/purchase/purchPayDetail",{push:a}=f(),i={pageSearchHook:()=>E(void 0,void 0,r)},s={content:{preview:({dzNo:l})=>a(`${e}?id=${l}`),create:()=>a(e)}};return(l,P)=>{const d=n("PageContainer"),c=n("PageAuth");return B(),g(c,{pageName:u},{default:D(()=>[C(d,{hooks:i,events:s,contentConfig:p(N),"search-config":p(r)},null,8,["contentConfig","search-config"])]),_:1})}}});export{x as default};
|