|
|
@@ -34,7 +34,7 @@ Ext.define('saas.view.stock.otherOut.FormPanelController', {
|
|
|
allowBlank : true,
|
|
|
columnWidth : 0.25,
|
|
|
getCondition:function(v){
|
|
|
- return "upper(ve_name) like '%"+v.toUpperCase()+"%' or upper(ve_code) like '%"+v.toUpperCase()+"%'";
|
|
|
+ return "(upper(ve_name) like '%"+v.toUpperCase()+"%' or upper(ve_code) like '%"+v.toUpperCase()+"%')";
|
|
|
}
|
|
|
}],
|
|
|
dbColumns:[{
|
|
|
@@ -102,7 +102,7 @@ Ext.define('saas.view.stock.otherOut.FormPanelController', {
|
|
|
allowBlank : true,
|
|
|
columnWidth : 0.25,
|
|
|
getCondition:function(v){
|
|
|
- return "upper(cu_name) like '%"+v.toUpperCase()+"%' or upper(cu_code) like '%"+v.toUpperCase()+"%'";
|
|
|
+ return "(upper(cu_name) like '%"+v.toUpperCase()+"%' or upper(cu_code) like '%"+v.toUpperCase()+"%')";
|
|
|
}
|
|
|
}],
|
|
|
dbColumns:[{
|
|
|
@@ -199,7 +199,7 @@ Ext.define('saas.view.stock.otherOut.FormPanelController', {
|
|
|
allowBlank : true,
|
|
|
columnWidth : 0.25,
|
|
|
getCondition:function(v){
|
|
|
- return "upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
|
|
|
+ return "(upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%')";
|
|
|
}
|
|
|
}],
|
|
|
dbColumns:[{
|
|
|
@@ -338,7 +338,7 @@ Ext.define('saas.view.stock.otherOut.FormPanelController', {
|
|
|
allowBlank : true,
|
|
|
columnWidth : 0.25,
|
|
|
getCondition:function(v){
|
|
|
- return "upper(wh_code) like '%"+v.toUpperCase()+"%' or upper(wh_description) like '%"+v.toUpperCase()+"%'";
|
|
|
+ return "(upper(wh_code) like '%"+v.toUpperCase()+"%' or upper(wh_description) like '%"+v.toUpperCase()+"%')";
|
|
|
}
|
|
|
}],
|
|
|
dbColumns:[{
|