import{P as N}from"./index.7acb2098.js";import{$ as C,a0 as P,x as T,y as B,o as R}from"./element-plus.6b125791.js";import{_}from"./myTable.vue_vue_type_script_setup_true_name_manageProjectLists_lang.0f5682a0.js";import{r as u,o as s,P as l,Q as e,a as D,W as t,U as i,V as m,T as c}from"./@vue.340249d8.js";import"./index.8eb121a3.js";import"./@vueuse.e3650918.js";import"./lodash.ab1d8f92.js";import"./axios.ebd1d4d0.js";import"./vue-router.9ddb0e92.js";import"./pinia.97fe9b12.js";import"./css-color-function.7a4c1284.js";import"./color.10b8b3bd.js";import"./clone.623e4e2d.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./@element-plus.558a564d.js";import"./nprogress.518a19eb.js";import"./vue-clipboard3.c098b37d.js";import"./clipboard.a67a48a7.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.js";import"./lodash-es.edba6135.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.6b964ca4.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./index.vue_vue_type_script_setup_true_lang.305bb481.js";import"./usePaging.fff444fa.js";import"./store_order.b0c28662.js";const F={class:"flex"},xe={__name:"detail",emits:["close"],setup(U,{expose:v,emit:y}){const f=u(null),h=y,b=()=>{var p;(p=f.value)==null||p.open()},x=()=>{h("close")},o=u({}),a=u("3");return v({open:b,setForm:p=>{o.value=p}}),(p,d)=>{const V=R,r=C,w=P,n=T,k=B,g=N;return s(),l(g,{ref_key:"popupRef",ref:f,title:"\u5E97\u5458\u8BE6\u60C5",async:!0,width:"50vw",onClose:x,"show-footer":!1},{default:e(()=>[D("div",F,[t(V,{shape:"circle",size:70,src:o.value.avatar},null,8,["src"]),t(w,{class:"w-[100%] ml-4"},{default:e(()=>[t(r,{span:24},{default:e(()=>[i(m(o.value.staff_name),1)]),_:1}),t(r,{span:7},{default:e(()=>[i("\u6536\u94F6\u8BA2\u5355\uFF1A\uFFE5"+m(o.value.cashier_order),1)]),_:1}),t(r,{span:7},{default:e(()=>[i("\u6838\u9500\u8BA2\u5355\uFF1A\uFFE5"+m(o.value.verify_order),1)]),_:1}),t(r,{span:7},{default:e(()=>[i("\u914D\u9001\u8BA2\u5355\uFF1A\uFFE5"+m(o.value.delivery_order),1)]),_:1})]),_:1})]),t(k,{"tab-position":"left",modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=E=>a.value=E),style:{height:"200px"},class:"demo-tabs mt-8"},{default:e(()=>[t(n,{label:"\u6536\u94F6\u8BA2\u5355",name:"3"},{default:e(()=>[a.value=="3"?(s(),l(_,{key:0,shipping_type:3,staff_id:o.value.id},null,8,["staff_id"])):c("",!0)]),_:1}),t(n,{label:"\u914D\u9001\u8BA2\u5355",name:"1"},{default:e(()=>[a.value=="1"?(s(),l(_,{key:0,shipping_type:1,staff_id:o.value.id},null,8,["staff_id"])):c("",!0)]),_:1}),t(n,{label:"\u6838\u9500\u8BA2\u5355",name:"2"},{default:e(()=>[a.value=="2"?(s(),l(_,{key:0,shipping_type:2,staff_id:o.value.id},null,8,["staff_id"])):c("",!0)]),_:1})]),_:1},8,["modelValue"])]),_:1},512)}}};export{xe as default};