Parcourir la source

【新项目】【看板项目】【模板添加备注字段】

luhg il y a 8 ans
Parent
commit
1abed496b8

+ 2 - 2
kanban-console/src/main/webapp/resources/app/view/plugin/tplgridcontextmenu.js

@@ -160,8 +160,8 @@ Ext.define('erp.view.plugin.tplgridcontextmenu', {
 					fieldLabel:'模板备注',
 					columnWidth:1,
 					dataIndex:'remark',
-					name:'desc',
-					value:update?record.get('desc'):''
+					name:'description',
+					value:update?record.get('description'):''
 				},{
 					xtype:'hidden',
 					name:'code',

+ 8 - 1
kanban-console/src/main/webapp/resources/app/view/templateeditpanel.js

@@ -160,7 +160,14 @@ Ext.define('erp.view.templateeditpanel',{
 						columnWidth:1,
 						height:80,
 						name:'title',
-						value:record.get('title')
+						value:record.get('title'),
+						listeners:{
+							afterrender:function(cmp){
+		        				cmp.getEl().set({
+					                'spellcheck': 'false'
+					            });
+		        			}						
+						}
 					},{
 			        	xtype:'combo',
 			        	columnWidth:0.75,

+ 1 - 1
kanban-console/src/main/webapp/resources/app/view/templatetree.js

@@ -9,7 +9,7 @@ Ext.define('erp.view.templatetree',{
 	collapsible:true,
 	plugins:[Ext.create('erp.view.plugin.tplgridcontextmenu')],
 	store : Ext.create('Ext.data.Store', {
-		fields : ['code', 'content', 'dataSourceCode', 'globalParameterCodes','name','parameters','title'],
+		fields : ['code', 'content', 'dataSourceCode', 'globalParameterCodes','name','parameters','title','description'],
 		autoLoad:true,
 		proxy:{
 			type:'ajax',