1 |
- import{d as ce,r as i,o as l,c as d,f as t,w as s,g as p,t as de,a as e,j as me,aZ as ue,x as fe,v as b,O as J,P as o,n as x,F as ye,aT as pe,W as he,X as ve,C as ke,A as ge,D as be,b0 as Re,I as xe,_ as De,__tla as Ee}from"./index-bd9277a1.js";import{_ as Ie,__tla as Se}from"./ContentWrap-7c73ab26.js";import{_ as Ve,__tla as Ce}from"./SPuUploadImg-ee64a5a4.js";import we,{__tla as Oe}from"./OrderBaseInfo-4dc90c07.js";import Ue,{__tla as Ae}from"./OrderProduct-16ebad21.js";import Pe,{__tla as Fe}from"./OrderComment-35318f71.js";import ze,{__tla as Te}from"./OrderService-c2ccdc00.js";import{A as Le,__tla as Ne}from"./AfterSale-64e4ab75.js";import Xe,{__tla as je}from"./OrderLogistics-19ecb255.js";import Me,{__tla as We}from"./orderPay-4e3b9e74.js";import Ze,{__tla as qe}from"./OrderLogs-58953007.js";import{D as K,T as I}from"./constants-40f13f5e.js";import Be,{__tla as Ge}from"./OrderDeliveryForm-536af616.js";import He,{__tla as Je}from"./OrderUpdateRemarkForm-39c4b294.js";import Ke,{__tla as Qe}from"./OrderUpdateAddressForm-4fa6ff02.js";import{__tla as Ye}from"./ContentWrap.vue_vue_type_script_setup_true_lang-5f6a2d0d.js";import{__tla as $e}from"./el-card-bc8cec83.js";import{__tla as et}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-24a8f241.js";import{__tla as tt}from"./index-b80ba4d7.js";import{__tla as at}from"./el-image-viewer-995341ab.js";import{__tla as rt}from"./useMessage-274788d4.js";import{__tla as lt}from"./index-d2d7dbc2.js";import{__tla as _t}from"./formatTime-8639ba1a.js";import{__tla as it}from"./dict-4b2e9fd3.js";import{__tla as ot}from"./el-descriptions-item-2abce27d.js";import{__tla as st}from"./DictTag-d6503fab.js";import"./color-6e929987.js";import{__tla as nt}from"./el-image-c6b72263.js";import{__tla as ct}from"./index-3118d255.js";import{__tla as dt}from"./index-49ecf2ef.js";import{__tla as mt}from"./index-51b8eed1.js";import{__tla as ut}from"./index-279b10c2.js";import{__tla as ft}from"./el-timeline-item-ee30bc55.js";import{__tla as yt}from"./Dialog-eba103da.js";import{__tla as pt}from"./el-tree-select-9425e295.js";import{__tla as ht}from"./index-e83ed2f1.js";import"./tree-0af4953a.js";let Q,vt=Promise.all([(()=>{try{return Ee}catch{}})(),(()=>{try{return Se}catch{}})(),(()=>{try{return Ce}catch{}})(),(()=>{try{return Oe}catch{}})(),(()=>{try{return Ae}catch{}})(),(()=>{try{return Fe}catch{}})(),(()=>{try{return Te}catch{}})(),(()=>{try{return Ne}catch{}})(),(()=>{try{return je}catch{}})(),(()=>{try{return We}catch{}})(),(()=>{try{return qe}catch{}})(),(()=>{try{return Ge}catch{}})(),(()=>{try{return Je}catch{}})(),(()=>{try{return Qe}catch{}})(),(()=>{try{return Ye}catch{}})(),(()=>{try{return $e}catch{}})(),(()=>{try{return et}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return at}catch{}})(),(()=>{try{return rt}catch{}})(),(()=>{try{return lt}catch{}})(),(()=>{try{return _t}catch{}})(),(()=>{try{return it}catch{}})(),(()=>{try{return ot}catch{}})(),(()=>{try{return st}catch{}})(),(()=>{try{return nt}catch{}})(),(()=>{try{return ct}catch{}})(),(()=>{try{return dt}catch{}})(),(()=>{try{return mt}catch{}})(),(()=>{try{return ut}catch{}})(),(()=>{try{return ft}catch{}})(),(()=>{try{return yt}catch{}})(),(()=>{try{return pt}catch{}})(),(()=>{try{return ht}catch{}})()]).then(async()=>{let S,V,C,w,O,U,A,P,F,z,T,L,N,X;S={class:"my-header"},V={class:"my-header-left"},C={class:"my-header-right"},w=["onClick"],O={class:"left",style:{position:"relative",overflow:"hidden"}},U={class:"right"},A={key:0},P={key:1},F={key:2},z={key:3},T={key:4},L={key:5},N={key:6},X={key:7},Q=De(ce({name:"ProductSpuForm",__name:"OrderIndex",emits:["success"],setup(kt,{expose:Y,emit:$}){const v=i(!1),ee=()=>{v.value=!v.value},k=i(!1),_=i("info"),y=i(!1),g=i(!1),D=i(""),c=i(0),a=i({});Y({open:async(h,r,E)=>{c.value=r.id,a.value=r,D.value="\u67E5\u770B-"+E,_.value="info",y.value=h=="view",g.value=!0,v.value=!1}});const j=i(),te=()=>{var h;(h=j.value)==null||h.getDetail()},M=i(),W=i(),Z=i(),ae=$,q=()=>{ae("success",!0),g.value=!1};return(h,r)=>{const E=pe,re=Ve,m=he,le=ve,R=ke,_e=ge,ie=be,oe=Ie,se=Re,ne=xe;return l(),d(ye,null,[t(se,{modelValue:e(g),"onUpdate:modelValue":r[5]||(r[5]=n=>J(g)?g.value=n:null),title:e(D),fullscreen:e(v),"show-close":!1,width:"70%",draggable:"",class:"dialog","destroy-on-close":""},{header:s(({close:n})=>[p("div",S,[p("div",V,de(e(D)),1),p("div",C,[p("span",{onClick:ee},[t(e(me),{icon:e(v)?"zmdi:fullscreen-exit":"zmdi:fullscreen"},null,8,["icon"])]),p("span",{onClick:n},[t(E,null,{default:s(()=>[t(e(ue))]),_:1})],8,w)])])]),default:s(()=>[fe((l(),b(oe,{style:{"max-height":"560px","min-height":"560px","overflow-y":"auto"}},{default:s(()=>[p("div",O,[t(re,{modelValue:e(a).items[0].picUrl,"onUpdate:modelValue":r[0]||(r[0]=n=>e(a).items[0].picUrl=n),disabled:!0},null,8,["modelValue"]),t(le,{modelValue:e(_),"onUpdate:modelValue":r[1]||(r[1]=n=>J(_)?_.value=n:null),"tab-position":"left",class:"child-tabs"},{default:s(()=>[t(m,{label:"\u57FA\u672C\u4FE1\u606F",name:"info"}),t(m,{label:"\u5546\u54C1",name:"product"}),t(m,{label:"\u8BC4\u4EF7",name:"comment"}),t(m,{label:"\u5BA2\u670D",name:"service"}),t(m,{label:"\u552E\u540E",name:"afterSale"}),t(m,{label:"\u7269\u6D41",name:"logistics"}),t(m,{label:"\u652F\u4ED8",name:"pay"}),t(m,{label:"\u65E5\u5FD7",name:"logs"})]),_:1},8,["modelValue"])]),p("div",U,[e(_)=="info"?(l(),d("div",A,[t(we,{ref_key:"baseInfoRef",ref:j,"is-detail":!1,id:e(c)},null,8,["id"])])):o("",!0),e(_)=="product"?(l(),d("div",P,[t(Ue,{ref:"infoRef","is-detail":e(y),id:e(c)},null,8,["is-detail","id"])])):o("",!0),e(_)=="comment"?(l(),d("div",F,[t(Pe,{ref:"infoRef","is-detail":e(y),id:e(c)},null,8,["is-detail","id"])])):o("",!0),e(_)=="service"?(l(),d("div",z,[t(ze,{ref:"infoRef","is-detail":e(y),id:e(c)},null,8,["is-detail","id"])])):o("",!0),e(_)=="afterSale"?(l(),d("div",T,[t(Le,{orderId:e(c),openSource:"Order"},null,8,["orderId"])])):o("",!0),e(_)=="logistics"?(l(),d("div",L,[t(Xe,{ref:"infoRef","is-detail":e(y),id:e(c)},null,8,["is-detail","id"])])):o("",!0),e(_)=="pay"?(l(),d("div",N,[t(Me,{ref:"infoRef","is-detail":e(y),id:e(c)},null,8,["is-detail","id"])])):o("",!0),e(_)=="logs"?(l(),d("div",X,[t(Ze,{ref:"infoRef","is-detail":e(y),id:e(c)},null,8,["is-detail","id"])])):o("",!0)]),e(_)=="info"?(l(),b(ie,{key:0,style:{clear:"both"}},{default:s(()=>[t(_e,{style:{float:"right"}},{default:s(()=>[e(a).deliveryType===e(K).EXPRESS.type&&e(a).status===e(I).UNDELIVERED.status?(l(),b(R,{key:0,loading:e(k),type:"primary",onClick:r[2]||(r[2]=n=>{var f;return u=e(a).id,void((f=M.value)==null?void 0:f.open("\u8BA2\u5355\u5217\u8868",u));var u})},{default:s(()=>[x("\u53D1\u8D27")]),_:1},8,["loading"])):o("",!0),e(a).deliveryType===e(K).EXPRESS.type&&e(a).status===e(I).UNDELIVERED.status?(l(),b(R,{key:1,loading:e(k),type:"primary",onClick:r[3]||(r[3]=n=>{return u=e(a).id,f=e(a).receiverAreaName,B=e(a).receiverMobile,G=e(a).receiverAreaId,H=e(a).receiverDetailAddress,void Z.value.open(u,f,B,G,H);var u,f,B,G,H})},{default:s(()=>[x("\u4FEE\u6539\u5730\u5740")]),_:1},8,["loading"])):o("",!0),e(a).status===e(I).COMPLETED.status?(l(),b(R,{key:2,loading:e(k),type:"primary",onClick:h.handleInvoice},{default:s(()=>[x("\u5F00\u53D1\u7968")]),_:1},8,["loading","onClick"])):o("",!0),t(R,{loading:e(k),type:"primary",onClick:r[4]||(r[4]=n=>{var f;return u=e(a).id,e(a).remark,void((f=W.value)==null?void 0:f.open(u,"DetailOpen"));var u})},{default:s(()=>[x("\u5907\u6CE8")]),_:1},8,["loading"])]),_:1})]),_:1})):o("",!0)]),_:1})),[[ne,e(k)]])]),_:1},8,["modelValue","title","fullscreen"]),t(Be,{ref_key:"deliveryFormRef",ref:M,onSuccess:q},null,512),t(He,{ref_key:"updateRemarkForm",ref:W,onSuccess:te},null,512),t(Ke,{ref_key:"updateAddressFormRef",ref:Z,onSuccess:q},null,512)],64)}}}),[["__scopeId","data-v-0472ef77"],["__file","D:/zhongxing/mall-newfeifan-zx-admin/src/views/mall/trade/order/components/OrderIndex.vue"]])});export{vt as __tla,Q as default};
|