1 |
- import{d as X,r,o as l,c as s,f as a,B as y,C as u,G as Y,a as t,_ as tt,b0 as at,k as et,A as rt,a2 as $,D as c,F as lt,aF as _t,a9 as ot,aa as st,a$ as it,Z as ct,__tla as mt}from"./index-e8bff8cb.js";import{_ as nt,__tla as ut}from"./ContentWrap.vue_vue_type_script_setup_true_lang-33dea697.js";import{_ as dt,__tla as ft}from"./SPuUploadImg-792a299f.js";import pt,{__tla as yt}from"./OrderBaseInfo-028fc8d4.js";import ht,{__tla as vt}from"./OrderProduct-0584792c.js";import kt,{__tla as bt}from"./OrderComment-1acc8e01.js";import gt,{__tla as Rt}from"./OrderService-4fe557ad.js";import{A as Vt,__tla as xt}from"./AfterSale-ca4a39ce.js";import St,{__tla as Ft}from"./OrderLogistics-b150e884.js";import wt,{__tla as It}from"./orderPay-89f2a1e8.js";import Ut,{__tla as Ct}from"./OrderLogs-f58bb2be.js";import At,{__tla as Dt}from"./OrderDeliveryForm-ff48efbc.js";import zt,{__tla as Ot}from"./OrderUpdateRemarkForm-2d292e26.js";import{_ as Pt,__tla as $t}from"./OrderUpdateAddressForm.vue_vue_type_script_setup_true_lang-5579f57c.js";import{_ as Bt}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Gt}from"./el-card-f9558d99.js";import{__tla as Zt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-1394f284.js";import{__tla as jt}from"./index-32ca9885.js";import{__tla as qt}from"./el-image-viewer-aab7739e.js";import{__tla as Et}from"./useMessage-de42a595.js";import{__tla as Ht}from"./index-5d2c0183.js";import{__tla as Jt}from"./formatTime-4fdd5566.js";import{__tla as Kt}from"./dict-4a54e490.js";import{__tla as Lt}from"./el-descriptions-item-d429ad13.js";import{__tla as Mt}from"./DictTag.vue_vue_type_script_lang-23f1740b.js";import"./color-6e929987.js";import{__tla as Nt}from"./el-image-7cacfc0f.js";import{__tla as Qt}from"./index.vue_vue_type_script_setup_true_lang-75f84d87.js";import{__tla as Tt}from"./index-35928fe5.js";import{__tla as Wt}from"./index-dc2d6a93.js";import{__tla as Xt}from"./el-timeline-item-06d19d31.js";import{__tla as Yt}from"./index-60b1aeef.js";import{__tla as ta}from"./Dialog-4d17ac25.js";import{__tla as aa}from"./el-tree-select-d9ced475.js";import{__tla as ea}from"./index-4bde5d87.js";import"./tree-0af4953a.js";let B,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 Ct}catch{}})(),(()=>{try{return Dt}catch{}})(),(()=>{try{return Ot}catch{}})(),(()=>{try{return $t}catch{}})(),(()=>{try{return Gt}catch{}})(),(()=>{try{return Zt}catch{}})(),(()=>{try{return jt}catch{}})(),(()=>{try{return qt}catch{}})(),(()=>{try{return Et}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 Yt}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,C,A,D,z;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},C={key:4},A={key:5},D={key:6},z={key:7},B=Bt(X({name:"ProductSpuForm",__name:"OrderIndex",emits:["success"],setup(la,{expose:G,emit:Z}){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({});G({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 O=r(),E=()=>{var p;(p=O.value)==null||p.getDetail()},H=r(),J=r(),K=r(),L=Z,P=()=>{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=>$(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,Y(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=>$(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:O,"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",C,[a(Vt,{orderId:t(_),openSource:"Order"},null,8,["orderId"])])):c("",!0),t(e)=="logistics"?(l(),s("div",A,[a(St,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="pay"?(l(),s("div",D,[a(wt,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="logs"?(l(),s("div",z,[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(At,{ref_key:"deliveryFormRef",ref:H,onSuccess:P},null,512),a(zt,{ref_key:"updateRemarkForm",ref:J,onSuccess:E},null,512),a(Pt,{ref_key:"updateAddressFormRef",ref:K,onSuccess:P},null,512)],64)}}}),[["__scopeId","data-v-453082a9"]])});export{ra as __tla,B as default};
|