orderPay-51bcdd3b.js 1.8 KB

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