zhuth 7 years ago
parent
commit
c861d2b42a

+ 16 - 8
frontend/saas-web/app/view/money/payBalance/QueryPanel.js

@@ -30,19 +30,27 @@ Ext.define('saas.view.money.paybalance.QueryPanel', {
         columnWidth: 0.5,
         operation: 'between'
     },{
-        xtype: 'multicombo',
-        name: 'pd_statuscode',
+        xtype: 'combobox',
+        name: 'pb_statuscode',
         fieldLabel: '审核状态',
-        datas: [
-            ["ALL", "全部"],
-            ["AUDITED", "已审核"],
-            ["UNAUDITED", "未审核"]
-        ],
+        queryMode: 'local',
+        displayField: 'name',
+        valueField: 'value',
+        emptyText :'全部',
+        editable:false,
+        store: Ext.create('Ext.data.ArrayStore', {
+            fields: ['value', 'name'],
+            data: [
+                ["ALL", "全部"],
+                ["AUDITED", "已审核"],
+                ["UNAUDITED", "未审核"]
+            ]
+        }),
         getCondition: function(value) {
             if(value == 'ALL') {
                 return '1=1';
             }else {
-                return 'pd_statuscode=\'' + value + '\'';
+                return 'pb_statuscode=\'' + value + '\'';
             }
         }
     }],

+ 14 - 6
frontend/saas-web/app/view/money/recBalance/QueryPanel.js

@@ -38,14 +38,22 @@ Ext.define('saas.view.money.recBalance.QueryPanel', {
         columnWidth: 0.5,
         operation: 'between'
     },{
-        xtype: 'multicombo',
+        xtype: 'combobox',
         name: 'rb_statuscode',
         fieldLabel: '审核状态',
-        datas: [
-            ["ALL", "全部"],
-            ["AUDITED", "已审核"],
-            ["UNAUDITED", "未审核"]
-        ],
+        queryMode: 'local',
+        displayField: 'name',
+        valueField: 'value',
+        emptyText :'全部',
+        editable:false,
+        store: Ext.create('Ext.data.ArrayStore', {
+            fields: ['value', 'name'],
+            data: [
+                ["ALL", "全部"],
+                ["AUDITED", "已审核"],
+                ["UNAUDITED", "未审核"]
+            ]
+        }),
         getCondition: function(value) {
             if(value == 'ALL') {
                 return '1=1';