webpackJsonp([110],{2244:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});varn=r(3072);Object.defineProperty(t,"model",{enumerable:!0,get:function(){returno(n).default}});vara=r(3444);Object.defineProperty(t,"descriptor",{enumerable:!0,get:function(){returno(a).default}});vari=r(4054);functiono(e){returne&&e.__esModule?e:{default:e}}Object.defineProperty(t,"default",{enumerable:!0,get:function(){returno(i).default}})},2299:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;varn,a,i,o,s,l=k(r(34)),u=k(r(39)),c=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varr=arguments[t];for(varninr)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}returne},f=function(){functione(e,t){for(varr=0;r<t.length;r++){varn=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}returnfunction(t,r,n){returnr&&e(t.prototype,r),n&&e(t,n),t}}();r(40);vard=r(0),p=k(d),m=r(23),b=k(r(33)),h=k(r(130));r(2301);varv=r(20),y=r(25),g=(r(564),r(59)),x=k(r(565));functionk(e){returne&&e.__esModule?e:{default:e}}function_(e){returnfunction(){vart=e.apply(this,arguments);returnnewPromise(function(e,r){returnfunctionn(a,i){try{varo=t[a](i),s=o.value}catch(e){returnvoidr(e)}if(!o.done)returnPromise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)});e(s)}("next")})}}m.Steps.Pre,m.Steps.Next,m.Steps.StepWrapper,h.default.getInstance(),u.default.confirm;varw=(n=(0,v.inject)("UserContext"),a=(0,v.inject)("i18n"),(0,g.withRouter)(i=n(i=a(i=(0,v.observer)((o=function(e){functiont(e){varr=this;!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,t);varn=function(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));returnfunction(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void0})}(n,"formBlur",s,n),n.onRtn=_(l.default.mark(functione(){vart,a,i;returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:returnn.formBlur=!0,e.next=3,b.default.post(n.props.extra.inifrm+"/exi",{});case3:e.sent,window.History.prototype.selHistory?(t=window.History.prototype.selHistory.pathname,a=window.History.prototype.selHistory.parentKey?window.History.prototype.selHistory.parentKey:"",i=window.History.prototype.selHistory.goData?window.History.prototype.selHistory.goData:"",window.History.prototype.selHistory=null,n.props.history.push({pathname:t,query:{key:a,goData:i}})):n.props.history.go(-1);case5:case"end":returne.stop()}},e,r)})),n.onRtn1=_(l.default.mark(functione(){returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:n.formBlur=!0,n.props.history.go(-1);case2:case"end":returne.stop()}},e,r)})),n.onRtnPed=_(l.default.mark(functione(){vart;returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:returnt="x",e.next=3,b.default.post(n.props.extra.inifrm+"/ped",{params:{rtnflg:t},data:n.props.model});case3:if(rtnmsg=e.sent,rtnmsg.retcod!=SUCCESS){e.next=10;break}m.Notification.success({message:rtnmsg.retmsg}),n.props.model.spt_inr=rtnmsg.data.spt_inr,n.onRtn(),e.next=12;break;case10:returnm.Notification.error({message:rtnmsg.retmsg}),e.abrupt("return",!0);case12:case"end":returne.stop()}},e,r)})),n.onPed=_(l.default.mark(functione(){returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:returnn.formBlur=!0,e.next=3,b.default.post(n.props.extra.inifrm+"/ped",{data:n.model});case3:if(rtnmsg=e.sent,rtnmsg.retcod!=SUCCESS){e.next=10;break}returnm.Notification.success({message:rtnmsg.retmsg}),n.props.model.spt_inr=rtnmsg.data.spt_inr,e.abrupt("return",!0);case10:returnm.Notification.error({message:rtnmsg.retmsg}),e.abrupt("return",!0);case12:case"end":returne.stop()}},e,r)})),n.onImgmod_refreshAll=function(){vare=_(l.default.mark(functione(t){vara,i,o;returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:returna={},i=t.join("-"),t.forEach(function(e){a["imgmod_img"+e.toLowerCase()]=n.model["imgmod_img"+e.toLowerCase()]}),console.dir(a),e.next=6,b.default.post(n.props.extra.inifrm+"/imgmod_refreshall",{params:{imgtyp:i},data:c({},a)});case6:(o=e.sent).retcod==SUCCESS&&(0,y.runInAction)(function(){t.forEach(function(e){n.model["imgmod_img"+e.toLowerCase()]=o.data["imgmod_img"+e.toLowerCase()]})});case8:case"end":returne.stop()}},e,r)}));returnfunction(t){returne.apply(this,arguments)}}(),n.onChk=function(){returnn.props.page&&(n.props.page.formBlur=!0),m.Validator.validate(n.model,n.model.descriptor,function(){vare=_(l.default.mark(functione(t,a){vari,o,s,u,c,f,d,p,b,h,v,y,g,k,_,w,E,z,O,j,S,P,C,N,I,L,B,T,M;returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:if(!t){e.next=6;break}return1===t.length?m.Notification.error({message:""+t[0].message}):m.Notification.error({message:"数据检核失败!请完善信息"}),n.props.steps&&n.props.steps.findFirstItem(t),e.abrupt("return",!0);case6:if(i=!0,o=!0,s="",!n.props.extra.codes){e.next=100;break}u=n.props.extra.codes,c=!0,f=!0,d=!1,p=void0,e.prev=15,b=u[Symbol.iterator]();case17:if(f=(h=b.next()).done){e.next=34;break}if(v=h.value,c){e.next=21;break}returne.abrupt("break",34);case21:if(!(y=n.model["imgmod_img"+v.toLowerCase()])){e.next=31;break}g=0;case24:if(!(g<y.length)){e.next=31;break}if(y[g].filid){e.next=28;break}returnc=!1,e.abrupt("break",31);case28:g++,e.next=24;break;case31:f=!0,e.next=17;break;case34:e.next=40;break;case36:e.prev=36,e.t0=e.catch(15),d=!0,p=e.t0;case40:e.prev=40,e.prev=41,!f&&b.return&&b.return();case43:if(e.prev=43,!d){e.next=46;break}throwp;case46:returne.finish(43);case47:returne.finish(40);case48:if(c){e.next=51;break}returne.next=51,n.onImgmod_refreshAll(u);case51:k=!0,_=!1,w=void0,e.prev=54,E=u[Symbol.iterator]();case56:if(k=(z=E.next()).done){e.next=86;break}if(O=z.value,i){e.next=60;break}returne.abrupt("break",86);case60:if(!(y=n.model["imgmod_img"+O.toLowerCase()])){e.next=83;break}j=0;case63:if(!(j<y.length)){e.next=83;break}if(y[j].filid){e.next=69;break}returni=!1,o=!1,s=n.onLable(O,s),e.abrupt("break",83);case69:if("INV"!=O&&"INVD"!=O){e.next=76;break}if(!(!y[j].invnum||!y[j].invcod||y[j].invnum&&y[j].invnum.length>20||y[j].invcod&&y[j].invcod.length>20||y[j].untamt&&y[j].untamt.length>19)&&(0,x.default)(y[j].invnum,"x")&&(0,x.default)(y[j].invcod,"x")){e.next=74;break}returni=!1,s=n.onLable(O,s),e.abrupt("break",83);case74:e.next=80;break;case76:if(y[j].imgtypcod&&!(y[j].fildoc&&y[j].fildoc.length>60)){e.next=80;break}returns=n.onLable(O,s),i=!1,e.abrupt("break",83);case80:j++,e.next=63;break;case83:k=!0,e.next=56;break;case86:e.next=92;break;case88:e.prev=88,e.t1=e.catch(54),_=!0,w=e.t1;case92:e.prev=92,e.prev=93,!k&&E.return&&E.return();case95:if(e.prev=95,!_){e.next=98;break}throww;case98:returne.finish(95);case99:returne.finish(92);case100:if(!i){e.next=139;break}if(!n.props.extra.requiredCode){e.next=136;break}S=n.props.extra.requiredCode,P=!0,C=!0,N=!1,I=void0,e.prev=107,L=S[Symbol.iterator]();case109:if(C=(B=L.next()).done){e.next=119;break}if(T=B.value,(M=n.model["imgmod_img"+T.toLowerCase()])&&(!M||0!=M.length)){e.next=116;break}returnP=!1,s=n.onLable(T,s),e.abrupt("break",119);case116:C=!0,e.next=109;break;case119:e.next=125;break;case121:e.prev=121,e.t2=e.catch(107),N=!0,I=e.t2;case125:e.prev=125,e.prev=126,!C&&L.return&&L.return();case128:if(e.prev=128,!N){e.next=131;break}throwI;case131:returne.finish(128);case132:returne.finish(125);case133:P?m.Notification.success({message:"数据检核成功!"}):(n.props.steps.go("影像"),m.Notification.error({message:"必须上传"+s+"!"})),e.next=137;break;case136:m.Notification.success({message:"数据检核成功!"});case137:e.next=141;break;case139:n.props.steps.go("影像"),o?m.Notification.error({message:"影像信息检核失败!"}):m.Notification.error({message:s+"影像id不存在,请稍等刷新重试!"});case141:returne.abrupt("return",!0);case142:case"end":returne.stop()}},e,r,[[15,36,40,48],[41,,43,47],[54,88,92,100],[93,,95,99],[107,121,125,133],[126,,128,132]])}));returnfunction(t,r){returne.apply(this,arguments)}}())},n.onSav=function(){returnn.props.page&&(n.props.page.formBlur=!0),m.Validator.validate(n.model,n.model.descriptor,function(){vare=_(l.default.mark(functione(t,a){vari,o,s,u,c,f,d,p,h,v,y,g,k,_,w,E,z,O,j,S,P,C;returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:if(!t){e.next=4;break}return1===t.length?m.Notification.error({message:""+t[0].message}):m.Notification.error({message:"数据检核失败!请完善信息"}),n.props.steps&&n.props.steps.findFirstItem(t),e.abrupt("return",!0);case4:if(i=!0,o=!0,s="",!n.props.extra.codes){e.next=56;break}u=n.props.extra.codes,c=!0,f=!1,d=void0,e.prev=12,p=u[Symbol.iterator]();case14:if(c=(h=p.next()).done){e.next=42;break}if(v=h.value,i){e.next=18;break}returne.abrupt("break",42);case18:if(!(y=n.model["imgmod_img"+v.toLowerCase()])){e.next=39;break}g=0;case21:if(!(g<y.length)){e.next=39;break}if(s=n.onLable(v,s),y[g].filid){e.next=27;break}returni=!1,o=!1,e.abrupt("break",39);case27:if("INV"!=v&&"INVD"!=v){e.next=33;break}if(!(!y[g].invnum||!y[g].invcod||y[g].invnum&&y[g].invnum.length>20||y[g].invcod&&y[g].invcod.length>20||y[g].untamt&&y[g].untamt.length>19)&&(0,x.default)(y[g].invnum,"x")&&(0,x.default)(y[g].invcod,"x")){e.next=31;break}returni=!1,e.abrupt("break",39);case31:e.next=36;break;case33:if(y[g].imgtypcod&&!(y[g].fildoc&&y[g].fildoc.length>60)){e.next=36;break}returni=!1,e.abrupt("break",39);case36:g++,e.next=21;break;case39:c=!0,e.next=14;break;case42:e.next=48;break;case44:e.prev=44,e.t0=e.catch(12),f=!0,d=e.t0;case48:e.prev=48,e.prev=49,!c&&p.return&&p.return();case51:if(e.prev=51,!f){e.next=54;break}throwd;case54:returne.finish(51);case55:returne.finish(48);case56:if(i){e.next=60;break}returnn.props.steps.go("影像"),o?m.Notification.error({message:"影像信息检核失败!"}):m.Notification.error({message:s+"影像id不存在,请稍等刷新重试!"}),e.abrupt("return",!0);case60:if(!n.props.extra.requiredCode){e.next=96;break}k=n.props.extra.requiredCode,_=!0,w=!0,E=!1,z=void0,e.prev=66,O=k[Symbol.iterator]();case68:if(w=(j=O.next()).done){e.next=78;break}if(S=j.value,(P=n.model["imgmod_img"+S.toLowerCase()])&&(!P||0!=P.length)){e.next=75;break}return_=!1,s=n.onLable(S,s),e.abrupt("break",78);case75:w=!0,e.next=68;break;case78:e.next=84;break;case80:e.prev=80,e.t1=e.catch(66),E=!0,z=e.t1;case84:e.prev=84,e.prev=85,!w&&O.return&&O.return();case87:if(e.prev=87,!E){e.next=90;break}throwz;case90:returne.finish(87);case91:returne.finish(84);case92:if(_){e.next=96;break}returnn.props.steps.go("影像"),m.Notification.error({message:"必须上传"+s+"!"}),e.abrupt("return",!0);case96:returne.next=98,(0,m.OpenConfirm)(n.props.extra.inifrm,{model:n.model});case98:if(e.sent){e.next=101;break}returne.abrupt("return",!0);case101:returnn.props.extra.sptinr,C=n.props.extra.oldinr,e.next=105,b.default.postsafe(n.props.extra.inifrm+"/sav",{display:n.model.getDisplay(),params:{oldinr:C},data:n.model});case105:if(rtnmsg=e.sent,rtnmsg.retcod!=SUCCESS){e.next=111;break}returnn.onRtn(),e.abrupt("return",!0);case111:returnrtnmsg.retmsg?m.Notification.error({message:rtnmsg.retmsg}):m.Notification.error({message:"交易提交失败,请重试!"}),e.abrupt("return",!0);case113:case"end":returne.stop()}},e,r,[[12,44,48,56],[49,,51,55],[66,80,84,92],[85,,87,91]])}));returnfunction(t,r){returne.apply(this,arguments)}}())},n.onRecal=_(l.default.mark(functione(){vart;returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:returnn.formBlur=!0,e.next=3,b.default.post(n.props.extra.inifrm+"/setmod_ast",{data:n.model});case3:(t=e.sent).retcod==SUCCESS?(n.model.fegmod_feslst=t.data.fegmod_feslst,n.model.glgmod_glslst=t.data.glgmod_glslst,n.model.glemod_glelst=t.data.glemod_glelst,0!=t.data.setmod_docamt&&(n.model.setmod_docamt=t.data.setmod_docamt,n.model.setmod_doccur=t.data.setmod_doccur),n.model.setmod_feemac=t.data.setmod_feemac,n.model.setmod_setmac=t.data.setmod_setmac,n.model.acrmod_acrlst=t.data.acrmod_acrlst,n.model.acrmod_acelst=t.data.acrmod_acelst):m.Notification.error({message:"服务端请求失败!"});case5:case"end":returne.stop()}},e,r)})),n.onRecal1=_(l.default.mark(functione(){vart;returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:returnn.formBlur=!0,e.next=3,b.default.post(n.props.extra.inifrm+"/setmod_recal",{data:n.model});case3:(t=e.sent).retcod==SUCCESS&&-1===t.retmsg.indexOf("系统内部错误")?(n.model.fegmod_feslst=t.data.fegmod_feslst,n.model.glgmod_glslst=t.data.glgmod_glslst,n.model.glemod_glelst=t.data.glemod_glelst,0!=t.data.setmod_docamt&&(n.model.setmod_docamt=t.data.setmod_docamt,n.model.setmod_doccur=t.data.setmod_doccur),n.model.setmod_feemac=t.data.setmod_feemac,n.model.setmod_setmac=t.data.setmod_setmac):t.retmsg?m.Notification.error({message:"系统内部错误!"}):m.Notification.error({message:"服务端请求失败!"});case5:case"end":returne.stop()}},e,r)})),n.onRecal2=_(l.default.mark(functione(){vart;returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:returnn.formBlur=!0,e.next=3,b.default.post(n.props.extra.inifrm+"/liaall_astlia",{data:n.model});case3:(t=e.sent).retcod==SUCCESS?(n.model.liaccv_liaccvg=t.data.liaccv_liaccvg,n.model.liaall_liaallg=t.data.liaall_liaallg,n.model.liaccv_concur=t.data.liaccv_concur,n.model.liaccv_newamt=t.data.liaccv_newamt,n.model.liaccv_chgamt=t.data.liaccv_chgamt,n.model.liaccv_pctresamt=t.data.liaccv_pctresamt,n.model.liaccv_totcovamt=t.data.liaccv_totcovamt,n.model.liaccv_relcshpct=t.data.liaccv_relcshpct):m.Notification.error({message:"服务端请求失败!"});case5:case"end":returne.stop()}},e,r)})),n.onRebook=_(l.default.mark(functione(){returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:n.onRecal1();case1:case"end":returne.stop()}},e,r)})),n.onReldoc=_(l.default.mark(functione(){vart;returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:returnn.formBlur=!0,e.next=3,b.default.post(n.props.extra.inifrm+"/trndoc_reldoc",{data:n.model});case3:(t=e.sent).retcod==SUCCESS?n.model.docmod_doclst=t.data.docmod_doclst:m.Notification.error({message:"服务端请求失败!"});case5:case"end":returne.stop()}},e,r)})),n.onLimmod_astlim=_(l.default.mark(functione(){vart,a;returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:returnn.formBlur=!0,e.next=3,b.default.post(n.props.extra.inifrm+"/limmod_astlim",{data:n.model});case3:if((t=e.sent).retcod!=SUCCESS){e.next=12;break}return(0,y.runInAction)(function(){Object.assign(n.model,t.data)}),a=[],t.codetable.limmod_dir1&&a.push(t.codetable.limmod_dir1),t.codetable.limmod_inv1&&a.push(t.codetable.limmod_inv1),e.abrupt("return",a);case12:m.Notification.error({message:"服务端请求失败!"});case13:case"end":returne.stop()}},e,r)})),n.model=e.model,n.bind=m.Bind.bind(n),n}returnfunction(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,d.Component),f(t,[{key:"componentWillMount",value:function(){vare=_(l.default.mark(functione(){returnl.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:case"end":returne.stop()}},e,this)}));returnfunction(){returne.apply(this,arguments)}}()},{key:"componentWillUnmount",value:function(){}},{key:"onLable",value:function(e,t){switch(e){case"CON":t="合同影像信息";break;case"INV":t="发票影像信息";break;case"INVD":t="寄单索款发票影像信息";break;case"LC":t="单证影像信息";break;case"DOC":t="交单单据附件影像信息";break;case"ASAD":t="资产信息补录影像信息";break;case"AS":t="资产登记附件影像信息";break;default:t="影像信息"}returnt}},{key:"render",value:function(){this.bind;returnwindow.DISPLAY_MODE?p.default.createElement("div",{style:{position:"absolute",bottom:"0px",width:"100%",height:"50px",background:"white",zIndex:999}}):null}}]),t}(),s=function(e,t,r,n,a){vari={};returnObject.keys(n).forEach(function(e){i[e]=n[e]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"ini||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce(function(r,n){returnn(e,t,r)||r},i),a&&void0!==i.initializer&&(i.value=i.initializer?i.initializer.call(a):void0,i.initializer=void0),void0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}(o.prototype,"formBlur",[y.observable],{enumerable:!0,initializer:function(){return!1}}),i=o))||i)||i)||i)||i);t.default=w},2301:function(e,t){},2352:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;varn,a,i,o,s,l=w(r(62)),u=w(r(60)),c=w(r(34)),f=w(r(39)),d=function(){functione(e,t){for(varr=0;r<t.length;r++){varn=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}returnfunction(t,r,n){returnr&&e(t.prototype,r),n&&e(t,n),t}}();r(63),r(61),r(40);varp=w(r(0)),m=r(23),b=w(r(271)),h=w(r(33)),v=w(r(130));r(2301);vary=r(20),g=r(25),x=(r(564),r(59)),k=w(r(2299)),_=w(r(89));functionw(e){returne&&e.__esModule?e:{default:e}}functionE(e){returnfunction(){vart=e.apply(this,arguments);returnnewPromise(function(e,r){returnfunctionn(a,i){try{varo=t[a](i),s=o.value}catch(e){returnvoidr(e)}if(!o.done)returnPromise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)});e(s)}("next")})}}varz=v.default.getInstance(),O=(m.Steps.Pre,m.Steps.Next,m.Steps.StepWrapper,f.default.confirm,n=(0,y.inject)("UserContext"),a=(0,y.inject)("i18n"),(0,x.withRouter)(i=n(i=a(i=(0,y.observer)((o=function(e){functiont(e){varr=this;!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,t);varn=function(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));returnfunction(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void0})}(n,"formBlur",s,n),n.onTabFocus=E(c.default.mark(functione(){returnc.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:n.com.wrappedInstance.wrappedInstance.onReldoc();case1:case"end":returne.stop()}},e,r)})),n.onTrndoc_butshw=function(){vare=E(c.default.mark(functione(t){vara,i,o,s,l;returnc.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:returnn.formBlur=!0,a=t.cortyp,n.model.trndoc_doccod=t.id,n.model.trndoc_cortyp=a,e.next=6,h.default.post(n.props.extra.inifrm+"/trndoc_butshw",{data:n.model});case6:rtnmsg=e.sent,rtnmsg.retcod==SUCCESS?"ELC"==a?f.default.info({title:"电证报文",content:p.default.createElement("div",{style:{height:400,overflow:"auto"}},p.default.createElement(b.default,{mty:t.id,message:rtnmsg.data["\\trnmod\\trndoc\\docinf"]})),width:1e3,okText:"关闭"}):"LCF"==a?f.default.info({title:"福费廷报文",content:p.default.createElement("div",{style:{height:400,overflow:"auto"}},p.default.createElement(b.default,{mty:t.id,message:rtnmsg.data["\\trnmod\\trndoc\\docinf"]})),width:1e3,okText:"关闭"}):"CSS"==a?f.default.info({title:"平台外发票报文",content:p.default.createElement("div",{style:{height:400,overflow:"auto"}},p.default.createElement(b.default,{mty:t.id,message:rtnmsg.data["\\trnmod\\trndoc\\docinf"]})),width:1e3,okText:"关闭"}):(i="/esfeserver"+rtnmsg.data.trndoc_docpth,o="./pdfjs/web/viewer.html",s=void0,s=rtnmsg.data.trndoc_docpth.lastIndexOf("/")>0?""+rtnmsg.data.trndoc_docpth.substr(rtnmsg.data.trndoc_docpth.lastIndexOf("/")+1):rtnmsg.data.trndoc_docpth,l=_.default.getUser().split("").reverse().join(""),o+="?file="+i+"_"+l+"_"+(0,m.encodeResMD5)(_.default.getUser(),s),window.open(o,"newwindow","height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no")):m.Notification.error({message:"服务端请求失败!"});case8:case"end":returne.stop()}},e,r)}));returnfunction(t){returne.apply(this,arguments)}}(),n.doclstHeader=[{title:p.default.createElement(m.Label,{i18nId:"TRNDOC_TH004773"}),dataIndex:"role",key:"role",width:60,render:function(e,t,r){varn=e,a=z.rol.find(function(t){returnt.value==e});returna&&(n=a.label),n}},{title:p.default.createElement(m.Label,{i18nId:"TRNDOC_TH004775"}),dataIndex:"cortyp",key:"cortyp",width:60,render:function(e,t,r){varn=e,a=z.cortyp&&z.cortyp.find(function(t){returnt.value==e});returna&&(n=a.label),n}},{title:p.default.createElement(m.Label,{value:"凭证代码"}),dataIndex:"id",key:"id",width:60},{title:p.default.createElement(m.Label,{value:"凭证名称"}),dataIndex:"docnam",key:"docnam",width:100},{title:"操作",dataIndex:"op",key:"op",width:60,render:function(e,t,r){returnp.default.createElement("div",null,n.model.inDisplay?null:p.default.createElement("a",{href:"javascript:void(0)",onClick:function(){returnn.onTrndoc_butshw(t)}},"显示"))}}],n.model=e.model,n.bind=m.Bind.bind(n),n}returnfunction(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,m.Page),d(t,[{key:"componentWillMount",value:function(){vare=E(c.default.mark(functione(){returnc.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:case"end":returne.stop()}},e,this)}));returnfunction(){returne.apply(this,arguments)}}()},{key:"componentWillUnmount",value:function(){}},{key:"renderPage",value:function(){vare=this;this.bind,this.props.i18n;returnp.default.createElement("div",{style:{position:"relative"}},p.default.createElement(k.default,{wrappedComponentRef:function(t){returne.com=t},extra:this.props.extra,steps:this.props.steps,model:this.model}),p.default.createElement(u.default,null,p.default.createElement(l.default,null,p.default.createElement(u.default,null,p.default.createElement(m.Label,{i18nId:"TRNDOC_LT004772"}),p.default.createElement(m.Table,{pagination:{pageSize:10,hideOnSinglePage:!0},rowKey:function(e,t){return""+e.role+e.id},columns:this.doclstHeader,dataSource:[].concat(function(e){if(Array.isArray(e)){for(vart=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];returnr}returnArray.from(e)}(this.model.docmod_doclst?this.model.docmod_doclst:[])),scroll:{x:340}})))),p.default.createElement(m.BottomBtn,{_this:this}))}}]),t}(),s=function(e,t,r,n,a){vari={};returnObject.keys(n).forEach(function(e){i[e]=n[e]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"ini||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce(function(r,n){returnn(e,t,r)||r},i),a&&void0!==i.initializer&&(i.value=i.initializer?i.initializer.call(a):void0,i.initializer=void0),void0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}(o.prototype,"formBlur",[g.observable],{enumerable:!0,initializer:function(){return!1}}),i=o))||i)||i)||i)||i);t.default=O},2450:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;varn,a,i,o,s,l=k(r(60)),u=k(r(62)),c=k(r(39)),f=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varr=arguments[t];for(varninr)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}returne},d=function(){functione(e,t){for(varr=0;r<t.length;r++){varn=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}returnfunction(t,r,n){returnr&&e(t.prototype,r),n&&e(t,n),t}}();r(61),r(63),r(40);varp=r(0),m=k(p),b=r(23),h=(k(r(33)),k(r(130)));r(2301);varv=r(20),y=r(25),g=r(564),x=r(59);functionk(e){returne&&e.__esModule?e:{default:e}}b.Steps.Pre,b.Steps.Next,b.Steps.StepWrapper,h.default.getInstance(),c.default.confirm;var_=(n=(0,v.inject)("UserContext"),a=(0,v.inject)("i18n"),(0,x.withRouter)(i=n(i=a(i=(0,v.observer)((o=function(e){functiont(e){!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,t);varr=function(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));returnfunction(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void0})}(r,"formBlur",s,r),r.childEvevnt=function(e){r.child=e},r.handleClick=function(){r.child.handleClick()},r.model=e.model,r.bind=b.Bind.bind(r),r}returnfunction(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,p.Component),d(t,[{key:"render",value:function(){vare=this,t=this.bind,r=this.props.argArr,n=r.flag,a=r.desc,i=r.prefix,o=r.url?r.url:"assrgn/assp_rolsel",s=r.datakey?r.datakey:"assp_ptylst",c=this.props.IsLast?a+"行号"+this.props.IsLast:a+"行号",d=this.props.IsLast?a+"行名"+this.props.IsLast:a+"行名",p=i?i+"bnkcod":"bnkcod",h=i?i+"bnknam":"bnknam",v=this.props.Aline?12:24;r.prefix1&&(p+=r.prefix1,h+=r.prefix1);vary=this.props.valueDate;returnm.default.createElement(l.default,null,m.default.createElement(u.default,{span:v},m.default.createElement(l.default,{className:"row"},m.default.createElement(u.default,{span:5,offset:2},m.default.createElement(b.Label,{value:c})),m.default.createElement(u.default,{span:11},m.default.createElement(b.InputItem,{InputProps:f({},t(p),{onAfterChange:function(t){e.model[h]=""},onPressEnter:this.handleClick,formBlur:this.props.formBlur}),disabled:this.props.isDisabled})),m.default.createElement(u.default,{span:1},y&&1==y?m.default.createElement("span",{className:"spanTitleT"},"*"):""),m.default.createElement(u.default,{span:1,offset:1},m.default.createElement(g.PtyPickerAssp,{url:o,model:this.model,dataKey:s,prefix:{bnknam:h,bnkcod:p},disabled:this.props.isDisabled||this.model.inDisplay||n,bnkcod:this.model[p],childEvevnt:this.childEvevnt})))),m.default.createElement(u.default,{span:v},m.default.createElement(l.default,{className:"row"},m.default.createElement(u.default,{span:5,offset:2},m.default.createElement(b.Label,{value:d})),m.default.createElement(u.default,{span:14},m.default.createElement(b.InputItem,{InputProps:f({},t(h),{formBlur:this.props.formBlur}),disabled:!this.props.isOpen&&!0})),y?m.default.createElement(u.default,{span:1},1==y?m.default.createElement("span",{className:"spanTitleT"},"*"):""):null)))}}]),t}(),s=function(e,t,r,n,a){vari={};returnObject.keys(n).forEach(function(e){i[e]=n[e]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"ini||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce(function(r,n){returnn(e,t,r)||r},i),a&&void0!==i.initializer&&(i.value=i.initializer?i.initializer.call(a):void0,i.initializer=void0),void0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}(o.prototype,"formBlur",[y.observable],{enumerable:!0,initializer:function(){return!1}}),i=o))||i)||i)||i)||i);t.default=_},3072:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});varn,a,i,o,s,l,u,c,f,d,p,m,b,h,v,y,g,x,k,_,w,E,z,O,j,S,P,C,N,I,L,B,T,M,R,D,U,A,q,H,F,G,W,V,K,Y,J,Z,$,Q,X,ee,te,re,ne,ae,ie,oe,se,le,ue,ce,fe,de,pe,me,be,he,ve,ye,ge,xe,ke=function(){functione(e,t){for(varr=0;r<t.length;r++){varn=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}returnfunction(t,r,n){returnr&&e(t.prototype,r),n&&e(t,n),t}}(),_e=r(25),we=function(e){returne&&e.__esModule?e:{default:e}}(r(3444)),Ee=r(270);functionze(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void0})}functionOe(e,t,r,n,a){vari={};returnObject.keys(n).forEach(function(e){i[e]=n[e]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"ini||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce(function(r,n){returnn(e,t,r)||r},i),a&&void0!==i.initializer&&(i.value=i.initializer?i.initializer.call(a):void0,i.initializer=void0),void0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}varje=(0,Ee.modelWrapper)((a=function(){functione(){!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,e),ze(this,"buyinr",i,this),ze(this,"seldat",o,this),ze(this,"accamt",s,this),ze(this,"accdat",l,this),ze(this,"agefeeamt",u,this),ze(this,"amedat",c,this),ze(this,"aplnam",f,this),ze(this,"assbustyp",d,this),ze(this,"assownbnkcod",p,this),ze(this,"assownbnknam",m,this),ze(this,"assposref",b,this),ze(this,"assregref",h,this),ze(this,"assregtyp",v,this),ze(this,"asssta",y,this),ze(this,"asstrsnbr",g,this),ze(this,"avbby",x,this),ze(this,"bennam",k,this),ze(this,"buysel",_,this),ze(this,"claamt",w,this),ze(this,"conbnkcod",E,this),ze(this,"conbnknam",z,this),ze(this,"credat",O,this),ze(this,"disrat",j,this),ze(this,"docamt",S,this),ze(this,"docdsp",P,this),ze(this,"docref",C,this),ze(this,"docsta",N,this),ze(this,"endtyp",I,this),ze(this,"etyextkey",L,this),ze(this,"feeamt",B,this),ze(this,"fftamt",T,this),ze(this,"fftbenadr",M,this),ze(this,"fftbennam",R,this),ze(this,"fftbensoccod",D,this),ze(this,"fftdat",U,this),ze(this,"fftexpdat",A,this),ze(this,"finbnkcod",q,this),ze(this,"finbnknam",H,this),ze(this,"findat",F,this),ze(this,"findsp",G,this),ze(this,"inr",W,this),ze(this,"issbnkcod",V,this),ze(this,"issbnknam",K,this),ze(this,"issdat",Y,this),ze(this,"lcchntyp",J,this),ze(this,"lcref",Z,this),ze(this,"matdat",$,this),ze(this,"nam",Q,this),ze(this,"ownbch",X,this),ze(this,"ownref",ee,this),ze(this,"ownusr",te,this),ze(this,"prebnkcod",re,this),ze(this,"prebnknam",ne,this),ze(this,"reason",ae,this),ze(this,"regdat",ie,this),ze(this,"selbnkcod",oe,this),ze(this,"selbnknam",se,this),ze(this,"suppelinf",le,this),ze(this,"trnrmk",ue,this),ze(this,"usrbch",ce,this),ze(this,"voddat",fe,this),ze(this,"voddsp",de,this),ze(this,"assp_ptylst",pe,this),ze(this,"spt_inr",me,this),ze(this,"spt_tfccod",be,this),ze(this,"trndoc_cortyp",he,this),ze(this,"trndoc_doccod",ve,this),ze(this,"docmod_doclst",ye,this),ze(this,"trndoc_docpth",ge,this),ze(this,"sysmod_refchk",xe,this)}returnke(e,[{key:"clear",value:function(){this.buyinr="",this.seldat="",this.accamt="",this.accdat="",this.agefeeamt="",this.amedat="",this.aplnam="",this.assbustyp="",this.assownbnkcod="",this.assownbnknam="",this.assposref="",this.assregref="",this.assregtyp="",this.asssta="",this.asstrsnbr="",this.avbby="",this.bennam="",this.buysel="",this.claamt="",this.conbnkcod="",this.conbnknam="",this.credat="",this.disrat="",this.docamt="",this.docdsp="",this.docref="",this.docsta="",this.endtyp="",this.etyextkey="",this.feeamt="",this.fftamt="",this.fftbenadr="",this.fftbennam="",this.fftbensoccod="",this.fftdat="",this.fftexpdat="",this.finbnkcod="",this.finbnknam="",this.findat="",this.findsp="",this.inr="",this.issbnkcod="",this.issbnknam="",this.issdat="",this.lcchntyp="",this.lcref="",this.matdat="",this.nam="",this.ownbch="",this.ownref="",this.ownusr="",this.prebnkcod="",this.prebnknam="",this.reason="",this.regdat="",this.selbnkcod="",this.selbnknam="",this.suppelinf="",this.trnrmk="",this.usrbch="",this.voddat="",this.voddsp="",this.assp_ptylst=[],this.spt_inr="",this.spt_tfccod="",this.trndoc_cortyp="",this.trndoc_doccod="",this.docmod_doclst=[],this.trndoc_docpth="",this.sysmod_refchk=""}},{key:"descriptor",get:function(){returnwe.default}}]),e}(),i=Oe(a.prototype,"buyinr",[_e.observable],{enumerable:!0,initializer:function(){return""}}),o=Oe(a.prototype,"seldat",[_e.observable],{enumerable:!0,initializer:function(){return""}}),s=Oe(a.prototype,"accamt",[_e.observable],{enumerable:!0,initializer:function(){return""}}),l=Oe(a.prototype,"accdat",[_e.observable],{enumerable:!0,initializer:function(){return""}}),u=Oe(a.prototype,"agefeeamt",[_e.observable],{enumerable:!0,initializer:function(){return""}}),c=Oe(a.prototype,"amedat",[_e.observable],{enumerable:!0,initializer:function(){return""}}),f=Oe(a.prototype,"aplnam",[_e.observable],{enumerable:!0,initializer:function(){return""}}),d=Oe(a.prototype,"assbustyp",[_e.observable],{enumerable:!0,initializer:function(){return""}}),p=Oe(a.prototype,"assownbnkcod",[_e.observable],{enumerable:!0,initializer:function(){return""}}),m=Oe(a.prototype,"assownbnknam",[_e.observable],{enumerable:!0,initializer:function(){return""}}),b=Oe(a.prototype,"assposref",[_e.observable],{enumerable:!0,initializer:function(){return""}}),h=Oe(a.prototype,"assregref",[_e.observable],{enumerable:!0,initializer:function(){return""}}),v=Oe(a.prototype,"assregtyp",[_e.observable],{enumerable:!0,initializer:function(){return""}}),y=Oe(a.prototype,"asssta",[_e.observable],{enumerable:!0,initializer:function(){return""}}),g=Oe(a.prototype,"asstrsnbr",[_e.observable],{enumerable:!0,initializer:function(){return""}}),x=Oe(a.prototype,"avbby",[_e.observable],{enumerable:!0,initializer:function(){return""}}),k=Oe(a.prototype,"bennam",[_e.observable],{enumerable:!0,initializer:function(){return""}}),_=Oe(a.prototype,"buysel",[_e.observable],{enumerable:!0,initializer:function(){return""}}),w=Oe(a.prototype,"claamt",[_e.observable],{enumerable:!0,initializer:function(){return""}}),E=Oe(a.prototype,"conbnkcod",[_e.observable],{enumerable:!0,initializer:function(){return""}}),z=Oe(a.prototype,"conbnknam",[_e.observable],{enumerable:!0,initializer:function(){return""}}),O=Oe(a.prototype,"credat",[_e.observable],{enumerable:!0,initializer:function(){return""}}),j=Oe(a.prototype,"disrat",[_e.observable],{enumerable:!0,initializer:function(){return""}}),S=Oe(a.prototype,"docamt",[_e.observable],{enumerable:!0,initializer:function(){return""}}),P=Oe(a.prototype,"docdsp",[_e.observable],{enumerable:!0,initializer:function(){return""}}),C=Oe(a.prototype,"docref",[Ee.MGF,_e.observable],{enumerable:!0,initializer:function(){return""}}),N=Oe(a.prototype,"docsta",[_e.observable],{enumerable:!0,initializer:function(){return""}}),I=Oe(a.prototype,"endtyp",[_e.observable],{enumerable:!0,initializer:function(){return""}}),L=Oe(a.prototype,"etyextkey",[_e.observable],{enumerable:!0,initializer:function(){return""}}),B=Oe(a.prototype,"feeamt",[_e.observable],{enumerable:!0,initializer:function(){return""}}),T=Oe(a.prototype,"fftamt",[_e.observable],{enumerable:!0,initializer:function(){return""}}),M=Oe(a.prototype,"fftbenadr",[_e.observable],{enumerable:!0,initializer:function(){return""}}),R=Oe(a.prototype,"fftbennam",[_e.observable],{enumerable:!0,initializer:function(){return""}}),D=Oe(a.prototype,"fftbensoccod",[_e.observable],{enumerable:!0,initializer:function(){return""}}),U=Oe(a.prototype,"fftdat",[_e.observable],{enumerable:!0,initializer:function(){return""}}),A=Oe(a.prototype,"fftexpdat",[_e.observable],{enumerable:!0,initializer:function(){return""}}),q=Oe(a.prototype,"finbnkcod",[_e.observable],{enumerable:!0,initializer:function(){return""}}),H=Oe(a.prototype,"finbnknam",[_e.observable],{enumerable:!0,initializer:function(){return""}}),F=Oe(a.prototype,"findat",[_e.observable],{enumerable:!0,initializer:function(){return""}}),G=Oe(a.prototype,"findsp",[_e.observable],{enumerable:!0,initializer:function(){return""}}),W=Oe(a.prototype,"inr",[_e.observable],{enumerable:!0,initializer:function(){return""}}),V=Oe(a.prototype,"issbnkcod",[Ee.MGF,_e.observable],{enumerable:!0,initializer:function(){return""}}),K=Oe(a.prototype,"issbnknam",[Ee.MGF,_e.observable],{enumerable:!0,initializer:function(){return""}}),Y=Oe(a.prototype,"issdat",[_e.observable],{enumerable:!0,initializer:function(){return""}}),J=Oe(a.prototype,"lcchntyp",[_e.observable],{enumerable:!0,initializer:function(){return""}}),Z=Oe(a.prototype,"lcref",[Ee.MGF,_e.observable],{enumerable:!0,initializer:function(){return""}}),$=Oe(a.prototype,"matdat",[_e.observable],{enumerable:!0,initializer:function(){return""}}),Q=Oe(a.prototype,"nam",[_e.observable],{enumerable:!0,initializer:function(){return""}}),X=Oe(a.prototype,"ownbch",[Ee.MGF,_e.observable],{enumerable:!0,initializer:function(){return""}}),ee=Oe(a.prototype,"ownref",[_e.observable],{enumerable:!0,initializer:function(){return""}}),te=Oe(a.prototype,"ownusr",[_e.observable],{enumerable:!0,initializer:function(){return""}}),re=Oe(a.prototype,"prebnkcod",[Ee.MGF,_e.observable],{enumerable:!0,initializer:function(){return""}}),ne=Oe(a.prototype,"prebnknam",[Ee.MGF,_e.observable],{enumerable:!0,initializer:function(){return""}}),ae=Oe(a.prototype,"reason",[_e.observable],{enumerable:!0,initializer:function(){return""}}),ie=Oe(a.prototype,"regdat",[_e.observable],{enumerable:!0,initializer:function(){return""}}),oe=Oe(a.prototype,"selbnkcod",[_e.observable],{enumerable:!0,initializer:function(){return""}}),se=Oe(a.prototype,"selbnknam",[_e.observable],{enumerable:!0,initializer:function(){return""}}),le=Oe(a.prototype,"suppelinf",[_e.observable],{enumerable:!0,initializer:function(){return""}}),ue=Oe(a.prototype,"trnrmk",[_e.observable],{enumerable:!0,initializer:function(){return""}}),ce=Oe(a.prototype,"usrbch",[_e.observable],{enumerable:!0,initializer:function(){return""}}),fe=Oe(a.prototype,"voddat",[_e.observable],{enumerable:!0,initializer:function(){return""}}),de=Oe(a.prototype,"voddsp",[_e.observable],{enumerable:!0,initializer:function(){return""}}),pe=Oe(a.prototype,"assp_ptylst",[_e.observable],{enumerable:!0,initializer:function(){return[]}}),me=Oe(a.prototype,"spt_inr",[_e.observable],{enumerable:!0,initializer:function(){return""}}),be=Oe(a.prototype,"spt_tfccod",[_e.observable],{enumerable:!0,initializer:function(){return""}}),he=Oe(a.prototype,"trndoc_cortyp",[_e.observable],{enumerable:!0,initializer:function(){return""}}),ve=Oe(a.prototype,"trndoc_doccod",[_e.observable],{enumerable:!0,initializer:function(){return""}}),ye=Oe(a.prototype,"docmod_doclst",[_e.observable],{enumerable:!0,initializer:function(){return[]}}),ge=Oe(a.prototype,"trndoc_docpth",[_e.observable],{enumerable:!0,initializer:function(){return""}}),xe=Oe(a.prototype,"sysmod_refchk",[_e.observable],{enumerable:!0,initializer:function(){return""}}),n=a))||n;t.default=je},3444:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});r(23);varn=function(e){returne&&e.__esModule?e:{default:e}}(r(565));t.default=fieldSet={issbnkcod:[{type:"string",max:20,message:"长度不能超过20个字符"},{required:!0,message:"必输项"}],issbnknam:[{type:"string",max:100,message:"长度不能超过100个字符"},{required:!0,message:"必输项"}],lcref:[{type:"string",max:35,message:"长度不能超过35个字符"},{required:!0,message:"必输项"},{validator:function(e,t,r,a,i){if(!t||(0,n.default)(t,"xs"))return!0;r("存在非法字符")}}],ownbch:[{required:!0,message:"必输项"},{type:"string",max:16,message:"长度不能超过16个字符"}],ownref:[{type:"string",max:16,message:"长度不能超过16个字符"},{required:!0,message:"必输项"},{validator:function(e,t,r,n,a){if(t){if(/^[A-Za-z0-9]+$/.test(t)||r("非法输入,只能输入字母或数字!"),"Y"!=n.sysmod_refchk)return!0;r("福费廷卖出编号重复!")}elser("必输项")}}],prebnkcod:[{type:"string",max:20,message:"长度不能超过20个字符"},{required:!0,message:"必输项"}],prebnknam:[{type:"string",max:100,message:"长度不能超过100个字符"},{required:!0,message:"必输项"}],docref:[{type:"string",max:20,message:"长度不能超过20个字符"},{required:!0,message:"必输项"},{validator:function(e,t,r,a,i){if(!t||(0,n.default)(t,"xs"))return!0;r("存在非法字符")}}],spt_inr:[{type:"string",max:8,message:"长度不能超过8个字符"}],spt_tfccod:[{type:"string",max:300,message:"长度不能超过300个字符"}],trndoc_cortyp:[{type:"string",max:3,message:"长度不能超过3个字符"}],trndoc_doccod:[{type:"string",max:16,message:"长度不能超过16个字符"}],trndoc_docpth:[{type:"string",max:100,message:"长度不能超过100个字符"}]}},3445:function(e,t){},4054:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;varn,a,i,o,s,l=k(r(268)),u=k(r(90)),c=k(r(34)),f=function(){functione(e,t){for(varr=0;r<t.length;r++){varn=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}returnfunction(t,r,n){returnr&&e(t.prototype,r),n&&e(t,n),t}}();r(269),r(110);vard=k(r(0)),p=r(23),m=k(r(33)),b=k(r(3072)),h=k(r(130));r(3445);varv=r(20),y=r(25),g=k(r(4055)),x=k(r(2352));functionk(e){returne&&e.__esModule?e:{default:e}}function_(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}functionw(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void0})}functionE(e,t,r,n,a){vari={};returnObject.keys(n).forEach(function(e){i[e]=n[e]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"ini||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce(function(r,n){returnn(e,t,r)||r},i),a&&void0!==i.initializer&&(i.value=i.initializer?i.initializer.call(a):void0,i.initializer=void0),void0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}h.default.getInstance();varz=p.Steps.Item,O=(0,v.inject)("UserContext")(n=(0,v.inject)("i18n")(n=(0,v.observer)((a=function(e){functiont(e){!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,t);varr=function(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));returnw(r,"extra",i,r),w(r,"formBlur",o,r),w(r,"spt_tfccod",s,r),r.model=newb.default,r.bind=p.Bind.bind(r),r}returnfunction(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,p.Page),f(t,[{key:"componentWillMount",value:function(){vare=function(e){returnfunction(){vart=e.apply(this,arguments);returnnewPromise(function(e,r){returnfunctionn(a,i){try{varo=t[a](i),s=o.value}catch(e){returnvoidr(e)}if(!o.done)returnPromise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)});e(s)}("next")})}}(c.default.mark(functione(){vart,r,n,a=this;returnc.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:returnt="",r="",this.props.location.query&&("sptsel"==this.props.location.query.from?this.extra.sptinr=this.props.location.query.sptinr:(this.model.disMGF(),t=this.props.location.query.inr,r=this.props.location.query.assinr)),e.next=5,m.default.post(this.extra.inifrm+"/init",{params:{bmdinr:t,sptinr:this.extra.sptinr,assinr:r}});case5:(n=e.sent).retcod==SUCCESS?(0,y.runInAction)(function(){Object.assign(a.model,n.data),a.extra.bchCodeTable=n.codetable.ownbch,a.spt_tfccod=n.data.spt_tfccod}):n.retmsg?p.Notification.error({message:n.retmsg}):p.Notification.error({message:"服务端请求失败!"}),!this.loadDisplay()&&this.model.openMonitor();case8:case"end":returne.stop()}},e,this)}));returnfunction(){returne.apply(this,arguments)}}()},{key:"renderPage",value:function(){vare;this.bind,this.props.i18n;returnd.default.createElement(l.default,(_(e={title:d.default.createElement("div",null,d.default.createElement("span",null,"资产登记")," ",this.spt_tfccod?d.default.createElement(u.default,{overlayStyle:{backgroundColor:"blue",paddingTop:"0px"},title:this.spt_tfccod},d.default.createElement("span",{style:{color:"red",display:"inline-block",paddingLeft:"5px",fontSize:"13px"}},"退回理由:",this.spt_tfccod)):""," "),size:"small",className:"transTitle"},"size","small"),_(e,"className","transTitle"),e),d.default.createElement(p.Steps,null,d.default.createElement(z,{title:"资产登记"},d.default.createElement(g.default,{model:this.model,extra:this.extra})),d.default.createElement(z,{title:"报文"},d.default.createElement(x.default,{model:this.model,extra:this.extra}))))}}]),t}(),i=E(a.prototype,"extra",[y.observable],{enumerable:!0,initializer:function(){return{inifrm:"assrgn",bmdinr:"",assinr:"",bchCodeTable:[]}}}),o=E(a.prototype,"formBlur",[y.observable],{enumerable:!0,initializer:function(){return!1}}),s=E(a.prototype,"spt_tfccod",[y.observable],{enumerable:!0,initializer:function(){return""}}),n=a))||n)||n)||n;t.default=O},4055:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;varn,a,i,o,s,l=w(r(60)),u=w(r(62)),c=w(r(34)),f=w(r(39)),d=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varr=arguments[t];for(varninr)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}returne},p=function(){functione(e,t){for(varr=0;r<t.length;r++){varn=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}returnfunction(t,r,n){returnr&&e(t.prototype,r),n&&e(t,n),t}}();r(61),r(63),r(40);varm=w(r(0)),b=r(23),h=w(r(33)),v=w(r(130));r(3445);vary=r(20),g=r(25),x=(r(564),r(59)),k=w(r(2450)),_=w(r(2299));w(r(3072));functionw(e){returne&&e.__esModule?e:{default:e}}functionE(e){returnfunction(){vart=e.apply(this,arguments);returnnewPromise(function(e,r){returnfunctionn(a,i){try{varo=t[a](i),s=o.value}catch(e){returnvoidr(e)}if(!o.done)returnPromise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)});e(s)}("next")})}}b.Steps.Pre,b.Steps.Next,b.Steps.StepWrapper,v.default.getInstance(),f.default.confirm;varz=(n=(0,y.inject)("UserContext"),a=(0,y.inject)("i18n"),(0,x.withRouter)(i=n(i=a(i=(0,y.observer)((o=function(e){functiont(e){varr=this;!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,t);varn=function(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));returnfunction(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void0})}(n,"formBlur",s,n),n.onGetref=E(c.default.mark(functione(){vart;returnc.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:returne.next=2,h.default.post(n.extra.inifrm+"/getref",{});case2:t=e.sent,n.loading=!0,t.retcod==SUCCESS?(n.model.ownref=t.data.ownref,n.loading=!1):t.retmsg?b.Notification.error({message:""+t.retmsg}):b.Notification.error({message:"服务端请求失败!"}),n.loading=!1;case6:case"end":returne.stop()}},e,r)})),n.onChkref=E(c.default.mark(functione(){vart;returnc.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:if(!n.model.ownref){e.next=7;break}returne.next=3,h.default.post(n.props.extra.inifrm+"/sysmod_chkref",{params:{ownref:n.model.ownref,typ:"ass"}});case3:(t=e.sent).retcod==SUCCESS?(n.model.sysmod_refchk=t.data.sysmod_refchk,console.log(n.model.sysmod_refchk),b.Validator.validate(n.model,n.model.descriptor,function(){vare=E(c.default.mark(functione(t,a){returnc.default.wrap(function(e){for(;;)switch(e.prev=e.next){case0:t&&n.steps&&n.steps.findFirstItem(t);case1:case"end":returne.stop()}},e,r)}));returnfunction(t,r){returne.apply(this,arguments)}}())):t.retmsg?b.Notification.error({message:""+t.retmsg}):b.Notification.error({message:"服务端请求失败!"}),e.next=8;break;case7:n.model.sysmod_refchk="N";case8:case"end":returne.stop()}},e,r)})),n.model=e.model,n.bind=b.Bind.bind(n),n.extra=e.extra,n}returnfunction(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,b.Page),p(t,[{key:"renderPage",value:function(){vare=this,t=this.bind;this.props.i18n;returnconsole.log(this.model.inDisplay),m.default.createElement("div",null,m.default.createElement(_.default,{wrappedComponentRef:function(t){returne.com=t},page:this,extra:this.props.extra,steps:this.props.steps,model:this.model}),m.default.createElement(l.default,null,m.default.createElement(u.default,{span:24},m.default.createElement(l.default,null,m.default.createElement(u.default,{span:12},m.default.createElement(l.default,{className:"row"},m.default.createElement(u.default,{span:5,offset:2},m.default.createElement(b.Label,{itext:"福费廷卖出业务编号",trn:"assrgn"})),m.default.createElement(u.default,{span:10},m.default.createElement(b.InputItem,{InputProps:d({},t("ownref"),{onBlur:this.model.inDisplay?null:this.onChkref}),maxLength:16,desp:"业务编号",path:"/assgrp/rec/ownref"})),m.default.createElement(u.default,{span:2,push:1},m.default.createElement(b.Button,{type:"primary",onClick:this.onGetref,disabled:this.model.ownref,desp:"Get Ref.",path:"/mtabut/getref"},m.default.createElement(b.Label,{itext:"获取"}))))),m.default.createElement(u.default,{span:12},m.default.createElement(l.default,{className:"row"},m.default.createElement(u.default,{span:5,offset:2},m.default.createElement(b.Label,{itext:"业务归属机构",trn:"assrgn"})),m.default.createElement(u.default,{span:14},m.default.createElement(b.SelectItem,{InputProps:t("ownbch"),code:this.extra.bchCodeTable,maxLength:16,desp:"业务归属机构",path:"/assgrp/rec/ownbch"}))))))),m.default.createElement(l.default,null,m.default.createElement(u.default,{span:24},m.default.createElement(l.default,null,m.default.createElement(u.default,{span:12},m.default.createElement(l.default,{className:"row"},m.default.createElement(u.default,{span:5,offset:2},m.default.createElement(b.Label,{itext:"信用证开证编号",trn:"assrgn"})),m.default.createElement(u.default,{span:14},m.default.createElement(b.InputItem,{InputProps:t("lcref"),maxLength:16,desp:"信用证开证编号",path:"/assgrp/rec/lcref"})))),m.default.createElement(u.default,{span:12},m.default.createElement(l.default,{className:"row"},m.default.createElement(u.default,{span:5,offset:2},m.default.createElement(b.Label,{itext:"寄单索款编号",trn:"assrgn"})),m.default.createElement(u.default,{span:14},m.default.createElement(b.InputItem,{InputProps:t("docref"),maxLength:20,desp:"寄单索款编号",path:"/assgrp/rec/docref"}))))))),m.default.createElement(l.default,null,m.default.createElement(u.default,{span:12},m.default.createElement(k.default,{model:this.model,argArr:{desc:"开证行",prefix:"iss",url:"assrgn/assp_rolsel",datakey:"assp_ptylst"},valueDate:!0,formBlur:this.formBlur})),m.default.createElement(u.default,{span:12},m.default.createElement(k.default,{model:this.model,argArr:{desc:"交单行",prefix:"pre",url:"assrgn/assp_rolsel",datakey:"assp_ptylst"},valueDate:!0,formBlur:this.formBlur}))),this.model.inDisplay?m.default.createElement("div",{style:{height:"60px"}}):m.default.createElement(b.BottomBtn,{_this:this}))}}]),t}(),s=function(e,t,r,n,a){vari={};returnObject.keys(n).forEach(function(e){i[e]=n[e]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"ini||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce(function(r,n){returnn(e,t,r)||r},i),a&&void0!==i.initializer&&(i.value=i.initializer?i.initializer.call(a):void0,i.initializer=void0),void0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}(o.prototype,"formBlur",[g.observable],{enumerable:!0,initializer:function(){return!1}}),i=o))||i)||i)||i)||i);t.default=z}});