Browse Source

修改盘点单前端

zhoudw 7 years ago
parent
commit
e41c54b69d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      frontend/saas-web/app/view/stock/inventory/EditDataList.js

+ 3 - 3
frontend/saas-web/app/view/stock/inventory/EditDataList.js

@@ -54,9 +54,9 @@ Ext.define('saas.view.stock.inventory.EditDataList', {
         emptyText:'输入物料编号或名称',
         width:200,
         bind: '{form.pr_detail}',
-        getCondition: function(value) {
-            if(value) {
-                return 'pr_detail like %' + value + '% or pr_code like%' + value + '%';
+        getCondition: function(v) {
+            if(v) {
+                return "(upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%')";
             }else {
                 return '1 = 1';
             }