AfterSaleBaseInfo-7d5db824.js 3.6 KB

1
  1. import{d as w,y as O,e as j,r as B,b as S,k as H,o as J,A as U,B as e,f as l,C as u,D as i,a,ac as V,S as X,J as q,M as z,U as F,X as G,__tla as K}from"./index-631574a1.js";import{c as Q,__tla as W}from"./index-0107dc82.js";import{d as r,D as p,__tla as Z}from"./dict-d0fa26ad.js";import{_ as $}from"./_plugin-vue_export-helper-1b428a4d.js";let C,ee=Promise.all([(()=>{try{return K}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return Z}catch{}})()]).then(async()=>{let o,c,b,m,v,x,y,E,A,D,T;o={class:"el-input el-input--default is-disabled el-input--suffix"},c={class:"el-input el-input--default is-disabled el-input--suffix"},b={class:"el-input el-input--default is-disabled el-input--suffix"},m={class:"el-input el-input--default is-disabled el-input--suffix"},v={class:"el-input el-input--default is-disabled el-input--suffix"},x={class:"el-input el-input--default is-disabled el-input--suffix"},y={class:"el-input el-input--default is-disabled el-input--suffix"},E={class:"el-input el-input--default is-disabled el-input--suffix"},A={class:"el-input el-input--default is-disabled el-input--suffix"},D={class:"el-input el-input--default is-disabled el-input--suffix"},T={class:"el-input el-input--default is-disabled el-input--suffix"},C=$(w({name:"TradeAfterSaleDetail",__name:"AfterSaleBaseInfo",props:{obj:{default:{}}},setup(I,{expose:N}){const k=O(),L=j(()=>k.getMobile),t=B({order:{},logs:[]}),M=I,h=async n=>{if(n){const _=await Q(n);_==null&&(message.notifyError("\u552E\u540E\u8BA2\u5355\u4E0D\u5B58\u5728"),close()),t.value=_}};return S(()=>{h(M.obj.id)}),N({getDetail:h}),(n,_)=>{const s=X,d=q,f=z,P=F,Y=G;return H((J(),U(P,{"label-width":"120px",class:V(["view",{"mobile-card":a(L)}])},{default:e(()=>[l(f,null,{default:e(()=>[l(d,{span:12},{default:e(()=>[l(s,{label:"\u8BA2\u5355\u53F7"},{default:e(()=>[u("div",o,i(a(t).orderNo),1)]),_:1})]),_:1}),l(d,{span:12},{default:e(()=>[l(s,{label:"\u914D\u9001\u65B9\u5F0F"},{default:e(()=>[u("div",c,i(a(t).order.deliveryType?a(r)(a(p).TRADE_DELIVERY_TYPE,a(t).order.deliveryType):""),1)]),_:1})]),_:1})]),_:1}),l(f,null,{default:e(()=>[l(d,{span:12},{default:e(()=>[l(s,{label:"\u8BA2\u5355\u7C7B\u578B"},{default:e(()=>[u("div",b,i(a(r)(a(p).TRADE_ORDER_TYPE,a(t).order.type)),1)]),_:1})]),_:1}),l(d,{span:12},{default:e(()=>[l(s,{label:"\u6536\u8D27\u4EBA"},{default:e(()=>[u("div",m,i(a(t).order.receiverName),1)]),_:1})]),_:1})]),_:1}),l(f,null,{default:e(()=>[l(d,{span:12},{default:e(()=>[l(s,{label:"\u4E70\u5BB6"},{default:e(()=>{var R,g;return[u("div",v,i((g=(R=a(t))==null?void 0:R.user)==null?void 0:g.nickname),1)]}),_:1})]),_:1}),l(d,{span:12},{default:e(()=>[l(s,{label:"\u8BA2\u5355\u6765\u6E90"},{default:e(()=>[u("div",x,i(a(r)(a(p).TERMINAL,a(t).order.terminal)),1)]),_:1})]),_:1})]),_:1}),l(f,null,{default:e(()=>[l(d,{span:12},{default:e(()=>[l(s,{label:"\u8054\u7CFB\u7535\u8BDD"},{default:e(()=>[u("div",y,i(a(t).order.receiverMobile),1)]),_:1})]),_:1}),l(d,{span:12},{default:e(()=>[l(s,{label:"\u4ED8\u6B3E\u65B9\u5F0F"},{default:e(()=>[u("div",E,i(a(r)(a(p).PAY_CHANNEL_CODE,a(t).order.payChannelCode)),1)]),_:1})]),_:1})]),_:1}),l(f,null,{default:e(()=>[l(d,{span:12},{default:e(()=>[l(s,{label:"\u652F\u4ED8\u5355\u53F7"},{default:e(()=>[u("div",A,i(a(t).order.payOrderId),1)]),_:1})]),_:1}),l(d,{span:12},{default:e(()=>[l(s,{label:"\u4E70\u5BB6\u7559\u8A00"},{default:e(()=>[u("div",D,i(a(t).order.userRemark),1)]),_:1})]),_:1})]),_:1}),l(f,null,{default:e(()=>[l(d,{span:12},{default:e(()=>[l(s,{label:"\u5546\u5BB6\u5907\u6CE8"},{default:e(()=>[u("div",T,i(a(t).order.remark),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["class"])),[[Y,n.formLoading]])}}}),[["__scopeId","data-v-0ed834d8"]])});export{ee as __tla,C as default};