zhuth 7 years ago
parent
commit
250ae29274

+ 1 - 1
frontend/saas-web/app/view/core/base/BasePanel.js

@@ -115,7 +115,7 @@ Ext.define('saas.view.core.base.BasePanel', {
             value = item.value,
             condition;
 
-            if(me.isContainsAny(xtypes, ['fieldcontainer', 'field']) && !item.ignore){
+            if(me.isContainsAny(xtypes, ['fieldcontainer', 'field']) && !item.ignore && value !== undefined && value !== null && value !== ''){
                 if(typeof func == 'function') {
                     condition = {
                         type: 'condition',

+ 1 - 1
frontend/saas-web/app/view/document/uusetting/UUSettingController.js

@@ -57,7 +57,7 @@ Ext.define('saas.view.document.uusetting.UUSettingController', {
         
         var store = vm.getStore(grid.kind);
         store.condition = JSON.stringify(view.getConditions());
-        store.reload();
+        store.loadPage(1);
     },
 
     onUUSetting: function(tableView, rowIdx, colIdx, btn, e, record, tr) {