orderPay-a11ae6a2.js 2.0 KB

1
  1. import{d as k,ah as f,r as P,b as v,e as C,y as I,o as g,k as x,w as a,a as e,a0 as D,I as E,i as l,l as o,t as _,aY as A,H,E as N,n as Y,__tla as j}from"./index-abaca7e8.js";import{l as L,__tla as M}from"./index-e692387c.js";import{b as O,D as R,__tla as S}from"./dict-885a7988.js";import{u as U,__tla as q}from"./useMessage-7c79d01b.js";import{_ as z}from"./_plugin-vue_export-helper-1b428a4d.js";let c,B=Promise.all([(()=>{try{return j}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return q}catch{}})()]).then(async()=>{c=z(k({__name:"orderPay",props:{id:f.number.def(void 0),showPickUp:f.bool.def(!0)},setup(i){const b=i,t=P({logs:[]}),n=b.id,m=v(),y=C(()=>m.getMobile),h=U();return I(async()=>{(async()=>{if(n){const d=await L(n);d||h.error("\u4EA4\u6613\u8BA2\u5355\u4E0D\u5B58\u5728"),t.value=d}})()}),(d,F)=>{const s=H,r=N,p=Y,w=E;return g(),x(w,{ref:"formRef",model:e(t),"label-width":"120px",disabled:d.isDetail,border:!0,class:D({"mobile-card":e(y)})},{default:a(()=>[l(p,null,{default:a(()=>[l(r,{span:12},{default:a(()=>[l(s,{label:"\u603B\u91D1\u989D",prop:"no"},{default:a(()=>[o(_(e(A)(e(t).payPrice))+" \u5143 ",1)]),_:1})]),_:1}),l(r,{span:12},{default:a(()=>[l(s,{label:"\u652F\u4ED8\u72B6\u6001",prop:"categoryId"},{default:a(()=>[o(_(e(t).payStatus),1)]),_:1})]),_:1})]),_:1}),l(p,null,{default:a(()=>[l(r,{span:12},{default:a(()=>[l(s,{label:"\u652F\u4ED8\u65B9\u5F0F",prop:"brandId"},{default:a(()=>{var u;return[o(_((u=e(O)(e(R).PAY_CHANNEL_CODE,e(t).payChannelCode))==null?void 0:u.label),1)]}),_:1})]),_:1}),l(r,{span:12},{default:a(()=>[l(s,{label:"\u8DEF\u5F84",prop:"keyword"},{default:a(()=>[o(_(e(t).path),1)]),_:1})]),_:1})]),_:1}),l(p,null,{default:a(()=>[l(r,{span:12},{default:a(()=>[l(s,{label:"\u652F\u4ED8\u5355\u53F7",prop:"no"},{default:a(()=>[o(_(e(t).no),1)]),_:1})]),_:1}),l(r,{span:12},{default:a(()=>[l(s,{label:"\u5907\u6CE8",prop:"keyword"},{default:a(()=>[o(_(e(t).remark),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model","disabled","class"])}}}),[["__scopeId","data-v-1041f14f"]])});export{B as __tla,c as default};