Browse Source

修改调拨单查询界面

zhoudw 7 years ago
parent
commit
654b2a6821
1 changed files with 5 additions and 1 deletions
  1. 5 1
      frontend/saas-web/app/view/stock/appropriationInOut/QueryPanel.js

+ 5 - 1
frontend/saas-web/app/view/stock/appropriationInOut/QueryPanel.js

@@ -21,6 +21,8 @@ Ext.define('saas.view.stock.appropriationInOut.QueryPanel', {
         getCondition: function(value) {
             if(value != '') {
                 return  ' (pi_inoutno like\'%' + value + '%\' or pd_prodcode like \'%'+value+'%\' ) ';
+            }else {
+                return '1=1';
             }
         }
     }, {
@@ -66,6 +68,8 @@ Ext.define('saas.view.stock.appropriationInOut.QueryPanel', {
         getCondition: function(value) {
             if(value != '') {
                 return  ' (pd_whcode like\'%' + value + '%\' or pd_whname like \'%'+value+'%\' or pd_inwhcode like\'%' + value + '%\' or pd_inwhname like \'%'+value+'%\') ';
+            }else {
+                return '1=1';
             }
         }
     }],
@@ -163,7 +167,7 @@ Ext.define('saas.view.stock.appropriationInOut.QueryPanel', {
                 text: '数量',
                 dataIndex: 'pd_inqty',
                 xtype:'numbercolumn',
-                width: 10
+                width: 110
             },{
                 text: '仓库',
                 dataIndex: 'pd_whname',