import{al as m,a$ as h,_ as f,d as g,w as b,n as _,r as o,o as C,G as E,C as A,j as B,l as n}from"./index.js";import{g as v,s as l}from"./index.8ca3be50.js";import{u as w}from"./use-page-search.f7bc460e.js";const x=[{prop:"bargainNo",label:"\u8BAE\u4EF7\u7F16\u53F7",width:"155"},{prop:"infoNo",label:"\u7ADE\u4EF7\u5355\u7F16\u53F7",width:"155"},{prop:"status",label:"\u72B6\u6001",width:"130px",cellRenderer({row:u}){return m(h,null,{default:()=>{var e;return((e=l.find(t=>Number(t.value)===Number(u.status)))==null?void 0:e.label)||"--"}})}},{prop:"bidsNo",label:"\u91C7\u8FD4\u5546\u54C1\u7F16\u53F7",width:"155"},{prop:"companyNo",label:"\u4E1A\u52A1\u516C\u53F8\u7F16\u53F7",width:"155px"},{prop:"companyName",label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",width:"155px"},{prop:"good_name",label:"\u5546\u54C1\u540D\u79F0","min-width":"180"},{prop:"can",label:"\u5206\u7C7B","min-width":"125",cellRenderer({row:u}){return u.can.map(({name:e})=>e).join("-")}},{prop:"company_name",label:"\u7533\u8BF7\u4EBA\u90E8\u95E8",minWidth:"150px"},{prop:"creater",label:"\u7533\u8BF7\u4EBA",width:"75"},{prop:"",label:"\u64CD\u4F5C",fixed:"right",width:"50px",slot:"operation"}],N={title:"\u8BAE\u4EF7\u5355\u7BA1\u7406",columns:x,apis:{httpList:v}},r={formItems:[{field:"status",type:"select",options:l,placeholder:"\u72B6\u6001"},{field:"create_timer",type:"date_picker",label:"\u521B\u5EFA\u65F6\u95F4",otherOptions:{type:"daterange",startProp:"start",endProp:"end",startPlaceholder:"\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u7ED3\u675F\u65F6\u95F4"}},{field:"group",type_field:"group_type",type:"input_group",otherOptions:{inputGroupOptions:[{value:"bargainNo",label:"\u8BAE\u4EF7\u5355\u7F16\u53F7"},{value:"bidsNo",label:"\u53CD\u9988\u5546\u54C1\u7F16\u53F7"},{value:"infoNo",label:"\u7ADE\u4EF7\u5355\u7F16\u53F7"},{value:"company_name",label:"\u7533\u8BF7\u4EBA\u90E8\u95E8"}]}}]},y=g({__name:"index",setup(u){const e="bargainList",t=b(null),s={pageSearchHook:()=>w(void 0,void 0,r)},p=_(),i={content:{preview:({bargainNo:a})=>p.push(`/sellOut/bargainListDetail?id=${a}`)}};return(a,D)=>{const c=o("PageContainer"),d=o("PageAuth");return C(),E(d,{pageName:e},{default:A(()=>[B(c,{hooks:s,events:i,contentConfig:n(N),"search-config":n(r),"get-content-ref":F=>t.value=F},null,8,["contentConfig","search-config","get-content-ref"])]),_:1})}}});var L=f(y,[["__file","C:/Users/Administrator/Desktop/projects/purchase-vue3/src/views/sellOut/bargainList/index.vue"]]);export{L as default};
