import{d as b,gF as h,bk as D,V as I,gG as R,c as s,o as l,w as c,i as t,j as r,H as T,p as i,D as q,A as n,l as a,ae as C,ca as k,k as x,X as N}from"./index-9PRMimni.js";import{c as O}from"./columns-CSOIGjyz.js";import"./dateUtil-BtafrT1f.js";import"./format-DgF6KtHk.js";const V={class:"mb-5"},B={class:"mt-5"},F=b({__name:"ShipTotalScoreAndRating",props:h({tabReadonly:{type:Boolean}},{formData:{type:Object,default:()=>({})},formDataModifiers:{}}),emits:["update:formData"],setup(u){const d=D(),{t:o}=I(),e=R(u,"formData"),{renderScoreStatusFunc:_}=O();return(m,p)=>{const f=C,g=T,y=x,v=N;return l(),s(v,null,{default:c(()=>[t("div",V,[r(g,{size:60},{default:c(()=>[t("span",null,[i(n(a(o)("hsqe.auditInspection.qualitySafetyInspection.totalScore"))+"： ",1),e.value.allTotalScore?(l(),s(f,{key:0,type:"info"},{default:c(()=>[i(n(e.value.allTotalScore),1)]),_:1})):q("",!0)]),t("span",null,[i(n(a(o)("hsqe.auditInspection.qualitySafetyInspection.overallRating"))+"： ",1),(l(),s(k(a(_)(e.value.allRatingCode,a(d).getLocale==="en"?e.value.allEnRating:e.value.allRating))))])]),_:1})]),t("div",B,[t("h1",null,n(a(o)("hsqe.auditInspection.qualitySafetyInspection.scoreOptions")),1),r(y,{type:"textarea",value:e.value.briefOption,"onUpdate:value":p[0]||(p[0]=S=>e.value.briefOption=S),placeholder:a(o)("common.inputText"),disabled:m.tabReadonly},null,8,["value","placeholder","disabled"])])]),_:1})}}});export{F as default};
