1 |
- import{d as de,r as _,o as r,c,f as a,w as s,g as p,t as ce,a as e,j as me,a_ as ue,x as fe,v as b,O as K,P as o,n as x,F as ye,aU as pe,W as ve,X as he,C as ke,A as ge,D as be,b1 as Re,I as xe,_ as Ee,__tla as De}from"./index-e3afde76.js";import{_ as Ve,__tla as Ce}from"./ContentWrap-5f2f4872.js";import{_ as Se,__tla as Ie}from"./SPuUploadImg-9d6f3265.js";import we,{__tla as Ue}from"./OrderBaseInfo-67e66f49.js";import Oe,{__tla as Pe}from"./OrderProduct-2deed209.js";import Ae,{__tla as Fe}from"./OrderComment-fbbfce08.js";import ze,{__tla as Le}from"./OrderService-9761e187.js";import Ne,{__tla as Te}from"./OrderAfterSale-2e4ef4a9.js";import Xe,{__tla as je}from"./OrderLogistics-479e7c59.js";import Me,{__tla as We}from"./orderPay-f5696228.js";import qe,{__tla as Be}from"./OrderLogs-c781ad31.js";import{D as Q,T as V}from"./constants-40f13f5e.js";import Ge,{__tla as He}from"./OrderDeliveryForm-cf46bf4d.js";import Je,{__tla as Ke}from"./OrderUpdateRemarkForm-7bd8bb40.js";import Qe,{__tla as Ye}from"./OrderUpdateAddressForm-8318c4b6.js";import{__tla as Ze}from"./el-card-6198c22a.js";import{__tla as $e}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-eb39998f.js";import{__tla as ea}from"./index-15373756.js";import{__tla as aa}from"./el-image-viewer-9d1c7d33.js";import{__tla as ta}from"./useMessage-0b1b25bd.js";import{__tla as la}from"./index-e23f4f5a.js";import{__tla as ra}from"./formatTime-cee700cd.js";import{__tla as ia}from"./dict-a141296d.js";import{__tla as _a}from"./el-descriptions-item-10fdd34c.js";import{__tla as oa}from"./DictTag-715a7ef1.js";import"./color-6e929987.js";import{__tla as sa}from"./index-53761b79.js";import{__tla as na}from"./el-timeline-item-ec61a442.js";import{__tla as da}from"./Dialog-c20523c4.js";import{__tla as ca}from"./el-tree-select-58251b07.js";import{__tla as ma}from"./index-28a76ee4.js";import"./tree-0af4953a.js";let Y,ua=Promise.all([(()=>{try{return De}catch{}})(),(()=>{try{return Ce}catch{}})(),(()=>{try{return Ie}catch{}})(),(()=>{try{return Ue}catch{}})(),(()=>{try{return Pe}catch{}})(),(()=>{try{return Fe}catch{}})(),(()=>{try{return Le}catch{}})(),(()=>{try{return Te}catch{}})(),(()=>{try{return je}catch{}})(),(()=>{try{return We}catch{}})(),(()=>{try{return Be}catch{}})(),(()=>{try{return He}catch{}})(),(()=>{try{return Ke}catch{}})(),(()=>{try{return Ye}catch{}})(),(()=>{try{return Ze}catch{}})(),(()=>{try{return $e}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return _a}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return ma}catch{}})()]).then(async()=>{let C,S,I,w,U,O,P,A,F,z,L,N,T,X;C={class:"my-header"},S={class:"my-header-left"},I={class:"my-header-right"},w=["onClick"],U={class:"left",style:{position:"relative",overflow:"hidden"}},O={class:"right"},P={key:0},A={key:1},F={key:2},z={key:3},L={key:4},N={key:5},T={key:6},X={key:7},Y=Ee(de({name:"ProductSpuForm",__name:"OrderIndex",emits:["success"],setup(fa,{expose:Z,emit:$}){const h=_(!1),ee=()=>{h.value=!h.value},k=_(!1),i=_("info"),m=_(!1),g=_(!1),E=_(""),d=_(0),t=_({});Z({open:async(v,l,D)=>{d.value=l.id,t.value=l,E.value="\u67E5\u770B-"+D,i.value="info",m.value=v=="view",g.value=!0,h.value=!1}});const j=_(),ae=()=>{var v;(v=j.value)==null||v.getDetail()},M=_(),W=_(),q=_(),te=$,B=()=>{te("success",!0),g.value=!1};return(v,l)=>{const D=pe,le=Se,u=ve,re=he,R=ke,ie=ge,_e=be,oe=Ve,se=Re,ne=xe;return r(),c(ye,null,[a(se,{modelValue:e(g),"onUpdate:modelValue":l[5]||(l[5]=n=>K(g)?g.value=n:null),title:e(E),fullscreen:e(h),"show-close":!1,width:"70%",draggable:"",class:"dialog","destroy-on-close":""},{header:s(({close:n})=>[p("div",C,[p("div",S,ce(e(E)),1),p("div",I,[p("span",{onClick:ee},[a(e(me),{icon:e(h)?"zmdi:fullscreen-exit":"zmdi:fullscreen"},null,8,["icon"])]),p("span",{onClick:n},[a(D,null,{default:s(()=>[a(e(ue))]),_:1})],8,w)])])]),default:s(()=>[fe((r(),b(oe,{style:{"max-height":"560px","min-height":"560px","overflow-y":"auto"}},{default:s(()=>[p("div",U,[a(le,{modelValue:e(t).items[0].picUrl,"onUpdate:modelValue":l[0]||(l[0]=n=>e(t).items[0].picUrl=n),disabled:!0},null,8,["modelValue"]),a(re,{modelValue:e(i),"onUpdate:modelValue":l[1]||(l[1]=n=>K(i)?i.value=n:null),"tab-position":"left",class:"child-tabs"},{default:s(()=>[a(u,{label:"\u57FA\u672C\u4FE1\u606F",name:"info"}),a(u,{label:"\u5546\u54C1",name:"product"}),a(u,{label:"\u8BC4\u4EF7",name:"comment"}),a(u,{label:"\u5BA2\u670D",name:"service"}),a(u,{label:"\u552E\u540E",name:"afterSale"}),a(u,{label:"\u7269\u6D41",name:"logistics"}),a(u,{label:"\u652F\u4ED8",name:"pay"}),a(u,{label:"\u65E5\u5FD7",name:"logs"})]),_:1},8,["modelValue"])]),p("div",O,[e(i)=="info"?(r(),c("div",P,[a(we,{ref_key:"baseInfoRef",ref:j,"is-detail":!1,id:e(d)},null,8,["id"])])):o("",!0),e(i)=="product"?(r(),c("div",A,[a(Oe,{ref:"infoRef","is-detail":e(m),id:e(d)},null,8,["is-detail","id"])])):o("",!0),e(i)=="comment"?(r(),c("div",F,[a(Ae,{ref:"infoRef","is-detail":e(m),id:e(d)},null,8,["is-detail","id"])])):o("",!0),e(i)=="service"?(r(),c("div",z,[a(ze,{ref:"infoRef","is-detail":e(m),id:e(d)},null,8,["is-detail","id"])])):o("",!0),e(i)=="afterSale"?(r(),c("div",L,[a(Ne,{ref:"infoRef","is-detail":e(m),id:e(d)},null,8,["is-detail","id"])])):o("",!0),e(i)=="logistics"?(r(),c("div",N,[a(Xe,{ref:"infoRef","is-detail":e(m),id:e(d)},null,8,["is-detail","id"])])):o("",!0),e(i)=="pay"?(r(),c("div",T,[a(Me,{ref:"infoRef","is-detail":e(m),id:e(d)},null,8,["is-detail","id"])])):o("",!0),e(i)=="logs"?(r(),c("div",X,[a(qe,{ref:"infoRef","is-detail":e(m),id:e(d)},null,8,["is-detail","id"])])):o("",!0)]),e(i)=="info"?(r(),b(_e,{key:0,style:{clear:"both"}},{default:s(()=>[a(ie,{style:{float:"right"}},{default:s(()=>[e(t).deliveryType===e(Q).EXPRESS.type&&e(t).status===e(V).UNDELIVERED.status?(r(),b(R,{key:0,loading:e(k),type:"primary",onClick:l[2]||(l[2]=n=>{var y;return f=e(t).id,void((y=M.value)==null?void 0:y.open("\u8BA2\u5355\u5217\u8868",f));var f})},{default:s(()=>[x("\u53D1\u8D27")]),_:1},8,["loading"])):o("",!0),e(t).deliveryType===e(Q).EXPRESS.type&&e(t).status===e(V).UNDELIVERED.status?(r(),b(R,{key:1,loading:e(k),type:"primary",onClick:l[3]||(l[3]=n=>{return f=e(t).id,y=e(t).receiverAreaName,G=e(t).receiverMobile,H=e(t).receiverAreaId,J=e(t).receiverDetailAddress,void q.value.open(f,y,G,H,J);var f,y,G,H,J})},{default:s(()=>[x("\u4FEE\u6539\u5730\u5740")]),_:1},8,["loading"])):o("",!0),e(t).status===e(V).COMPLETED.status?(r(),b(R,{key:2,loading:e(k),type:"primary",onClick:v.handleInvoice},{default:s(()=>[x("\u5F00\u53D1\u7968")]),_:1},8,["loading","onClick"])):o("",!0),a(R,{loading:e(k),type:"primary",onClick:l[4]||(l[4]=n=>{var y;return f=e(t).id,e(t).remark,void((y=W.value)==null?void 0:y.open(f,"DetailOpen"));var f})},{default:s(()=>[x("\u5907\u6CE8")]),_:1},8,["loading"])]),_:1})]),_:1})):o("",!0)]),_:1})),[[ne,e(k)]])]),_:1},8,["modelValue","title","fullscreen"]),a(Ge,{ref_key:"deliveryFormRef",ref:M,onSuccess:B},null,512),a(Je,{ref_key:"updateRemarkForm",ref:W,onSuccess:ae},null,512),a(Qe,{ref_key:"updateAddressFormRef",ref:q,onSuccess:B},null,512)],64)}}}),[["__scopeId","data-v-0472ef77"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/mall/trade/order/components/OrderIndex.vue"]])});export{ua as __tla,Y as default};
|