orderPay-fe6d4003.js 1.9 KB

1
  1. import{d as h,ag as f,r as k,Y as v,K as x,l as g,o as P,v as D,w as a,a as l,Z as I,D as z,f as e,n as o,t as d,at as C,A as j,E as A,i as E,_ as K,__tla as M}from"./index-6d7b82ba.js";import{k as R,__tla as S}from"./index-c52f3d88.js";import{u as U,__tla as Y}from"./useMessage-be161634.js";let p,Z=Promise.all([(()=>{try{return M}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return Y}catch{}})()]).then(async()=>{p=K(h({__name:"orderPay",props:{id:f.number.def(void 0),showPickUp:f.bool.def(!0)},setup(i){const c=i,t=k({logs:[]}),n=c.id,m=v(),b=x(()=>m.getMobile),y=U();return g(async()=>{(async()=>{if(console.log(n),n){const _=await R(n);_||y.error("\u4EA4\u6613\u8BA2\u5355\u4E0D\u5B58\u5728"),t.value=_}})()}),(_,q)=>{const s=j,r=A,u=E,w=z;return P(),D(w,{ref:"formRef",model:l(t),"label-width":"120px",disabled:_.isDetail,border:!0,class:I({"mobile-card":l(b)})},{default:a(()=>[e(u,null,{default:a(()=>[e(r,{span:12},{default:a(()=>[e(s,{label:"\u603B\u91D1\u989D",prop:"no"},{default:a(()=>[o(d(l(C)(l(t).payPrice))+" \u5143 ",1)]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(s,{label:"\u652F\u4ED8\u72B6\u6001",prop:"categoryId"},{default:a(()=>[o(d(l(t).payStatus),1)]),_:1})]),_:1})]),_:1}),e(u,null,{default:a(()=>[e(r,{span:12},{default:a(()=>[e(s,{label:"\u652F\u4ED8\u65B9\u5F0F",prop:"brandId"},{default:a(()=>[o(d(l(t).payChannelCode=="wx_pub"?"\u5FAE\u4FE1\u652F\u4ED8":"\u5176\u4ED6"),1)]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(s,{label:"\u8DEF\u5F84",prop:"keyword"},{default:a(()=>[o(d(l(t).path),1)]),_:1})]),_:1})]),_:1}),e(u,null,{default:a(()=>[e(r,null,{default:a(()=>[e(s,{label:"\u5907\u6CE8",prop:"keyword"},{default:a(()=>[o(d(l(t).remark),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model","disabled","class"])}}}),[["__scopeId","data-v-64fa534f"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/mall/trade/order/components/orderPay.vue"]])});export{Z as __tla,p as default};