AfterSaleBaseInfo-fc4b7326.js 3.7 KB

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