From f8bd30e3a7915caba40c6a50fc11b6aca4c585fd Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 15 Feb 2018 12:53:08 +0800 Subject: [PATCH] Pman.Dialog.VerifyAccess.bjs Pman.Dialog.VerifyAccess.js --- Pman.Dialog.VerifyAccess.bjs | 30 ++---------------------------- Pman.Dialog.VerifyAccess.js | 35 ++--------------------------------- 2 files changed, 4 insertions(+), 61 deletions(-) diff --git a/Pman.Dialog.VerifyAccess.bjs b/Pman.Dialog.VerifyAccess.bjs index ac38e51f..1b23d9a9 100644 --- a/Pman.Dialog.VerifyAccess.bjs +++ b/Pman.Dialog.VerifyAccess.bjs @@ -114,34 +114,8 @@ "$ xns" : "Roo.bootstrap", "items" : [ { - "listeners" : { - "select" : "function (combo, record, index)\n{\n \n}" - }, - "Boolean allowBlank" : false, - "Boolean selectOnFocus" : true, - "String name" : "status_name", - "String mode" : "local", - "String valueField" : "code", - "Boolean editable" : false, - "xtype" : "ComboBox", - "String triggerAction" : "all", - "string fieldLabel" : "Action", - "Boolean alwaysQuery" : true, - "$ xns" : "Roo.bootstrap", - "String/Roo.Template tpl" : "
{value}
", - "String hiddenName" : "status", - "String displayField" : "value", - "String indicatorpos" : "right", - "Boolean forceSelection" : true, - "items" : [ - { - "$ string data" : "[\n ['1', 'Approve'],\n ['-2', 'Temporary'],\n ['-1', 'Reject']\n] ", - "xtype" : "SimpleStore", - "$ xns" : "Roo.data", - "$ fields" : "[ 'code', 'value' ]", - "* prop" : "store" - } - ] + "xtype" : "DateField", + "$ xns" : "Roo.bootstrap" } ] } diff --git a/Pman.Dialog.VerifyAccess.js b/Pman.Dialog.VerifyAccess.js index d90f2a50..c2ef85e7 100644 --- a/Pman.Dialog.VerifyAccess.js +++ b/Pman.Dialog.VerifyAccess.js @@ -253,40 +253,9 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { '|xns' : 'Roo.bootstrap', items : [ { - xtype : 'ComboBox', - allowBlank : false, - alwaysQuery : true, - displayField : 'value', - editable : false, - fieldLabel : _this._strings['004bf6c9a40003140292e97330236c53'] /* Action */, - forceSelection : true, - hiddenName : 'status', - indicatorpos : 'right', - mode : 'local', - name : 'status_name', - selectOnFocus : true, - tpl : '
{value}
', - triggerAction : 'all', - valueField : 'code', - listeners : { - select : function (combo, record, index) - { - - } - }, + xtype : 'DateField', xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - store : { - xtype : 'SimpleStore', - data : [ - ['1', 'Approve'], - ['-2', 'Temporary'], - ['-1', 'Reject'] - ], - fields : [ 'code', 'value' ], - xns : Roo.data, - '|xns' : 'Roo.data' - } + '|xns' : 'Roo.bootstrap' } ] } -- 2.39.2