import{_ as b}from"./index.3f9c5e64.js";import{N as O}from"./index.dea5e324.js";import{d as F}from"./projectCollectionEnter.fafd4e13.js";import{d as x,r as N,o as E,c as C,e as r,f as d,J as c,I as k,i as l,h as a,j as s,t as i,F as u}from"./index.5bb861d3.js";const J=x({name:"biddingRegistration"}),T=Object.assign(J,{props:{detailData:Object},setup(D){const h=D,p=N(),v=async()=>{var f;p.value=(f=h.detailData)==null?void 0:f.purchases},m=N([]);return E(async()=>{m.value=(await F()).data,v()}),(f,L)=>{var g;const t=C("el-descriptions-item"),S=C("el-descriptions");return(g=p.value)!=null&&g.length?(r(!0),d(u,{key:0},c(p.value,(e,y)=>(r(),k(S,{key:y,column:2,border:"",title:`\u6807\u6BB5${y+1}`,class:"mb-16"},{default:l(()=>[a(t,{label:"\u6807\u6BB5\u540D\u79F0"},{default:l(()=>[s(i(e.bidName||"-"),1)]),_:2},1024),a(t,{label:"\u4F9B\u5E94\u5546"},{default:l(()=>[s(i(e.supplier||"-"),1)]),_:2},1024),a(t,{label:"\u4F9B\u5E94\u5546\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:l(()=>[s(i(e.supplierSocialCreditCode||"-"),1)]),_:2},1024),a(t,{label:"\u4F9B\u5E94\u5546\u8054\u7CFB\u4EBA"},{default:l(()=>[s(i(e.supplierContact||"-"),1)]),_:2},1024),a(t,{label:"\u4F9B\u5E94\u5546\u8054\u7CFB\u65B9\u5F0F"},{default:l(()=>[s(i(e.supplierContactInfo||"-"),1)]),_:2},1024),a(t,{label:"\u91C7\u8D2D\u65B9\u5F0F"},{default:l(()=>{var n,o;return[s(i(((o=(n=m.value)==null?void 0:n.filter(_=>_.type==="PURCHASE_METHOD").find(_=>_.value===e.purchaseMethod))==null?void 0:o.label)||"-"),1)]}),_:2},1024),a(t,{label:"\u6210\u4EA4\u91D1\u989D\uFF08\u4E07\u5143\uFF09"},{default:l(()=>[s(i(e.transactionAmount||"-"),1)]),_:2},1024),a(t,{label:"\u6210\u4EA4\u65F6\u95F4"},{default:l(()=>[s(i(e.transactionTime||"-"),1)]),_:2},1024),a(t,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784"},{default:l(()=>[s(i(e.agency||"-"),1)]),_:2},1024),a(t,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:l(()=>[s(i(e.purchaseSocialCreditCode||"-"),1)]),_:2},1024),a(t,{label:"\u9884\u7B97\u6267\u884C\u786E\u8BA4\u4E66\u7F16\u53F7"},{default:l(()=>[s(i(e.budgetExecConfirmNo||"-"),1)]),_:2},1024),a(t,{label:"\u6295\u6807\u6587\u4EF6",span:2},{default:l(()=>[(r(!0),d(u,null,c(e.biddingDoc&&JSON.parse(e.biddingDoc),(n,o)=>(r(),d("p",{key:o,class:"mb-4"},[a(b,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024),a(t,{label:"\u62DB\u6807\u6587\u4EF6",span:2},{default:l(()=>[(r(!0),d(u,null,c(e.bidDoc&&JSON.parse(e.bidDoc),(n,o)=>(r(),d("p",{key:o,class:"mb-4"},[a(b,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024),a(t,{label:"\u4E2D\u6807\u901A\u77E5\u4E66",span:2},{default:l(()=>[(r(!0),d(u,null,c(e.acceptanceLetter&&JSON.parse(e.acceptanceLetter),(n,o)=>(r(),d("p",{key:o,class:"mb-4"},[a(b,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)):(r(),k(O,{key:1}))}}});export{T as default};
