PayOrderBaseInfo-619a9977.js 4.3 KB

1
  1. import{d as J,y as L,e as N,r as _,b as X,k as Y,o as j,A as w,B as l,f as a,C as i,D as d,a as e,E as q,ac as z,S as G,J as H,M as K,U as Q,X as V,__tla as W}from"./index-64541051.js";import{d as Z,D as $,__tla as ll}from"./dict-57775d6a.js";import{a as al,__tla as el}from"./index-88567468.js";import{f,__tla as tl}from"./formatTime-54ef3f05.js";import{_ as sl}from"./_plugin-vue_export-helper-1b428a4d.js";let R,ul=Promise.all([(()=>{try{return W}catch{}})(),(()=>{try{return ll}catch{}})(),(()=>{try{return el}catch{}})(),(()=>{try{return tl}catch{}})()]).then(async()=>{let r,c,b,o,x,v,m,y,h,T,F,P,A,D;r={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"},o={class:"el-input el-input--default is-disabled el-input--suffix"},x={class:"el-input el-input--default is-disabled el-input--suffix"},v={class:"el-input el-input--default is-disabled el-input--suffix"},m={class:"el-input el-input--default is-disabled el-input--suffix"},y={class:"el-input el-input--default is-disabled el-input--suffix"},h={class:"el-input el-input--default is-disabled el-input--suffix"},T={class:"el-input el-input--default is-disabled el-input--suffix"},F={class:"el-input el-input--default is-disabled el-input--suffix"},P={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"},R=sl(J({name:"PayOrderDetail",__name:"PayOrderBaseInfo",props:{obj:{default:{}}},setup(S,{expose:g}){const k=L(),B=N(()=>k.getMobile),C=_(!1),I=_(!1),t=_({extension:{}}),E=S,O=async p=>{C.value=!0,I.value=!0;try{t.value=await al(p),t.value.extension||(t.value.extension={})}finally{I.value=!1}};return X(()=>{O(E.obj.id)}),g({open:O}),(p,il)=>{const s=G,u=H,n=K,M=Q,U=V;return Y((j(),w(M,{"label-width":"120px",class:z(["view",{"mobile-card":e(B)}])},{default:l(()=>[a(n,null,{default:l(()=>[a(u,{span:12},{default:l(()=>[a(s,{label:"\u5546\u6237\u5355\u53F7"},{default:l(()=>[i("div",r,d(e(t).merchantOrderId),1)]),_:1})]),_:1}),e(t).no?(j(),w(u,{key:0,span:12},{default:l(()=>[a(s,{label:"\u652F\u4ED8\u5355\u53F7"},{default:l(()=>[i("div",c,d(e(t).no),1)]),_:1})]),_:1})):q("",!0)]),_:1}),a(n,null,{default:l(()=>[a(u,{span:12},{default:l(()=>[a(s,{label:"\u5E94\u7528\u7F16\u53F7"},{default:l(()=>[i("div",b,d(e(t).appId),1)]),_:1})]),_:1}),a(u,{span:12},{default:l(()=>[a(s,{label:"\u5E94\u7528\u540D\u79F0"},{default:l(()=>[i("div",o,d(e(t).appName),1)]),_:1})]),_:1})]),_:1}),a(n,null,{default:l(()=>[a(u,{span:12},{default:l(()=>[a(s,{label:"\u652F\u4ED8\u72B6\u6001"},{default:l(()=>[i("div",x,d(e(Z)(e($).PAY_ORDER_STATUS,e(t).status)),1)]),_:1})]),_:1}),a(u,{span:12},{default:l(()=>[a(s,{label:"\u652F\u4ED8\u91D1\u989D"},{default:l(()=>[i("div",v,"\uFFE5"+d((e(t).price/100).toFixed(2)),1)]),_:1})]),_:1})]),_:1}),a(n,null,{default:l(()=>[a(u,{span:12},{default:l(()=>[a(s,{label:"\u624B\u7EED\u8D39"},{default:l(()=>[i("div",m,"\uFFE5"+d((e(t).channelFeePrice/100).toFixed(2)),1)]),_:1})]),_:1}),a(u,{span:12},{default:l(()=>[a(s,{label:"\u624B\u7EED\u8D39\u6BD4\u4F8B"},{default:l(()=>[i("div",y,d((e(t).channelFeeRate/100).toFixed(2))+"%",1)]),_:1})]),_:1})]),_:1}),a(n,null,{default:l(()=>[a(u,{span:12},{default:l(()=>[a(s,{label:"\u652F\u4ED8\u65F6\u95F4"},{default:l(()=>[i("div",h,d(e(f)(e(t).successTime)),1)]),_:1})]),_:1}),a(u,{span:12},{default:l(()=>[a(s,{label:"\u5931\u6548\u65F6\u95F4"},{default:l(()=>[i("div",T,d(e(f)(e(t).expireTime)),1)]),_:1})]),_:1})]),_:1}),a(n,null,{default:l(()=>[a(u,{span:12},{default:l(()=>[a(s,{label:"\u521B\u5EFA\u65F6\u95F4"},{default:l(()=>[i("div",F,d(e(f)(e(t).createTime)),1)]),_:1})]),_:1}),a(u,{span:12},{default:l(()=>[a(s,{label:"\u66F4\u65B0\u65F6\u95F4"},{default:l(()=>[i("div",P,d(e(f)(e(t).updateTime)),1)]),_:1})]),_:1})]),_:1}),a(n,null,{default:l(()=>[a(u,{span:12},{default:l(()=>[a(s,{label:"\u5546\u54C1\u6807\u9898"},{default:l(()=>[i("div",A,d(e(t).subject),1)]),_:1})]),_:1}),a(u,{span:12},{default:l(()=>[a(s,{label:"\u5546\u54C1\u63CF\u8FF0"},{default:l(()=>[i("div",D,d(e(t).body),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["class"])),[[U,p.formLoading]])}}}),[["__scopeId","data-v-960a0ffe"]])});export{ul as __tla,R as default};