AfterSaleBaseInfo-b73adde0.js 3.6 KB

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