"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[542],{35748:function(x,a,_){var o=_(35361),s=_(56929),i=_(50959),u=_(20734),m=_(11527),E=["fieldProps","min","proFieldProps","max"],D=function(t,P){var r=t.fieldProps,A=t.min,e=t.proFieldProps,h=t.max,c=(0,s.Z)(t,E);return(0,m.jsx)(u.Z,(0,o.Z)({valueType:"digit",fieldProps:(0,o.Z)({min:A,max:h},r),ref:P,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:e},c))},n=i.forwardRef(D);a.Z=n},39687:function(x,a,_){_.r(a);var o=_(90228),s=_.n(o),i=_(87999),u=_.n(i),m=_(48305),E=_.n(m),D=_(50959),n=_(49547),M=_(35748),t=_(50925),P=_(94675),r=_(3598),A=_(7485),e=_(11527),h=function(l){var C=t.Z.useForm(),F=E()(C,1),d=F[0],f=l.values;(0,D.useEffect)(function(){console.log(f,"values"),d.resetFields(),d.setFieldsValue(f)},[d,l]);var R=(0,A.useIntl)(),B=function(){d.submit()},b=function(){l.onCancel()},I=function(){var O=u()(s()().mark(function p(j){return s()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:l.onSubmit(j);case 1:case"end":return v.stop()}},p)}));return function(j){return O.apply(this,arguments)}}();return(0,e.jsx)(P.Z,{width:640,title:"\u8BBE\u5907\u8865\u8D34",open:l.open,forceRender:!0,destroyOnClose:!0,onOk:B,onCancel:b,children:(0,e.jsxs)(n.A,{form:d,submitter:!1,layout:"horizontal",onFinish:I,children:[(0,e.jsx)(M.Z,{name:"id",label:"ID",disabled:!0,hidden:!0}),(0,e.jsxs)(n.A.Group,{children:[(0,e.jsx)(n.A.Item,{label:"\u8BBE\u5907\u7C7B\u578B",name:"deviceType",children:(0,e.jsx)(r.Z,{addonAfter:"W",style:{width:150}})}),(0,e.jsx)(n.A.Item,{label:"\u8865\u8D34\u91D1\u989D",name:"amount",children:(0,e.jsx)(r.Z,{addonBefore:"\uFFE5",style:{width:150}})})]}),(0,e.jsxs)(n.A.Group,{children:[(0,e.jsx)(n.A.Item,{label:"\u4E0A\u4E0B\u6D6E\u52A8\u6BD4\u4F8B",name:"earingsFloat",children:(0,e.jsx)(r.Z,{addonAfter:"%",style:{width:150}})}),(0,e.jsx)(n.A.Item,{label:"\u57FA\u7840\u6536\u5165\u670D\u52A1\u8D39",name:"baseAmount",children:(0,e.jsx)(r.Z,{style:{width:150}})}),(0,e.jsx)(n.A.Item,{label:"\u4EA4\u4ED8\u65F6\u95F4",name:"deliverDate",children:(0,e.jsx)(r.Z,{addonAfter:"\u5929",style:{width:150}})})]})]})})};a.default=h}}]);
