multiStoreAdmin/dist/store/assets/detail.91c3d960.js

2 lines
3.0 KiB
JavaScript

import{P as N}from"./index.82dd7095.js";import{_ as C,$ as T,x as B,y as P,o as R}from"./element-plus.0a93cab1.js";import{_}from"./myTable.vue_vue_type_script_setup_true_name_manageProjectLists_lang.a09d3134.js";import{r as u,o as s,M as l,O as e,a as D,W as t,T as i,U as m,S as c}from"./@vue.c3e77981.js";import"./index.31294648.js";import"./@vueuse.a48d0173.js";import"./lodash.a2abcd4b.js";import"./axios.a8078129.js";import"./vue-router.43c06794.js";import"./pinia.b5130627.js";import"./css-color-function.975e80a5.js";import"./color.d986aa86.js";import"./clone.704d8332.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.12c58ce2.js";import"./nprogress.ded7f805.js";import"./vue-clipboard3.987889a8.js";import"./clipboard.af74a91f.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b8b719e9.js";import"./lodash-es.2b5acb28.js";import"./dayjs.16ed1fda.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.vue_vue_type_script_setup_true_lang.3863431c.js";import"./usePaging.d25ebf19.js";import"./store_order.bd890e57.js";const F={class:"flex"},be={__name:"detail",emits:["close"],setup(S,{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 w=R,r=C,V=T,n=B,k=P,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(w,{shape:"circle",size:70,src:o.value.avatar},null,8,["src"]),t(V,{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{be as default};