import D from"./order-table.ed91ab41.js";import{a as y}from"./index.33cb24a8.js";import{c as B}from"./rules.21a487e9.js";import{u as h}from"./use-response-handle.f995d678.js";import{q as E,B as x,a4 as C,r as l,o as F,n as N,t as e,H as o,v as m,bd as b,I as V,p as v,S as _}from"./index.7a111e62.js";import"./index.5188fe49.js";const g=v("h1",{"text-xl":"","font-bold":"","py-2":""},"\u65B0\u5EFA\u91C7\u8D2D\u4ED8\u6B3E\u7533\u8BF7",-1),k=_("\u4FDD\u5B58"),w=_("\u53D6\u6D88"),S=E({__name:"index",setup(A){const d=h(),r=x(null),t=C({payNo:"",pay_fee:""});function f({payNo:n}){t.payNo=n}function c(){r.value.validate(async n=>{if(!n)return;const{code:u,message:a,data:s}=await y(t);d({code:u,message:a,handler:()=>{}})})}return(n,u)=>{const a=l("el-form-item"),s=l("el-input"),p=l("el-button");return F(),N(V,null,[g,e(m(b),{ref_key:"formRef",ref:r,model:t,rules:m(B)},{default:o(()=>[e(a,{label:"\u91C7\u8D2D\u8BA2\u5355",prop:"payNo"},{default:o(()=>[e(D,{onChangeOrderDetail:f})]),_:1}),e(a,{label:"\u4ED8\u6B3E\u91D1\u989D",prop:"pay_fee"},{default:o(()=>[e(s,{placeholder:"\u8BF7\u8F93\u5165\u4ED8\u6B3E\u91D1\u989D",modelValue:t.pay_fee,"onUpdate:modelValue":u[0]||(u[0]=i=>t.pay_fee=i)},null,8,["modelValue"])]),_:1}),e(a,{"pl-20":""},{default:o(()=>[e(p,{type:"primary",onClick:c},{default:o(()=>[k]),_:1}),e(p,null,{default:o(()=>[w]),_:1})]),_:1})]),_:1},8,["model","rules"])],64)}}});export{S as default};
