OrderIndex-363581aa.js 6.4 KB

1
  1. import{d as Z,r,o as l,c as s,f as a,w as y,g as u,t as $,a as t,_ as tt,aJ as at,v as et,q as rt,N as D,O as c,F as lt,aL as _t,V as ot,W as st,aM as it,H as ct,__tla as mt}from"./index-73e02845.js";import{_ as nt,__tla as ut}from"./ContentWrap.vue_vue_type_script_setup_true_lang-589371a6.js";import{_ as dt,__tla as ft}from"./SPuUploadImg-48e3f49f.js";import pt,{__tla as yt}from"./OrderBaseInfo-50a2e3c1.js";import ht,{__tla as vt}from"./OrderProduct-da8f5626.js";import kt,{__tla as bt}from"./OrderComment-e1d259ea.js";import gt,{__tla as Rt}from"./OrderService-6c77f7e2.js";import{A as Vt,__tla as xt}from"./AfterSale-f843bc25.js";import St,{__tla as wt}from"./OrderLogistics-d4212783.js";import Ft,{__tla as It}from"./orderPay-e0457225.js";import Ut,{__tla as Ct}from"./OrderLogs-9a4d6c50.js";import Ot,{__tla as zt}from"./OrderDeliveryForm-4188a9cc.js";import At,{__tla as Pt}from"./OrderUpdateRemarkForm-d5f1ca27.js";import{_ as qt,__tla as Dt}from"./OrderUpdateAddressForm.vue_vue_type_script_setup_true_lang-1cb8fbbc.js";import{_ as Ht}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Jt}from"./el-card-ada74e7d.js";import{__tla as Lt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-f7f68f03.js";import{__tla as Mt}from"./index-c6e30cdd.js";import{__tla as Nt}from"./el-image-viewer-a6b3dac3.js";import{__tla as Qt}from"./useMessage-1490ad82.js";import{__tla as Wt}from"./index-cd8f4967.js";import{__tla as jt}from"./formatTime-5f7a2be1.js";import{__tla as Bt}from"./dict-0fdd6c74.js";import{__tla as Et}from"./el-descriptions-item-fc6bc3ea.js";import{__tla as Gt}from"./DictTag.vue_vue_type_script_lang-af2c8b0f.js";import"./color-6e929987.js";import{__tla as Kt}from"./el-image-6a280602.js";import{__tla as Tt}from"./index.vue_vue_type_script_setup_true_lang-2534a34f.js";import{__tla as Xt}from"./index-c1a24aa4.js";import{__tla as Yt}from"./index-3ebb11c3.js";import{__tla as Zt}from"./el-timeline-item-f8a2980d.js";import{__tla as $t}from"./index-f590e4e9.js";import{__tla as ta}from"./Dialog-1f04d1b7.js";import{__tla as aa}from"./el-tree-select-a05a2d94.js";import{__tla as ea}from"./index-ab952ec2.js";import"./tree-fd3a041e.js";let H,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 wt}catch{}})(),(()=>{try{return It}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return zt}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return Dt}catch{}})(),(()=>{try{return Jt}catch{}})(),(()=>{try{return Lt}catch{}})(),(()=>{try{return Mt}catch{}})(),(()=>{try{return Nt}catch{}})(),(()=>{try{return Qt}catch{}})(),(()=>{try{return Wt}catch{}})(),(()=>{try{return jt}catch{}})(),(()=>{try{return Bt}catch{}})(),(()=>{try{return Et}catch{}})(),(()=>{try{return Gt}catch{}})(),(()=>{try{return Kt}catch{}})(),(()=>{try{return Tt}catch{}})(),(()=>{try{return Xt}catch{}})(),(()=>{try{return Yt}catch{}})(),(()=>{try{return Zt}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,w,F,I,U,C,O,z,A;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"},w={key:0},F={key:1},I={key:2},U={key:3},C={key:4},O={key:5},z={key:6},A={key:7},H=Ht(Z({name:"ProductSpuForm",__name:"OrderIndex",emits:["success"],setup(la,{expose:J,emit:L}){const d=r(!1),M=()=>{d.value=!d.value},N=r(!1),e=r("info"),m=r(!1),f=r(!1),h=r(""),_=r(0),v=r({});J({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()},W=r(),j=r(),B=r(),E=L,q=()=>{E("success",!0),f.value=!1};return(p,o)=>{const k=_t,G=dt,i=ot,K=st,T=nt,X=it,Y=ct;return l(),s(lt,null,[a(X,{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:M},[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(T,{style:{"max-height":"560px","min-height":"560px","overflow-y":"auto"}},{default:y(()=>[u("div",x,[a(G,{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(K,{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",w,[a(pt,{ref_key:"baseInfoRef",ref:P,"is-detail":!1,id:t(_)},null,8,["id"])])):c("",!0),t(e)=="product"?(l(),s("div",F,[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",O,[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(Ft,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="logs"?(l(),s("div",A,[a(Ut,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0)])]),_:1})),[[Y,t(N)]])]),_:1},8,["modelValue","title","fullscreen"]),a(Ot,{ref_key:"deliveryFormRef",ref:W,onSuccess:q},null,512),a(At,{ref_key:"updateRemarkForm",ref:j,onSuccess:Q},null,512),a(qt,{ref_key:"updateAddressFormRef",ref:B,onSuccess:q},null,512)],64)}}}),[["__scopeId","data-v-453082a9"]])});export{ra as __tla,H as default};