import{_ as v,d as I,f as k,g as r,h as n,L as y,K as S,m as l,G as f,l as e,p as c,t as d,j as t}from"./index.9fabe127.js";import{A as p}from"./index.15f81060.js";import{N as F}from"./index.18a3894b.js";const A=I({name:"basicInfo"}),x=Object.assign(A,{props:{detailData:{type:Array,default:()=>[]},basicInfoData:{type:Object},baseProjSetYear:{type:String,default:""},dictionaryList:{type:Array,default:()=>[]}},setup(u){return(O,B)=>{var g;const s=k("el-descriptions-item"),N=k("el-descriptions");return(g=u.detailData)!=null&&g.length?(r(!0),n(f,{key:0},y(u.detailData,(a,C)=>(r(),S(N,{key:C,column:2,border:"",class:"mb-16"},{default:l(()=>{var _,i,j,D,h;return[["05","06","07","00"].includes((_=u.basicInfoData)==null?void 0:_.baseProjSetProg)?(r(),n(f,{key:0},[e(s,{label:"\u6807\u6BB5\u540D\u79F0"},{default:l(()=>[c(d((a==null?void 0:a.baseBidName)||"-"),1)]),_:2},1024),e(s,{label:"\u91C7\u8D2D\u65B9\u5F0F"},{default:l(()=>{var o,b;return[c(d(((b=(o=u.dictionaryList)==null?void 0:o.filter(P=>P.type==="PURCHASE_METHOD").find(P=>P.value===(a==null?void 0:a.baseProjPurchaseWay)))==null?void 0:b.label)||"-"),1)]}),_:2},1024),e(s,{label:"\u9884\u7B97\u6267\u884C\u786E\u8BA4\u4E66\u7F16\u53F7"},{default:l(()=>[c(d((a==null?void 0:a.basePurchaseCode)||"-"),1)]),_:2},1024)],64)):t("v-if",!0),["05","06","07","00"].includes((i=u.basicInfoData)==null?void 0:i.baseProjSetProg)||u.baseProjSetYear*1<2023?(r(),n(f,{key:1},[e(s,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784"},{default:l(()=>[c(d((a==null?void 0:a.basePurchasingAgencies)||"-"),1)]),_:2},1024),e(s,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:l(()=>[c(d((a==null?void 0:a.baseUnifiedCreditCode)||"-"),1)]),_:2},1024)],64)):t("v-if",!0),["05","06","07","00"].includes((j=u.basicInfoData)==null?void 0:j.baseProjSetProg)?(r(),n(f,{key:2},[e(s,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u65F6\u95F4"},{default:l(()=>[c(d((a==null?void 0:a.baseWinningBidTime)||"-"),1)]),_:2},1024),e(s,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u91D1\u989D"},{default:l(()=>[c(d((a==null?void 0:a.baseProjPurchaseAmount)||"-"),1)]),_:2},1024),e(s,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u4F9B\u5E94\u5546\u540D\u79F0"},{default:l(()=>[c(d((a==null?void 0:a.baseConsDeprt)||"-"),1)]),_:2},1024),e(s,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u4F9B\u5E94\u5546\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:l(()=>[c(d((a==null?void 0:a.baseConsDeprtUsci)||"-"),1)]),_:2},1024)],64)):t("v-if",!0),["05","06","07","00"].includes((D=u.basicInfoData)==null?void 0:D.baseProjSetProg)||u.baseProjSetYear*1<2023?(r(),n(f,{key:3},[e(s,{label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u65F6\u95F4"},{default:l(()=>[c(d((a==null?void 0:a.basePaymentTime)||"-"),1)]),_:2},1024),e(s,{label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u91D1\u989D"},{default:l(()=>[c(d((a==null?void 0:a.paymentProgress)||"-")+"\u4E07\u5143 ",1)]),_:2},1024)],64)):t("v-if",!0),["05","06","07","00"].includes((h=u.basicInfoData)==null?void 0:h.baseProjSetProg)?(r(),n(f,{key:4},[e(s,{label:"\u62DB\u6807\uFF08\u91C7\u8D2D\uFF09\u6587\u4EF6"},{default:l(()=>[(r(!0),n(f,null,y((a==null?void 0:a.purchaseFile)&&JSON.parse(a==null?void 0:a.purchaseFile),(o,b)=>(r(),n("p",{key:b,class:"mb-4"},[e(p,{"file-name":o.originalFileName,"file-id":o.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024),e(s,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u901A\u77E5"},{default:l(()=>[(r(!0),n(f,null,y((a==null?void 0:a.biddingFile)&&JSON.parse(a==null?void 0:a.biddingFile),(o,b)=>(r(),n("p",{key:b,class:"mb-4"},[e(p,{"file-name":o.originalFileName,"file-id":o.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024),e(s,{label:"\u91C7\u8D2D\u5408\u540C"},{default:l(()=>[(r(!0),n(f,null,y((a==null?void 0:a.purchaseContract)&&JSON.parse(a==null?void 0:a.purchaseContract),(o,b)=>(r(),n("p",{key:b,class:"mb-4"},[e(p,{"file-name":o.originalFileName,"file-id":o.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024)],64)):t("v-if",!0)]}),_:2},1024))),128)):(r(),S(F,{key:1}))}}}),U=v(x,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/purchaseInfo.vue"]]);export{U as default};
