Index: ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizationrecord/foreignProxyDisinfectionForm.js =================================================================== diff -u -r15256 -r15327 --- ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizationrecord/foreignProxyDisinfectionForm.js (.../foreignProxyDisinfectionForm.js) (revision 15256) +++ ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizationrecord/foreignProxyDisinfectionForm.js (.../foreignProxyDisinfectionForm.js) (revision 15327) @@ -393,33 +393,7 @@ } }]); - function getApplicantCfg(){ - var cid = 'applicant'; - if(isSupplyRoomUser){ - cid = 'applicant'; - }else{ - cid = 'maker'; - } - var cfg = { - columnWidth : .5, - layout : 'form', - labelWidth : 70, - items : [{ - xtype : 'textfield', - fieldLabel : '申请人', - maxLength : '16', - anchor : '100%', - id : cid, - name : cid, - allowBlank : false, - value : $Id('userName').value, - readOnly : true, - fieldCls : 'fieldReadOnlyNoRemoveAndTop' - }] - } - return cfg - - } + var form = new top.Ext.FormPanel( { id : 'proxyDisinfectionForm', frame : true, @@ -570,11 +544,27 @@ } } ] - },getApplicantCfg(),{ + },{ columnWidth : .5, layout : 'form', labelWidth : 70, items : [{ + xtype : 'textfield', + fieldLabel : '申请人', + maxLength : '16', + anchor : '100%', + id : 'applicant', + name : 'applicant', + allowBlank : false, + value : $Id('userName').value, + readOnly : true, + fieldCls : 'fieldReadOnlyNoRemoveAndTop' + }] + },{ + columnWidth : .5, + layout : 'form', + labelWidth : 70, + items : [{ xtype : 'datefieldWithMin', fieldLabel : '申请时间', id : 'applicationTimeStr',