"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[6826],{35748:function(j,l,e){var u=e(35361),d=e(56929),i=e(50959),P=e(50474),c=e(11527),E=["fieldProps","min","proFieldProps","max"],p=function(n,D){var h=n.fieldProps,f=n.min,F=n.proFieldProps,_=n.max,O=(0,d.Z)(n,E);return(0,c.jsx)(P.Z,(0,u.Z)({valueType:"digit",fieldProps:(0,u.Z)({min:f,max:_},h),ref:D,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:F},O))},a=i.forwardRef(p);l.Z=a},63394:function(j,l,e){e.r(l);var u=e(90228),d=e.n(u),i=e(87999),P=e.n(i),c=e(48305),E=e.n(c),p=e(50959),a=e(49547),A=e(35748),n=e(19014),D=e(50925),h=e(94675),f=e(7485),F=e(2733),_=e(11527),O=function(r){var v,C=D.Z.useForm(),x=E()(C,1),o=x[0],t=r.values;(0,p.useEffect)(function(){o.resetFields(),o.setFieldsValue(t)},[o,r]);var W=(0,f.useIntl)(),B=function(){o.submit()},b=function(){r.onCancel()},T=function(){var M=P()(d()().mark(function U(s){var m;return d()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:m=JSON.parse(JSON.stringify(s)),s.id||(delete m.merchantInfoUpdateParams,m.merchantInfoAddParams=s.merchantInfoUpdateParams),r.onSubmit(m);case 3:case"end":return I.stop()}},U)}));return function(s){return M.apply(this,arguments)}}();return(0,_.jsx)(h.Z,{width:800,title:"\u5546\u6237\u4FE1\u606F",open:r.open,forceRender:!0,destroyOnClose:!0,onOk:B,onCancel:b,children:(0,_.jsxs)(a.A,{form:o,grid:!0,submitter:!1,layout:"horizontal",onFinish:T,children:[(0,_.jsx)(A.Z,{name:"id",label:"ID",disabled:!0,hidden:!0}),(0,_.jsx)(a.A.Group,{}),(0,_.jsxs)(a.A.Group,{children:[(0,_.jsx)(n.Z,{name:["merchantInfoUpdateParams","id"],label:"\u5546\u6237\u540D\u79F0",colProps:{md:12,xl:12},placeholder:"\u8BF7\u8F93\u5165\u5546\u6237\u540D\u79F0",hidden:!0}),(0,_.jsx)(n.Z,{name:["merchantInfoUpdateParams","merchantName"],label:"\u5546\u6237\u540D\u79F0",colProps:{md:12,xl:12},placeholder:"\u8BF7\u8F93\u5165\u5546\u6237\u540D\u79F0"}),(0,_.jsx)(a.A.Item,{label:"\u8425\u4E1A\u6267\u7167",name:["merchantInfoUpdateParams","licenseImage"],children:(0,_.jsx)(F.Z,{fileType:"image",defaultValue:t==null||(v=t.merchantInfoUpdateParams)===null||v===void 0?void 0:v.licenseImage,count:1,mode:""})}),(0,_.jsx)(n.Z,{name:["merchantInfoUpdateParams","orgCode"],label:"\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",colProps:{md:12,xl:12},placeholder:"\u8BF7\u8F93\u5165\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"}),(0,_.jsx)(n.Z,{name:["merchantInfoUpdateParams","licenseNo"],label:"\u8425\u4E1A\u6267\u7167\u7F16\u7801",colProps:{md:12,xl:12},placeholder:"\u8BF7\u8F93\u5165\u8425\u4E1A\u6267\u7167\u7F16\u7801"}),(0,_.jsx)(n.Z,{name:["merchantInfoUpdateParams","invoice"],label:"\u5F00\u7968\u516C\u53F8",colProps:{md:12,xl:12},placeholder:"\u8BF7\u8F93\u5165\u5F00\u7968\u516C\u53F8"}),(0,_.jsx)(n.Z,{name:["merchantInfoUpdateParams","headName"],label:"\u8D1F\u8D23\u4EBA\u540D\u79F0",colProps:{md:12,xl:12},placeholder:"\u8BF7\u8F93\u5165\u8D1F\u8D23\u4EBA\u540D\u79F0"}),(0,_.jsx)(n.Z,{name:["merchantInfoUpdateParams","contactPhone"],label:"\u8054\u7CFB\u7535\u8BDD",colProps:{md:12,xl:12},placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD"})]})]})})};l.default=O}}]);
