1 |
- import{d as X,r,o as l,c as s,f as a,A as y,B as u,E as Y,a as t,Q as tt,a$ as at,k as et,C as rt,a2 as B,a3 as c,F as lt,aG as _t,aa as ot,ab as st,a_ as it,Z as ct,_ as nt,__tla as mt}from"./index-f6fb8e95.js";import{_ as ut,__tla as dt}from"./ContentWrap-96bb70ec.js";import{_ as ft,__tla as pt}from"./SPuUploadImg-95101882.js";import yt,{__tla as ht}from"./OrderBaseInfo-981b98a7.js";import vt,{__tla as kt}from"./OrderProduct-0341fb86.js";import bt,{__tla as gt}from"./OrderComment-ac17d63d.js";import xt,{__tla as Rt}from"./OrderService-eac9b7c6.js";import{A as Vt,__tla as wt}from"./AfterSale-bb603685.js";import St,{__tla as It}from"./OrderLogistics-1e111dda.js";import Ft,{__tla as Ut}from"./orderPay-22e0945b.js";import zt,{__tla as Ct}from"./OrderLogs-42ed4c92.js";import At,{__tla as Ot}from"./OrderDeliveryForm-7307036b.js";import Dt,{__tla as Pt}from"./OrderUpdateRemarkForm-0cf39f14.js";import Bt,{__tla as Et}from"./OrderUpdateAddressForm-7982d449.js";import{__tla as Gt}from"./el-card-8db16709.js";import{__tla as Qt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-8b438c45.js";import{__tla as Wt}from"./index-b76b57e5.js";import{__tla as Zt}from"./el-image-viewer-cfdb08a7.js";import{__tla as $t}from"./useMessage-3b767a67.js";import{__tla as jt}from"./index-fb236505.js";import{__tla as qt}from"./formatTime-ddd96ac8.js";import{__tla as Ht}from"./dict-c9a7f6a4.js";import{__tla as Jt}from"./el-descriptions-item-60dd5c8e.js";import{__tla as Kt}from"./DictTag-81730a57.js";import"./color-6e929987.js";import{__tla as Lt}from"./el-image-fefb4b54.js";import{__tla as Mt}from"./index-58a94653.js";import{__tla as Nt}from"./index-07a2f7ed.js";import{__tla as Tt}from"./index-74af911b.js";import{__tla as Xt}from"./el-timeline-item-4391c2d1.js";import{__tla as Yt}from"./index-8dc2d023.js";import{__tla as ta}from"./Dialog-ac2b0e4e.js";import{__tla as aa}from"./el-tree-select-25b2ed74.js";import{__tla as ea}from"./index-690faa88.js";import"./tree-0af4953a.js";let E,ra=Promise.all([(()=>{try{return mt}catch{}})(),(()=>{try{return dt}catch{}})(),(()=>{try{return pt}catch{}})(),(()=>{try{return ht}catch{}})(),(()=>{try{return kt}catch{}})(),(()=>{try{return gt}catch{}})(),(()=>{try{return Rt}catch{}})(),(()=>{try{return wt}catch{}})(),(()=>{try{return It}catch{}})(),(()=>{try{return Ut}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return Ot}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return Et}catch{}})(),(()=>{try{return Gt}catch{}})(),(()=>{try{return Qt}catch{}})(),(()=>{try{return Wt}catch{}})(),(()=>{try{return Zt}catch{}})(),(()=>{try{return $t}catch{}})(),(()=>{try{return jt}catch{}})(),(()=>{try{return qt}catch{}})(),(()=>{try{return Ht}catch{}})(),(()=>{try{return Jt}catch{}})(),(()=>{try{return Kt}catch{}})(),(()=>{try{return Lt}catch{}})(),(()=>{try{return Mt}catch{}})(),(()=>{try{return Nt}catch{}})(),(()=>{try{return Tt}catch{}})(),(()=>{try{return Xt}catch{}})(),(()=>{try{return Yt}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return ea}catch{}})()]).then(async()=>{let b,g,x,R,V,w,S,I,F,U,z,C,A,O;b={class:"my-header"},g={class:"my-header-left"},x={class:"my-header-right"},R=["onClick"],V={class:"left",style:{position:"relative",overflow:"hidden"}},w={class:"right"},S={key:0},I={key:1},F={key:2},U={key:3},z={key:4},C={key:5},A={key:6},O={key:7},E=nt(X({name:"ProductSpuForm",__name:"OrderIndex",emits:["success"],setup(la,{expose:G,emit:Q}){const d=r(!1),W=()=>{d.value=!d.value},Z=r(!1),e=r("info"),n=r(!1),f=r(!1),h=r(""),_=r(0),v=r({});G({open:async(p,o,k)=>{_.value=o.id,v.value=o,h.value="\u67E5\u770B-"+k,e.value="info",n.value=p=="view",f.value=!0,d.value=!1}});const D=r(),$=()=>{var p;(p=D.value)==null||p.getDetail()},j=r(),q=r(),H=r(),J=Q,P=()=>{J("success",!0),f.value=!1};return(p,o)=>{const k=_t,K=ft,i=ot,L=st,M=ut,N=it,T=ct;return l(),s(lt,null,[a(N,{modelValue:t(f),"onUpdate:modelValue":o[2]||(o[2]=m=>B(f)?f.value=m:null),title:t(h),fullscreen:t(d),"show-close":!1,width:"70%",draggable:"",class:"dialog","destroy-on-close":""},{header:y(({close:m})=>[u("div",b,[u("div",g,Y(t(h)),1),u("div",x,[u("span",{onClick:W},[a(t(tt),{icon:t(d)?"zmdi:fullscreen-exit":"zmdi:fullscreen"},null,8,["icon"])]),u("span",{onClick:m},[a(k,null,{default:y(()=>[a(t(at))]),_:1})],8,R)])])]),default:y(()=>[et((l(),rt(M,{style:{"max-height":"560px","min-height":"560px","overflow-y":"auto"}},{default:y(()=>[u("div",V,[a(K,{modelValue:t(v).items[0].picUrl,"onUpdate:modelValue":o[0]||(o[0]=m=>t(v).items[0].picUrl=m),disabled:!0},null,8,["modelValue"]),a(L,{modelValue:t(e),"onUpdate:modelValue":o[1]||(o[1]=m=>B(e)?e.value=m:null),"tab-position":"left",class:"child-tabs"},{default:y(()=>[a(i,{label:"\u57FA\u672C\u4FE1\u606F",name:"info"}),a(i,{label:"\u5546\u54C1",name:"product"}),a(i,{label:"\u8BC4\u4EF7",name:"comment"}),a(i,{label:"\u5BA2\u670D",name:"service"}),a(i,{label:"\u552E\u540E",name:"afterSale"}),a(i,{label:"\u7269\u6D41",name:"logistics"}),a(i,{label:"\u652F\u4ED8",name:"pay"}),a(i,{label:"\u65E5\u5FD7",name:"logs"})]),_:1},8,["modelValue"])]),u("div",w,[t(e)=="info"?(l(),s("div",S,[a(yt,{ref_key:"baseInfoRef",ref:D,"is-detail":!1,id:t(_)},null,8,["id"])])):c("",!0),t(e)=="product"?(l(),s("div",I,[a(vt,{ref:"infoRef","is-detail":t(n),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="comment"?(l(),s("div",F,[a(bt,{ref:"infoRef","is-detail":t(n),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="service"?(l(),s("div",U,[a(xt,{ref:"infoRef","is-detail":t(n),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="afterSale"?(l(),s("div",z,[a(Vt,{orderId:t(_),openSource:"Order"},null,8,["orderId"])])):c("",!0),t(e)=="logistics"?(l(),s("div",C,[a(St,{ref:"infoRef","is-detail":t(n),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="pay"?(l(),s("div",A,[a(Ft,{ref:"infoRef","is-detail":t(n),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="logs"?(l(),s("div",O,[a(zt,{ref:"infoRef","is-detail":t(n),id:t(_)},null,8,["is-detail","id"])])):c("",!0)])]),_:1})),[[T,t(Z)]])]),_:1},8,["modelValue","title","fullscreen"]),a(At,{ref_key:"deliveryFormRef",ref:j,onSuccess:P},null,512),a(Dt,{ref_key:"updateRemarkForm",ref:q,onSuccess:$},null,512),a(Bt,{ref_key:"updateAddressFormRef",ref:H,onSuccess:P},null,512)],64)}}}),[["__scopeId","data-v-0472ef77"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/mall/trade/order/components/OrderIndex.vue"]])});export{ra as __tla,E as default};
|