var C=(g,y,c)=>new Promise((N,f)=>{var _=s=>{try{e(c.next(s))}catch(p){f(p)}},h=s=>{try{e(c.throw(s))}catch(p){f(p)}},e=s=>s.done?N(s.value):Promise.resolve(s.value).then(_,h);e((c=c.apply(g,y)).next())});import{_ as O,d as L,r as S,o as M,f as j,g as i,h as u,L as b,K as x,m as t,l,p as o,t as r,G as m}from"./index.9fabe127.js";import{A as k}from"./index.15f81060.js";import{N as A}from"./index.18a3894b.js";import{d as B}from"./projectCollectionEnter.1928303a.js";const E=L({name:"biddingRegistration"}),F=Object.assign(E,{props:{detailData:Object},setup(g){const y=g,c=S(),N=()=>C(this,null,function*(){var _;c.value=(_=y.detailData)==null?void 0:_.purchases}),f=S([]);return M(()=>C(this,null,function*(){f.value=(yield B()).data,N()})),(_,h)=>{var p;const e=j("el-descriptions-item"),s=j("el-descriptions");return(p=c.value)!=null&&p.length?(i(!0),u(m,{key:0},b(c.value,(a,v)=>(i(),x(s,{key:v,column:2,border:"",title:`\u6807\u6BB5${v+1}`,class:"mb-16"},{default:t(()=>[l(e,{label:"\u6807\u6BB5\u540D\u79F0"},{default:t(()=>[o(r(a.bidName||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546"},{default:t(()=>[o(r(a.supplier||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>[o(r(a.supplierSocialCreditCode||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u8054\u7CFB\u4EBA"},{default:t(()=>[o(r(a.supplierContact||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u8054\u7CFB\u65B9\u5F0F"},{default:t(()=>[o(r(a.supplierContactInfo||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u65B9\u5F0F"},{default:t(()=>{var n,d;return[o(r(((d=(n=f.value)==null?void 0:n.filter(D=>D.type==="PURCHASE_METHOD").find(D=>D.value===a.purchaseMethod))==null?void 0:d.label)||"-"),1)]}),_:2},1024),l(e,{label:"\u6210\u4EA4\u91D1\u989D\uFF08\u4E07\u5143\uFF09"},{default:t(()=>[o(r(a.transactionAmount||"-"),1)]),_:2},1024),l(e,{label:"\u6210\u4EA4\u65F6\u95F4"},{default:t(()=>[o(r(a.transactionTime||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784"},{default:t(()=>[o(r(a.agency||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>[o(r(a.purchaseSocialCreditCode||"-"),1)]),_:2},1024),l(e,{label:"\u9884\u7B97\u6267\u884C\u786E\u8BA4\u4E66\u7F16\u53F7"},{default:t(()=>[o(r(a.budgetExecConfirmNo||"-"),1)]),_:2},1024),l(e,{label:"\u6295\u6807\u6587\u4EF6",span:2},{default:t(()=>[(i(!0),u(m,null,b(a.biddingDoc&&JSON.parse(a.biddingDoc),(n,d)=>(i(),u("p",{key:d,class:"mb-4"},[l(k,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024),l(e,{label:"\u62DB\u6807\u6587\u4EF6",span:2},{default:t(()=>[(i(!0),u(m,null,b(a.bidDoc&&JSON.parse(a.bidDoc),(n,d)=>(i(),u("p",{key:d,class:"mb-4"},[l(k,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024),l(e,{label:"\u4E2D\u6807\u901A\u77E5\u4E66",span:2},{default:t(()=>[(i(!0),u(m,null,b(a.acceptanceLetter&&JSON.parse(a.acceptanceLetter),(n,d)=>(i(),u("p",{key:d,class:"mb-4"},[l(k,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)):(i(),x(A,{key:1}))}}}),I=O(F,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/biddingRegistration.vue"]]);export{I as default};
