AfterSaleBaseInfo-09e83fc7.js 3.6 KB

1
  1. import{d as M,y as O,e as j,r as B,b as H,k as S,o as V,C as K,A as e,f as l,B as u,E as i,a,ac as U,U as q,H as z,K as F,V as G,Y as J,__tla as Q}from"./index-f4562165.js";import{c as W,__tla as X}from"./index-a82b99b4.js";import{d as r,D as p,__tla as Z}from"./dict-880709c0.js";import{_ as $}from"./_plugin-vue_export-helper-1b428a4d.js";let C,ee=Promise.all([(()=>{try{return Q}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Z}catch{}})()]).then(async()=>{let o,c,b,m,v,x,y,E,D,A,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"},D={class:"el-input el-input--default is-disabled el-input--suffix"},A={class:"el-input el-input--default is-disabled el-input--suffix"},T={class:"el-input el-input--default is-disabled el-input--suffix"},C=$(M({name:"TradeAfterSaleDetail",__name:"AfterSaleBaseInfo",props:{obj:{default:{}}},setup(I,{expose:N}){const Y=O(),k=j(()=>Y.getMobile),t=B({order:{},logs:[]}),w=I,R=async n=>{if(n){const _=await W(n);_==null&&(message.notifyError("\u552E\u540E\u8BA2\u5355\u4E0D\u5B58\u5728"),close()),t.value=_}};return H(()=>{R(w.obj.id)}),N({getDetail:R}),(n,_)=>{const s=q,d=z,f=F,L=G,P=J;return S((V(),K(L,{"label-width":"120px",class:U(["view",{"mobile-card":a(k)}])},{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 h,g;return[u("div",v,i((g=(h=a(t))==null?void 0:h.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",D,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",A,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"])),[[P,n.formLoading]])}}}),[["__scopeId","data-v-0ed834d8"]])});export{ee as __tla,C as default};