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,j as tt,aK as at,x as et,v as rt,O as j,P as c,F as lt,aM as _t,W as ot,X as st,aN as it,I as ct,_ as mt,__tla as nt}from"./index-6d7b82ba.js";import{_ as ut,__tla as dt}from"./ContentWrap-1ba5c8ca.js";import{_ as ft,__tla as pt}from"./SPuUploadImg-3b4ba08d.js";import yt,{__tla as ht}from"./OrderBaseInfo-345fb95a.js";import vt,{__tla as kt}from"./OrderProduct-71517108.js";import bt,{__tla as gt}from"./OrderComment-b4028e02.js";import xt,{__tla as Rt}from"./OrderService-e131d256.js";import{A as Vt,__tla as wt}from"./AfterSale-2cc5199e.js";import It,{__tla as St}from"./OrderLogistics-8dd9ea09.js";import Ft,{__tla as Ut}from"./orderPay-fe6d4003.js";import zt,{__tla as Ot}from"./OrderLogs-c99bd582.js";import Ct,{__tla as Pt}from"./OrderDeliveryForm-fbb16216.js";import At,{__tla as Dt}from"./OrderUpdateRemarkForm-0226b445.js";import jt,{__tla as Ht}from"./OrderUpdateAddressForm-edaf4a4a.js";import{__tla as Kt}from"./ContentWrap.vue_vue_type_script_setup_true_lang-68bb15fa.js";import{__tla as Mt}from"./el-card-1a4b93b1.js";import{__tla as Nt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-b2231227.js";import{__tla as Wt}from"./index-8e19be94.js";import{__tla as Xt}from"./el-image-viewer-4a19ded4.js";import{__tla as qt}from"./useMessage-be161634.js";import{__tla as Bt}from"./index-c52f3d88.js";import{__tla as Et}from"./formatTime-d24faf41.js";import{__tla as Gt}from"./dict-efb5f3b6.js";import{__tla as Jt}from"./el-descriptions-item-a49b1792.js";import{__tla as Lt}from"./DictTag-300da1c0.js";import"./color-6e929987.js";import{__tla as Qt}from"./el-image-afb9e567.js";import{__tla as Tt}from"./index-a786614b.js";import{__tla as Yt}from"./index-e37504b6.js";import{__tla as Zt}from"./index-abce4807.js";import{__tla as $t}from"./el-timeline-item-cf907363.js";import{__tla as ta}from"./index-de7bf986.js";import{__tla as aa}from"./Dialog-78181bae.js";import{__tla as ea}from"./el-tree-select-23e10a37.js";import{__tla as ra}from"./index-427493d7.js";import"./tree-0af4953a.js";let H,la=Promise.all([(()=>{try{return nt}catch{}})(),(()=>{try{return dt}catch{}})(),(()=>{try{return pt}catch{}})(),(()=>{try{return ht}catch{}})(),(()=>{try{return kt}catch{}})(),(()=>{try{return gt}catch{}})(),(()=>{try{return Rt}catch{}})(),(()=>{try{return wt}catch{}})(),(()=>{try{return St}catch{}})(),(()=>{try{return Ut}catch{}})(),(()=>{try{return Ot}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return Dt}catch{}})(),(()=>{try{return Ht}catch{}})(),(()=>{try{return Kt}catch{}})(),(()=>{try{return Mt}catch{}})(),(()=>{try{return Nt}catch{}})(),(()=>{try{return Wt}catch{}})(),(()=>{try{return Xt}catch{}})(),(()=>{try{return qt}catch{}})(),(()=>{try{return Bt}catch{}})(),(()=>{try{return Et}catch{}})(),(()=>{try{return Gt}catch{}})(),(()=>{try{return Jt}catch{}})(),(()=>{try{return Lt}catch{}})(),(()=>{try{return Qt}catch{}})(),(()=>{try{return Tt}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{}})(),(()=>{try{return ra}catch{}})()]).then(async()=>{let b,g,x,R,V,w,I,S,F,U,z,O,C,P;b={class:"my-header"},g={class:"my-header-left"},x={class:"my-header-right"},R=["onClick"],V={class:"left",style:{position:"relative",overflow:"hidden"}},w={class:"right"},I={key:0},S={key:1},F={key:2},U={key:3},z={key:4},O={key:5},C={key:6},P={key:7},H=mt(Z({name:"ProductSpuForm",__name:"OrderIndex",emits:["success"],setup(_a,{expose:K,emit:M}){const d=r(!1),N=()=>{d.value=!d.value},W=r(!1),e=r("info"),m=r(!1),f=r(!1),h=r(""),_=r(0),v=r({});K({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 A=r(),X=()=>{var p;(p=A.value)==null||p.getDetail()},q=r(),B=r(),E=r(),G=M,D=()=>{G("success",!0),f.value=!1};return(p,o)=>{const k=_t,J=ft,i=ot,L=st,Q=ut,T=it,Y=ct;return l(),s(lt,null,[a(T,{modelValue:t(f),"onUpdate:modelValue":o[2]||(o[2]=n=>j(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",x,[u("span",{onClick:N},[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,R)])])]),default:y(()=>[et((l(),rt(Q,{style:{"max-height":"560px","min-height":"560px","overflow-y":"auto"}},{default:y(()=>[u("div",V,[a(J,{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(L,{modelValue:t(e),"onUpdate:modelValue":o[1]||(o[1]=n=>j(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",w,[t(e)=="info"?(l(),s("div",I,[a(yt,{ref_key:"baseInfoRef",ref:A,"is-detail":!1,id:t(_)},null,8,["id"])])):c("",!0),t(e)=="product"?(l(),s("div",S,[a(vt,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="comment"?(l(),s("div",F,[a(bt,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="service"?(l(),s("div",U,[a(xt,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="afterSale"?(l(),s("div",z,[a(Vt,{orderId:t(_),openSource:"Order"},null,8,["orderId"])])):c("",!0),t(e)=="logistics"?(l(),s("div",O,[a(It,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="pay"?(l(),s("div",C,[a(Ft,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0),t(e)=="logs"?(l(),s("div",P,[a(zt,{ref:"infoRef","is-detail":t(m),id:t(_)},null,8,["is-detail","id"])])):c("",!0)])]),_:1})),[[Y,t(W)]])]),_:1},8,["modelValue","title","fullscreen"]),a(Ct,{ref_key:"deliveryFormRef",ref:q,onSuccess:D},null,512),a(At,{ref_key:"updateRemarkForm",ref:B,onSuccess:X},null,512),a(jt,{ref_key:"updateAddressFormRef",ref:E,onSuccess:D},null,512)],64)}}}),[["__scopeId","data-v-0472ef77"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/mall/trade/order/components/OrderIndex.vue"]])});export{la as __tla,H as default};
|