25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.8KB

  1. import{_ as k}from"./index.8fabbc4d.js";import{N as g}from"./index.ae3f62a1.js";import{d as h,r as N,o as x,c as i,e as n,G as p,i as t,h as a,j as o,t as s,f as c,F as A,H as T}from"./index.55251523.js";const D=h({name:"contractInfo"}),w=Object.assign(D,{props:{detailData:Object},setup(u){const d=u,e=N(),_=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 x(()=>{_()}),(j,B)=>{var r;const l=i("el-descriptions-item"),b=i("table-list"),y=i("el-descriptions");return(r=e.value)!=null&&r.id?(n(),p(y,{key:0,column:2,border:""},{default:t(()=>[a(l,{label:"\u5408\u540C\u540D\u79F0"},{default:t(()=>[o(s(e.value.name||"-"),1)]),_:1}),a(l,{label:"\u5408\u540C\u603B\u91D1\u989D"},{default:t(()=>[o(s(e.value.totalAmount||"-")+"\u4E07\u5143 ",1)]),_:1}),a(l,{label:"\u5408\u540C\u7B7E\u8BA2\u5B8C\u6210\u65F6\u95F4"},{default:t(()=>[o(s(e.value.contractTime||"-"),1)]),_:1}),a(l,{label:"\u4EA4\u8D27\u65E5\u671F"},{default:t(()=>[o(s(e.value.deliveryTime||"-"),1)]),_:1}),a(l,{label:"\u5408\u540C\u9644\u4EF6",span:2},{default:t(()=>[(n(!0),c(A,null,T(e.value.attachment&&JSON.parse(e.value.attachment),(m,v)=>(n(),c("p",{key:v,class:"mb-4"},[a(k,{"file-name":m.originalFileName,"file-id":m.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})):(n(),p(g,{key:1}))}}});export{w as default};