1 |
- import{aj as h,aF as m,_ as F,d as f,A as B,x as r,o as _,N as g,K as D,y as C,u as l}from"./index.1417328f.js";import{c as b,d as y}from"./index.514aa846.js";import{s as o}from"./_options.a38891ec.js";import{u as E}from"./use-page-search.7e7b4728.js";const P=[{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:u=>{var t;return(t=o.find(e=>String(u)===e.value))==null?void 0:t.label},cellRenderer:({row:u,props:t})=>h(m,{size:t.size},{default:()=>{var e;return(e=o.find(a=>String(u.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:P,deleteProp:"dzNo",showDelete:({dstatus:u})=>Number(u)===1,apis:{httpList:b,httpDelete:y,httpAdd:!0}},n={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}]},w=f({__name:"index",setup(u){const t="purchPay",e="/purchase/purchPayDetail",{push:a}=B(),s={pageSearchHook:()=>E(void 0,void 0,n)},i={content:{preview:({dzNo:p})=>a(`${e}?id=${p}`),create:()=>a(e)}};return(p,v)=>{const c=r("PageContainer"),d=r("PageAuth");return _(),g(d,{pageName:t},{default:D(()=>[C(c,{hooks:s,events:i,contentConfig:l(N),"search-config":l(n)},null,8,["contentConfig","search-config"])]),_:1})}}});var S=F(w,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/purchase/purchPay__/index.vue"]]);export{S as default};
|