Index: ssts-web/src/main/webapp/personalSetting/modifyExitLoginTime.js =================================================================== diff -u -r13557 -r36471 --- ssts-web/src/main/webapp/personalSetting/modifyExitLoginTime.js (.../modifyExitLoginTime.js) (revision 13557) +++ ssts-web/src/main/webapp/personalSetting/modifyExitLoginTime.js (.../modifyExitLoginTime.js) (revision 36471) @@ -12,6 +12,11 @@ data : [['0','否'], ['1','是']] }); + var signUserLimitScopeStore = new Ext.data.SimpleStore( { + fields : ['value'], + data : [[currentDepart], [allDepart]] + }); + var formObj = new Ext.FormPanel({ labelAlign: 'left', frame:true, @@ -54,6 +59,22 @@ triggerAction : 'all', anchor : '100%', readOnly : true + },{ + xtype : 'combo', + fieldLabel : '发货单签收人限制范围', + id : 'signUserLimitScope', + name : 'signUserLimitScope', + hidden : !sstsConfig.enableDisplaysTheItemInformationOfPDAInvoice, + width : 180, + valueField : 'value', + displayField : 'value', + store : signUserLimitScopeStore, + forceSelection : true, + mode : 'local', + editable:false, + triggerAction : 'all', + anchor : '100%', + readOnly : true }] }], @@ -78,6 +99,7 @@ var obj = Ext.decode(response.responseText); Ext.getCmp('exitLoginTime').setRawValue(obj.exitLoginTime); Ext.getCmp('takePhoto').setValue(obj.takePhoto); + Ext.getCmp('signUserLimitScope').setValue(obj[signUserLimitScopeKey]); }, failure : function(response, options) { showResult(response.responseText);