import{a as y,j as x}from"./index.2e41469c.js";import{a as S,i as C}from"./index.9af1606c.js";import{a as B,j as F}from"./index.8af0c514.js";import{d as E,a6 as w,r as p,p as D,c as I,e as _,k as O,i as b,g as e,t as o,f as h,j as k,F as z,R as j,S as A,_ as L}from"./index.0308b213.js";const n=i=>(j("data-v-7e915de2"),i=i(),A(),i),N={class:"body"},P={class:"top"},V={style:{flex:"1"}},M={style:{"font-size":"20px",color:"#000"}},R=n(()=>e("div",null,"\u6761\u7801",-1)),q={style:{flex:"1"}},G={style:{"font-size":"20px",color:"#000"}},H=n(()=>e("div",null,"\u65F6\u95F4",-1)),J={style:{flex:"1",color:"rgb(204, 0, 0)"}},K={style:{"font-size":"20px"}},Q=n(()=>e("div",null,"\u4EF7\u683C",-1)),T={style:{flex:"1",color:"rgb(61, 204, 0)"}},U={style:{"font-size":"20px"}},W=n(()=>e("div",null,"\u72B6\u6001",-1)),X={class:"center"},Y={class:"list"},Z={class:"left"},$={class:"right"},ee=E({props:{record_id:Number},emits:["closeClothes"],setup(i,{emit:te}){const a=i,{OpPlatform:l}=w(),d=p([]),f=()=>{l.value=="shangpu"?y({}).then(t=>{d.value=t.delivery_status}):l.value=="agent"?S({}).then(t=>{d.value=t.delivery_status}):B({}).then(t=>{d.value=t.delivery_status})},g=t=>{const r=d.value.find(c=>c.value===t);return r?r.title:"\u72B6\u6001\u672A\u77E5"},s=p({}),m=()=>{l.value=="shangpu"?x({record_id:a.record_id}).then(t=>{s.value=t}):l.value=="agent"?C({record_id:a.record_id}).then(t=>{s.value=t}):F({record_id:a.record_id}).then(t=>{s.value=t})};return D(()=>a.record_id,t=>{f(),m()}),(t,r)=>{const c=I("el-dialog");return _(),O(c,{title:"\u5206\u62E3\u8BE6\u60C5",width:"1000"},{default:b(()=>{var u;return[e("div",N,[e("div",P,[e("div",V,[e("div",M,o(s.value.code),1),R]),e("div",q,[e("div",G,o(s.value.create_time),1),H]),e("div",J,[e("div",K,"\uFFE5"+o(s.value.price),1),Q]),e("div",T,[e("div",U,o(g(s.value.status)),1),W])]),e("div",X,[(_(!0),h(z,null,k((u=s.value)==null?void 0:u.data,(v,se)=>(_(),h("div",Y,[e("div",Z,o(v.title),1),e("div",$,o(v.value),1)]))),256))])])]}),_:1})}}});const de=L(ee,[["__scopeId","data-v-7e915de2"]]);export{de as default};
