Browse Source

学校信息字段长度限制

zhuth 7 years ago
parent
commit
053559ab21
1 changed files with 6 additions and 3 deletions
  1. 6 3
      frontend/pc-web/app/view/basic/school/SchoolInfo.js

+ 6 - 3
frontend/pc-web/app/view/basic/school/SchoolInfo.js

@@ -51,7 +51,8 @@ Ext.define('school.view.basic.school.SchoolInfo', {
                 bind: '{schoolName}',
                 fieldLabel: "学校名称",
                 allowBlank: false,
-                columnWidth: 1
+                columnWidth: 1,
+                maxLength: 100
             }, {
                 xtype: "textfield",
                 name: 'school_phone',
@@ -64,7 +65,8 @@ Ext.define('school.view.basic.school.SchoolInfo', {
                 bind: '{schoolAddress}',
                 fieldLabel: "学校地址",
                 allowBlank: true,
-                columnWidth: 1
+                columnWidth: 1,
+                maxLength: 200
             }, {
                 xtype: 'combobox',
                 name: 'school_status',
@@ -104,7 +106,8 @@ Ext.define('school.view.basic.school.SchoolInfo', {
                 name: 'school_remarks',
                 bind: '{schoolRemarks}',
                 fieldLabel: '备注',
-                columnWidth: 1
+                columnWidth: 1,
+                maxLength: 250
             }]
         });
         this.callParent();