You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
2.2KB

  1. import{_ as k}from"./index.3ec0b116.js";import{N as g}from"./index.cc60bba1.js";import{d as h,r as A,o as N,c as i,e as s,I as u,i as t,h as a,j as n,t as o,f as c,F as x,J as T}from"./index.0660698f.js";const B=h({name:"contractInfo"}),I=Object.assign(B,{props:{detailData:Object},setup(m){const d=m,e=A(),_=async()=>{e.value=d.detailData.contract},f=[{label:"\u4ED8\u6B3E\u7B14\u6570",type:"index",width:"80"},{label:"\u4ED8\u6B3E\u8BA1\u5212",key:"planAmount",prop:"planAmount"},{label:"\u4ED8\u6B3E\u6BD4\u4F8B\uFF08%\uFF09",key:"ratio",prop:"ratio"},{label:"\u4ED8\u6B3E\u91D1\u989D\uFF08\u4E07\u5143\uFF09",key:"paymentAmount",prop:"paymentAmount"},{label:"\u9884\u8BA1\u4ED8\u6B3E\u65F6\u95F4",key:"paymentTime",prop:"paymentTime"}];return N(()=>{_()}),(D,j)=>{var r;const l=i("el-descriptions-item"),b=i("table-list"),y=i("el-descriptions");return(r=e.value)!=null&&r.id?(s(),u(y,{key:0,column:2,border:""},{default:t(()=>[a(l,{label:"\u5408\u540C\u540D\u79F0"},{default:t(()=>[n(o(e.value.name||"-"),1)]),_:1}),a(l,{label:"\u5408\u540C\u603B\u91D1\u989D"},{default:t(()=>[n(o(e.value.totalAmount||"-")+"\u4E07\u5143 ",1)]),_:1}),a(l,{label:"\u4F9B\u5E94\u5546\u6536\u6B3E\u5F00\u6237\u884C"},{default:t(()=>[n(o(e.value.supplierBank||"-"),1)]),_:1}),a(l,{label:"\u91C7\u8D2D\u65B9\u5F0F"},{default:t(()=>[n(o(e.value.supplierAccount),1)]),_:1}),a(l,{label:"\u8D28\u4FDD\u671F"},{default:t(()=>[n(o(e.value.warrantyPeriod||"-")+"\u5E74 ",1)]),_:1}),a(l,{label:"\u8D28\u4FDD\u91D1"},{default:t(()=>[n(o(e.value.retentionMoney||"-")+"\u4E07\u5143 ",1)]),_:1}),a(l,{label:"\u5408\u540C\u7B7E\u8BA2\u5B8C\u6210\u65F6\u95F4"},{default:t(()=>[n(o(e.value.contractTime||"-"),1)]),_:1}),a(l,{label:"\u4EA4\u8D27\u65E5\u671F"},{default:t(()=>[n(o(e.value.deliveryTime||"-"),1)]),_:1}),a(l,{label:"\u5408\u540C\u9644\u4EF6",span:2},{default:t(()=>[(s(!0),c(x,null,T(e.value.attachment&&JSON.parse(e.value.attachment),(p,v)=>(s(),c("p",{key:v,class:"mb-4"},[a(k,{"file-name":p.originalFileName,"file-id":p.id},null,8,["file-name","file-id"])]))),128))]),_:1}),a(l,{label:"\u4ED8\u6B3E\u8BA1\u5212",span:2},{default:t(()=>[a(b,{ref:"tableListRef",column:f,data:e.value.payments,pagination:!1,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})):(s(),u(g,{key:1}))}}});export{I as default};