Browse Source

【bug】物料库存数量金额表 放大镜不能选

zhuth 7 years ago
parent
commit
9ec015f1cf
1 changed files with 4 additions and 7 deletions
  1. 4 7
      frontend/saas-web/app/view/stock/report/DataList.js

+ 4 - 7
frontend/saas-web/app/view/stock/report/DataList.js

@@ -11,25 +11,22 @@ Ext.define('saas.view.stock.report.DataList', {
     listUrl: '/api/document/product/ReserveCost',
     defaultCondition: null,
     reportTitle: '物料库存数量金额表',
-    QueryWidth: 0.4,
+    QueryWidth: 0.65,
     printAble: false,
     exportAble: true,
     queryMode: 'MAIN',
 
     searchItems: [{
         xtype: 'productDbfindTrigger',
-        name: 'pr_code',
-        emptyText: '请输入物料编号、名称或规格',
+        name: 'pr_detail',
+        emptyText: '请输入物料编号或名称',
         columnWidth: 0.25
     }, {
         xtype: 'warehouseDbfindTrigger',
         name: 'wh_description',
         emptyText: '请输入仓库编号或名称',
         hidden:true,
-        columnWidth: 0.25,
-        getCondition: function (v) {
-            return "(upper(wh_code) like '%" + v.toUpperCase() + "%' or upper(wh_description) like '%" + v.toUpperCase() + "%')";
-        }
+        columnWidth: 0.25
     }, {
         xtype: 'checkboxfield',
         name: 'toggle',