1 |
- import{d as X,r,o as l,c as s,f as a,A as y,B as u,E as $,a as t,_ as tt,a_ as at,k as et,C as rt,a1 as B,a2 as c,F as lt,aF as _t,a9 as ot,aa as st,aZ as it,Y as ct,__tla as mt}from"./index-a9d538d5.js";import{_ as nt,__tla as ut}from"./ContentWrap.vue_vue_type_script_setup_true_lang-6b7b4656.js";import{_ as dt,__tla as ft}from"./SPuUploadImg-40b4a494.js";import pt,{__tla as yt}from"./OrderBaseInfo-d4c8b67f.js";import ht,{__tla as vt}from"./OrderProduct-6c9a8b4b.js";import kt,{__tla as bt}from"./OrderComment-bf80345a.js";import gt,{__tla as Rt}from"./OrderService-90439530.js";import{A as Vt,__tla as xt}from"./AfterSale-dbddf774.js";import St,{__tla as Ft}from"./OrderLogistics-b0f2f4ff.js";import wt,{__tla as It}from"./orderPay-61fc6ba7.js";import Ut,{__tla as At}from"./OrderLogs-8efcb6a4.js";import Ct,{__tla as zt}from"./OrderDeliveryForm-fb4aa2d2.js";import Ot,{__tla as Pt}from"./OrderUpdateRemarkForm-a000a94d.js";import{_ as Zt,__tla as Bt}from"./OrderUpdateAddressForm.vue_vue_type_script_setup_true_lang-86d7c521.js";import{_ as Dt}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Et}from"./el-card-0ea446a3.js";import{__tla as Yt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-7f19656e.js";import{__tla as jt}from"./index-ab25a150.js";import{__tla as qt}from"./el-image-viewer-2e77a3e7.js";import{__tla as Gt}from"./useMessage-d5cbbfad.js";import{__tla as Ht}from"./index-6451d5a2.js";import{__tla as Jt}from"./formatTime-8985a9d0.js";import{__tla as Kt}from"./dict-0e53af99.js";import{__tla as Lt}from"./el-descriptions-item-fc5f9080.js";import{__tla as Mt}from"./DictTag.vue_vue_type_script_lang-9e4dd0a0.js";import"./color-6e929987.js";import{__tla as Nt}from"./el-image-2dadd73e.js";import{__tla as Qt}from"./index.vue_vue_type_script_setup_true_lang-ca67dc77.js";import{__tla as Tt}from"./index-95ad39b3.js";import{__tla as Wt}from"./index-95f2e02a.js";import{__tla as Xt}from"./el-timeline-item-f8774d6b.js";import{__tla as $t}from"./index-ad8df48e.js";import{__tla as ta}from"./Dialog-f354f369.js";import{__tla as aa}from"./el-tree-select-ca2609f2.js";import{__tla as ea}from"./index-d4926972.js";import"./tree-fd3a041e.js";let D,ra=Promise.all([(()=>{try{return mt}catch{}})(),(()=>{try{return ut}catch{}})(),(()=>{try{return ft}catch{}})(),(()=>{try{return yt}catch{}})(),(()=>{try{return vt}catch{}})(),(()=>{try{return bt}catch{}})(),(()=>{try{return Rt}catch{}})(),(()=>{try{return xt}catch{}})(),(()=>{try{return Ft}catch{}})(),(()=>{try{return It}catch{}})(),(()=>{try{return At}catch{}})(),(()=>{try{return zt}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return Bt}catch{}})(),(()=>{try{return Et}catch{}})(),(()=>{try{return Yt}catch{}})(),(()=>{try{return jt}catch{}})(),(()=>{try{return qt}catch{}})(),(()=>{try{return Gt}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 Qt}catch{}})(),(()=>{try{return Tt}catch{}})(),(()=>{try{return Wt}catch{}})(),(()=>{try{return Xt}catch{}})(),(()=>{try{return $t}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return ea}catch{}})()]).then(async()=>{let b,g,R,V,x,S,F,w,I,U,A,C,z,O;b={class:"my-header"},g={class:"my-header-left"},R={class:"my-header-right"},V=["onClick"],x={class:"left",style:{position:"relative",overflow:"hidden"}},S={class:"right"},F={key:0},w={key:1},I={key:2},U={key:3},A={key:4},C={key:5},z={key:6},O={key:7},D=Dt(X({name:"ProductSpuForm",__name:"OrderIndex",emits:["success"],setup(la,{expose:E,emit:Y}){const d=r(!1),j=()=>{d.value=!d.value},q=r(!1),e=r("info"),m=r(!1),f=r(!1),h=r(""),_=r(0),v=r({});E({open:async(p,o,k)=>{_.value=o.id,v.value=o,h.value="\u67E5\u770B-"+k,e.value="info",m.value=p=="view",f.value=!0,d.value=!1}});const P=r(),G=()=>{var p;(p=P.value)==null||p.getDetail()},H=r(),J=r(),K=r(),L=Y,Z=()=>{L("success",!0),f.value=!1};return(p,o)=>{const k=_t,M=dt,i=ot,N=st,Q=nt,T=it,W=ct;return l(),s(lt,null,[a(T,{modelValue:t(f),"onUpdate:modelValue":o[2]||(o[2]=n=>B(f)?f.value=n:null),title:t(h),fullscreen:t(d),"show-close":!1,width:"70%",draggable:"",class:"dialog","destroy-on-close":""},{header:y(({close:n})=>[u("div",b,[u("div",g,$(t(h)),1),u("div",R,[u("span",{onClick:j},[a(t(tt),{icon:t(d)?"zmdi:fullscreen-exit":"zmdi:fullscreen"},null,8,["icon"])]),u("span",{onClick:n},[a(k,null,{default:y(()=>[a(t(at))]),_:1})],8,V)])])]),default:y(()=>[et((l(),rt(Q,{style:{"max-height":"560px","min-height":"560px","overflow-y":"auto"}},{default:y(()=>[u("div",x,[a(M,{modelValue:t(v).items[0].picUrl,"onUpdate:modelValue":o[0]||(o[0]=n=>t(v).items[0].picUrl=n),disabled:!0},null,8,["modelValue"]),a(N,{modelValue:t(e),"onUpdate:modelValue":o[1]||(o[1]=n=>B(e)?e.value=n: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",S,[t(e)=="info"?(l(),s("div",F,[a(pt,{ref_key:"baseInfoRef",ref:P,"is-detail":!1,id:t(_)},null,8,["id"])])):c("",!0),t(e)=="product"?(l(),s("div",w,[a(ht,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="comment"?(l(),s("div",I,[a(kt,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="service"?(l(),s("div",U,[a(gt,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="afterSale"?(l(),s("div",A,[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(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="pay"?(l(),s("div",z,[a(wt,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="logs"?(l(),s("div",O,[a(Ut,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0)])]),_:1})),[[W,t(q)]])]),_:1},8,["modelValue","title","fullscreen"]),a(Ct,{ref_key:"deliveryFormRef",ref:H,onSuccess:Z},null,512),a(Ot,{ref_key:"updateRemarkForm",ref:J,onSuccess:G},null,512),a(Zt,{ref_key:"updateAddressFormRef",ref:K,onSuccess:Z},null,512)],64)}}}),[["__scopeId","data-v-453082a9"]])});export{ra as __tla,D as default};
|