1 |
- import{d as W,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 D,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-1f518666.js";import{_ as nt,__tla as ut}from"./ContentWrap.vue_vue_type_script_setup_true_lang-a4de6de9.js";import{_ as dt,__tla as ft}from"./SPuUploadImg-41da98e4.js";import pt,{__tla as yt}from"./OrderBaseInfo-1007bcc6.js";import ht,{__tla as vt}from"./OrderProduct-8bd32e4c.js";import kt,{__tla as bt}from"./OrderComment-76d79f28.js";import gt,{__tla as Rt}from"./OrderService-d8096e85.js";import{A as Vt,__tla as xt}from"./AfterSale-91d87e93.js";import St,{__tla as Ft}from"./OrderLogistics-33451e6a.js";import wt,{__tla as It}from"./orderPay-82e840ba.js";import Ut,{__tla as At}from"./OrderLogs-87f964e5.js";import Ct,{__tla as zt}from"./OrderDeliveryForm-6bb3858b.js";import Ot,{__tla as Pt}from"./OrderUpdateRemarkForm-098e4332.js";import{_ as Bt,__tla as Dt}from"./OrderUpdateAddressForm.vue_vue_type_script_setup_true_lang-7efb4d63.js";import{_ as Et}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Xt}from"./el-card-955661ed.js";import{__tla as Yt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-f02ca529.js";import{__tla as Zt}from"./index-32463859.js";import{__tla as jt}from"./el-image-viewer-91778fd6.js";import{__tla as qt}from"./useMessage-633c11d2.js";import{__tla as Gt}from"./index-0df6bae7.js";import{__tla as Ht}from"./formatTime-a4909bb5.js";import{__tla as Jt}from"./dict-167d9193.js";import{__tla as Kt}from"./el-descriptions-item-9cf2d6d9.js";import{__tla as Lt}from"./DictTag.vue_vue_type_script_lang-8a012661.js";import"./color-6e929987.js";import{__tla as Mt}from"./el-image-1ae80d1a.js";import{__tla as Nt}from"./index.vue_vue_type_script_setup_true_lang-cf2a6735.js";import{__tla as Qt}from"./index-a37b14c7.js";import{__tla as Tt}from"./index-eb0421d0.js";import{__tla as Wt}from"./el-timeline-item-11f6201f.js";import{__tla as $t}from"./index-8a568eeb.js";import{__tla as ta}from"./Dialog-4c960d8c.js";import{__tla as aa}from"./el-tree-select-fc145135.js";import{__tla as ea}from"./index-76c5f5c4.js";import"./tree-0af4953a.js";let E,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 Dt}catch{}})(),(()=>{try{return Xt}catch{}})(),(()=>{try{return Yt}catch{}})(),(()=>{try{return Zt}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 $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},E=Et(W({name:"ProductSpuForm",__name:"OrderIndex",emits:["success"],setup(la,{expose:X,emit:Y}){const d=r(!1),Z=()=>{d.value=!d.value},j=r(!1),e=r("info"),m=r(!1),f=r(!1),h=r(""),_=r(0),v=r({});X({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(),q=()=>{var p;(p=P.value)==null||p.getDetail()},G=r(),H=r(),J=r(),K=Y,B=()=>{K("success",!0),f.value=!1};return(p,o)=>{const k=_t,L=dt,i=ot,M=st,N=nt,Q=it,T=ct;return l(),s(lt,null,[a(Q,{modelValue:t(f),"onUpdate:modelValue":o[2]||(o[2]=n=>D(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:Z},[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(N,{style:{"max-height":"560px","min-height":"560px","overflow-y":"auto"}},{default:y(()=>[u("div",x,[a(L,{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(M,{modelValue:t(e),"onUpdate:modelValue":o[1]||(o[1]=n=>D(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})),[[T,t(j)]])]),_:1},8,["modelValue","title","fullscreen"]),a(Ct,{ref_key:"deliveryFormRef",ref:G,onSuccess:B},null,512),a(Ot,{ref_key:"updateRemarkForm",ref:H,onSuccess:q},null,512),a(Bt,{ref_key:"updateAddressFormRef",ref:J,onSuccess:B},null,512)],64)}}}),[["__scopeId","data-v-453082a9"]])});export{ra as __tla,E as default};
|