import"./index-2a45336b.js";import{u as w}from"./useForm-269e95cd.js";import{b as o,o as k,k as T,e,w as a,u as t,E as m,U as h,K as p}from"./ant-design-vue-710243d9.js";import"./tinymce-3184e0f1.js";import"./echarts-ca5d9323.js";import"./cropper-47c8e461.js";import"./lodash-es-7cb071db.js";import"./qrcode-bec2257a.js";import"./jschardet-bd496279.js";const q=p("div",{class:"color-secondary"},[p("h3",null,"说明"),p("h4",null,"转账到支付宝账户"),p("p",null," 如果需要，这里可以放一些关于产品的常见问题说明。如果需要，这里可以放一些关于产品的常见问题说明。如果需要，这里可以放一些关于产品的常见问题说明。 "),p("h4",null,"转账到银行卡"),p("p",null," 如果需要，这里可以放一些关于产品的常见问题说明。如果需要，这里可以放一些关于产品的常见问题说明。如果需要，这里可以放一些关于产品的常见问题说明。 ")],-1),K=Object.assign({name:"Step1"},{__name:"Step1",emits:["next"],setup(N,{emit:f}){const{formData:l,formRef:_,formRules:d}=w();d.value={paymentUser:[{required:!0,message:"付款账户必须填写"}],payType:[{required:!0,message:"收款账户必须填写"}],name:[{required:!0,message:"收款人名称必须核对"}],money:[{required:!0,message:"转账金额必须填写"}]};function y(){_.value.validate().then(()=>{f("next")}).catch(()=>{})}return(B,n)=>{const s=o("a-select-option"),c=o("a-select"),u=o("a-form-item"),v=o("a-form-item-rest"),i=o("a-input"),x=o("a-input-group"),b=o("a-button"),g=o("a-form"),U=o("a-divider");return k(),T("div",null,[e(g,{model:t(l),"label-col":{lg:{span:5},sm:{span:5}},"wrapper-col":{lg:{span:19},sm:{span:19}},ref_key:"formRef",ref:_,rules:t(d)},{default:a(()=>[e(u,{label:"付款账户",name:"paymentUser"},{default:a(()=>[e(c,{value:t(l).paymentUser,"onUpdate:value":n[0]||(n[0]=r=>t(l).paymentUser=r),placeholder:"******@***.com"},{default:a(()=>[e(s,{value:"1"},{default:a(()=>[m("******@***.com")]),_:1})]),_:1},8,["value"])]),_:1}),e(u,{label:"收款账户",name:"payType"},{default:a(()=>[e(x,{style:{display:"inline-block","vertical-align":"middle"},compact:!0},{default:a(()=>[e(v,null,{default:a(()=>[e(c,{"default-value":"alipay",style:{width:"100px"}},{default:a(()=>[e(s,{value:"alipay"},{default:a(()=>[m("支付宝")]),_:1}),e(s,{value:"wexinpay"},{default:a(()=>[m("微信")]),_:1})]),_:1})]),_:1}),e(i,{value:t(l).payType,"onUpdate:value":n[1]||(n[1]=r=>t(l).payType=r),style:h({width:"calc(100% - 100px)"})},null,8,["value","style"])]),_:1})]),_:1}),e(u,{label:"收款人姓名",name:"name"},{default:a(()=>[e(i,{value:t(l).name,"onUpdate:value":n[2]||(n[2]=r=>t(l).name=r)},null,8,["value"])]),_:1}),e(u,{label:"转账金额",name:"money"},{default:a(()=>[e(i,{value:t(l).money,"onUpdate:value":n[3]||(n[3]=r=>t(l).money=r),prefix:"￥"},null,8,["value"])]),_:1}),e(u,{"wrapper-col":{span:19,offset:5}},{default:a(()=>[e(b,{type:"primary",onClick:y},{default:a(()=>[m("下一步 ")]),_:1})]),_:1})]),_:1},8,["model","rules"]),e(U),q])}}});export{K as default};
