1 |
- import{aj as h,aL as m,d as F,z as f,w as l,o as B,M as g,J as D,x as C,u as r}from"./index.3f1baf7c.js";import{c as _,d as b}from"./index.afabc9d6.js";import{s as a}from"./_options.d0ef3218.js";import{u as y}from"./use-page-search.2d986760.js";const E=[{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:140,transform:u=>{var t;return(t=a.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=a.find(o=>String(u.dstatus)===o.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:E,deleteProp:"dzNo",superUserNoAction:!0,showDelete:({dstatus:u})=>Number(u)===1,apis:{httpList:_,httpDelete:b,httpAdd:!0}},n={formItems:[{field:"dzNo",type:"input",placeholder:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u53F7"},{field:"supplierNo",type:"supplier-query"},{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:a}]},A=F({__name:"index",setup(u){const t="purchPay",e="/purchase/purchPayDetail",{push:o}=f(),i={pageSearchHook:()=>y(void 0,void 0,n)},s={content:{preview:({dzNo:p})=>o(`${e}?id=${p}`),create:()=>o(e)}};return(p,P)=>{const d=l("PageContainer"),c=l("PageAuth");return B(),g(c,{pageName:t},{default:D(()=>[C(d,{hooks:i,events:s,contentConfig:r(N),"search-config":r(n)},null,8,["contentConfig","search-config"])]),_:1})}}});export{A as default};
|