"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8446],{34927:function(j,m,e){var a=e(35361),p=e(56929),h=e(89558),E=e(47186),F=e(50959),v=e(50756),B=e(20734),D=e(11527),_=["fieldProps","options","radioType","layout","proFieldProps","valueEnum"],O=F.forwardRef(function(u,r){var s=u.fieldProps,i=u.options,M=u.radioType,t=u.layout,f=u.proFieldProps,P=u.valueEnum,A=(0,p.Z)(u,_);return(0,D.jsx)(B.Z,(0,a.Z)((0,a.Z)({valueType:M==="button"?"radioButton":"radio",ref:r,valueEnum:(0,h.h)(P,void 0)},A),{},{fieldProps:(0,a.Z)({options:i,layout:t},s),proFieldProps:f,filedConfig:{customLightMode:!0}}))}),d=F.forwardRef(function(u,r){var s=u.fieldProps,i=u.children;return(0,D.jsx)(E.ZP,(0,a.Z)((0,a.Z)({},s),{},{ref:r,children:i}))}),R=(0,v.G)(d,{valuePropName:"checked",ignoreWidth:!0}),n=R;n.Group=O,n.Button=E.ZP.Button,n.displayName="ProFormComponent",m.Z=n},4871:function(j,m,e){e.r(m);var a=e(90228),p=e.n(a),h=e(87999),E=e.n(h),F=e(48305),v=e.n(F),B=e(5e4),D=e(49547),_=e(19014),O=e(34927),d=e(50959),R=e(2733),n=e(11527);m.default=function(u){var r=u.values,s=u.modalOpenState,i=u.onModalOpenState,M=u.onSubmit,t=(0,d.useRef)(),f=(0,d.useState)([]),P=v()(f,2),A=P[0],x=P[1],W=function(o){console.log(o)};(0,d.useEffect)(function(){var l;(l=t.current)===null||l===void 0||l.setFieldsValue(r)},[r]);var T=function(){var l=E()(p()().mark(function o(C){var b;return p()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,M(C);case 2:(b=t.current)===null||b===void 0||b.resetFields();case 3:case"end":return c.stop()}},o)}));return function(C){return l.apply(this,arguments)}}();return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(B.Y,{title:"513\u6D3B\u52A8-\u6DFB\u52A0",formRef:t,submitter:{searchConfig:{resetText:"\u91CD\u7F6E"},resetButtonProps:{onClick:function(){var o;(o=t.current)===null||o===void 0||o.resetFields()}}},initialValues:r,onFinish:T,open:s,onOpenChange:i,children:(0,n.jsxs)(D.A.Group,{children:[(0,n.jsx)(_.Z,{width:"md",name:"username",label:"\u7528\u6237\u540D",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]}),(0,n.jsx)(_.Z,{width:"md",name:"mobile",label:"\u624B\u673A\u53F7",placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7"},{pattern:/^1[3-9]\d{9}$/,message:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7"}]}),(0,n.jsx)(O.Z.Group,{label:"\u65F6\u95F4",name:"m",initialValue:"6\u6708",rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}],options:[{label:"6\u6708",value:"6\u6708"},{label:"12\u6708",value:"12\u6708"},{label:"24\u6708",value:"24\u6708"},{label:"36\u6708",value:"36\u6708"},{label:"48\u6708",value:"48\u6708"},{label:"60\u6708",value:"60\u6708"}]}),(0,n.jsx)(_.Z,{width:"md",name:["info","car_name"],label:"\u8F66\u8F86\u578B\u53F7",placeholder:"\u8BF7\u8F93\u5165\u8F66\u8F86\u578B\u53F7"}),(0,n.jsx)(_.Z,{width:"md",name:["info","realname"],label:"\u8F66\u4E3B\u59D3\u540D",placeholder:"\u8BF7\u8F93\u5165\u8F66\u4E3B\u59D3\u540D"}),(0,n.jsx)(_.Z,{width:"md",name:["info","plate_code"],label:"\u8F66\u724C\u53F7\u7801",placeholder:"\u8BF7\u8F93\u5165\u8F66\u724C\u53F7\u7801"}),(0,n.jsx)(_.Z,{width:"md",name:["info","car_code"],label:"\u8F66\u67B6\u53F7\u7801",placeholder:"\u8BF7\u8F93\u5165\u8F66\u67B6\u53F7\u7801"}),(0,n.jsx)(_.Z,{width:"md",name:["info","bank_num"],label:"\u8FD8\u6B3E\u5361\u53F7",placeholder:"\u8BF7\u8F93\u5165\u8FD8\u6B3E\u5361\u53F7"}),(0,n.jsx)(_.Z,{width:"md",name:["info","bank_name"],label:"\u94F6\u884C\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165\u94F6\u884C\u540D\u79F0"}),(0,n.jsx)(_.Z,{width:"md",name:["info","todate"],label:"\u8FD8\u6B3E\u65E5\u671F",placeholder:"\u8BF7\u8F93\u5165\u8FD8\u6B3E\u65E5\u671F"})]})})})}}}]);
