OrderIndex-b1cf624c.js 6.4 KB

1
  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-f65577b8.js";import{_ as nt,__tla as ut}from"./ContentWrap.vue_vue_type_script_setup_true_lang-9fbbd655.js";import{_ as dt,__tla as ft}from"./SPuUploadImg-bb83411e.js";import pt,{__tla as yt}from"./OrderBaseInfo-e8a3700a.js";import ht,{__tla as vt}from"./OrderProduct-d6da1d7a.js";import kt,{__tla as bt}from"./OrderComment-a29e32a4.js";import gt,{__tla as Rt}from"./OrderService-0695df98.js";import{A as Vt,__tla as xt}from"./AfterSale-52e4d3b6.js";import St,{__tla as Ft}from"./OrderLogistics-62982c49.js";import wt,{__tla as It}from"./orderPay-211896d4.js";import Ut,{__tla as At}from"./OrderLogs-e916692b.js";import Ct,{__tla as zt}from"./OrderDeliveryForm-12897807.js";import Ot,{__tla as Pt}from"./OrderUpdateRemarkForm-44df5c95.js";import{_ as Zt,__tla as Bt}from"./OrderUpdateAddressForm.vue_vue_type_script_setup_true_lang-5dec583c.js";import{_ as Dt}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Et}from"./el-card-ab53e6aa.js";import{__tla as Yt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-cac578ef.js";import{__tla as jt}from"./index-c1ff7b7a.js";import{__tla as qt}from"./el-image-viewer-7e496319.js";import{__tla as Gt}from"./useMessage-4dbf0ae4.js";import{__tla as Ht}from"./index-be51ff92.js";import{__tla as Jt}from"./formatTime-411ed1a1.js";import{__tla as Kt}from"./dict-fa3ffbd2.js";import{__tla as Lt}from"./el-descriptions-item-3096f9fe.js";import{__tla as Mt}from"./DictTag.vue_vue_type_script_lang-48f8deb5.js";import"./color-6e929987.js";import{__tla as Nt}from"./el-image-6b44629c.js";import{__tla as Qt}from"./index.vue_vue_type_script_setup_true_lang-53598c8e.js";import{__tla as Tt}from"./index-1896261a.js";import{__tla as Wt}from"./index-c8579bc8.js";import{__tla as Xt}from"./el-timeline-item-f70fc29c.js";import{__tla as $t}from"./index-9c50e33f.js";import{__tla as ta}from"./Dialog-bd3317a7.js";import{__tla as aa}from"./el-tree-select-27b84fc4.js";import{__tla as ea}from"./index-1c1aa66e.js";import"./tree-0af4953a.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};