import y from"./order-table.f56076a1.js";import{c as D}from"./configs.ddfbc06f.js";import{q as B,B as E,a4 as F,r as l,o as h,n as x,t as e,H as a,v as m,bd as C,I as b,p as N,S as V}from"./index.7a111e62.js";const v=N("h1",{"text-xl":"","font-bold":"","py-2":""},"\u65B0\u5EFA\u91C7\u8D2D\u4ED8\u6B3E\u7533\u8BF7",-1),k=V("\u4FDD\u5B58"),A=B({__name:"index",props:{paymentList:null},emits:["createPayment"],setup(s,{emit:p}){const u=E(null),t=F({payNo:"",pay_fee:""});function _({payNo:o}){t.payNo=o}function f(){u.value.validate(o=>o&&p("createPayment",t))}return(o,r)=>{const n=l("el-form-item"),c=l("el-input"),i=l("el-button");return h(),x(b,null,[v,e(m(C),{ref_key:"formRef",ref:u,model:t,rules:m(D)},{default:a(()=>[e(n,{label:"\u8BA2\u5355\u5BF9\u8D26",prop:"payNo"},{default:a(()=>[e(y,{paymentList:s.paymentList,onChangePaymentDetail:_},null,8,["paymentList"])]),_:1}),e(n,{label:"\u4ED8\u6B3E\u91D1\u989D",prop:"pay_fee"},{default:a(()=>[e(c,{placeholder:"\u8BF7\u8F93\u5165\u4ED8\u6B3E\u91D1\u989D",modelValue:t.pay_fee,"onUpdate:modelValue":r[0]||(r[0]=d=>t.pay_fee=d)},null,8,["modelValue"])]),_:1}),e(n,{"pl-20":""},{default:a(()=>[e(i,{type:"primary",onClick:f},{default:a(()=>[k]),_:1})]),_:1})]),_:1},8,["model","rules"])],64)}}});export{A as default};
