Browse Source

核销单界面设置bug

zhuth 7 years ago
parent
commit
c4cd45af37

+ 2 - 2
frontend/saas-web/app/view/core/form/SettingWin.js

@@ -44,11 +44,11 @@ Ext.define('saas.view.core.form.SettingWin', {
                 return v;
             }
         }, {
-            text: '显示名称',
+            text: '自定义显示名称',
             dataIndex: 'alias',
             width: 150,
             editor: {
-                xtype: 'textfield'
+                xtype: 'textfield',
             }
         }, {
             text: '类型',

+ 4 - 0
frontend/saas-web/app/view/core/form/SettingWinController.js

@@ -114,5 +114,9 @@ Ext.define('saas.view.core.form.SettingWinController', {
         .catch(function(res) {
             saas.util.BaseUtil.showErrorToast('保存失败:' + res.message);
         });
+    },
+
+    onAliasEdit: function(value, thview, column, editor, context, eOpts) {
+        var flag = false
     }
 });

+ 1 - 1
frontend/saas-web/app/view/core/form/field/DetailGridField.js

@@ -162,7 +162,7 @@ Ext.define('saas.view.core.form.field.DetailGridField', {
                     text = this.text;
 
                     if(text != '序号') {
-                        controller.onColSetting(arguments);
+                        controller.onColSetting(arguments[0]);
                     }
                 }
             }

+ 3 - 0
frontend/saas-web/app/view/money/verification/FormPanel.js

@@ -48,6 +48,9 @@ Ext.define('saas.view.money.verification.FormPanel', {
                 items = FormUtil.initItems(items);
                 items = FormUtil.applyCusMainItemConfig(items, cfg);
                 items = FormUtil.applyCusDetailItemConfig(items, cfg);
+                
+                me.configItems = items;
+
                 items = FormUtil.applyDefaultItems(me, items);
                 me.removeAll();
                 return me.addItems(items);