浏览代码

物料资料放大镜配置调整

zhuth 7 年之前
父节点
当前提交
5a7d7d1d3a
共有 23 个文件被更改,包括 272 次插入118 次删除
  1. 2 1
      frontend/saas-web/app/view/main/Navigation.scss
  2. 15 6
      frontend/saas-web/app/view/money/payBalance/QueryPanelController.js
  3. 15 6
      frontend/saas-web/app/view/money/recBalance/QueryPanelController.js
  4. 6 5
      frontend/saas-web/app/view/purchase/purchase/FormPanelController.js
  5. 15 6
      frontend/saas-web/app/view/purchase/purchase/QueryPanelController.js
  6. 8 10
      frontend/saas-web/app/view/purchase/purchaseIn/FormPanelController.js
  7. 15 6
      frontend/saas-web/app/view/purchase/purchaseIn/QueryPanelController.js
  8. 10 12
      frontend/saas-web/app/view/purchase/purchaseOut/FormPanelController.js
  9. 15 6
      frontend/saas-web/app/view/purchase/purchaseOut/QueryPanelController.js
  10. 13 4
      frontend/saas-web/app/view/sale/sale/FormPanelController.js
  11. 13 4
      frontend/saas-web/app/view/sale/sale/QueryPanelController.js
  12. 13 4
      frontend/saas-web/app/view/sale/saleIn/FormPanelController.js
  13. 13 4
      frontend/saas-web/app/view/sale/saleIn/QueryPanelController.js
  14. 13 4
      frontend/saas-web/app/view/sale/saleOut/FormPanelController.js
  15. 17 8
      frontend/saas-web/app/view/sale/saleOut/QueryPanelController.js
  16. 9 11
      frontend/saas-web/app/view/stock/appropriationInOut/FormPanelController.js
  17. 16 0
      frontend/saas-web/app/view/stock/appropriationInOut/QueryPanelController.js
  18. 13 1
      frontend/saas-web/app/view/stock/make/QueryPanelController.js
  19. 9 9
      frontend/saas-web/app/view/stock/otherIn/FormPanelController.js
  20. 13 1
      frontend/saas-web/app/view/stock/otherIn/QueryPanelController.js
  21. 9 9
      frontend/saas-web/app/view/stock/otherOut/FormPanelController.js
  22. 13 1
      frontend/saas-web/app/view/stock/otherOut/QueryPanelController.js
  23. 7 0
      frontend/saas-web/ext/packages/modern-locale/overrides/zh_CN/window/Window.js

+ 2 - 1
frontend/saas-web/app/view/main/Navigation.scss

@@ -97,6 +97,7 @@
         border-bottom-right-radius: 4px;
         border-bottom-right-radius: 4px;
 
 
         .menu {
         .menu {
+            
             width: 200px;
             width: 200px;
             border-right: 1px dashed #ccc;
             border-right: 1px dashed #ccc;
             letter-spacing: 1px;
             letter-spacing: 1px;
@@ -125,7 +126,7 @@
                         cursor: pointer;
                         cursor: pointer;
                         line-height: 24px;
                         line-height: 24px;
                         white-space: nowrap;
                         white-space: nowrap;
-                        width: 124px;
+                        width: 130px;
                         overflow: hidden;
                         overflow: hidden;
                         text-overflow: ellipsis;
                         text-overflow: ellipsis;
                     }
                     }

+ 15 - 6
frontend/saas-web/app/view/money/payBalance/QueryPanelController.js

@@ -76,14 +76,23 @@ Ext.define('saas.view.money.paybalance.QueryPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
-                            "flex": 0,
-                            "dataIndex": "pr_id",
-                            "width": 0,
-                            "xtype": "",
-                            "items": null
-                        },{
+                            "hidden": true,
+                            "dataIndex": "id",
+                        }, {
                             "text": "物料编号",
                             "text": "物料编号",
                             "flex": 1,
                             "flex": 1,
                             "dataIndex": "pr_code",
                             "dataIndex": "pr_code",

+ 15 - 6
frontend/saas-web/app/view/money/recBalance/QueryPanelController.js

@@ -76,14 +76,23 @@ Ext.define('saas.view.money.recBalance.QueryPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
-                            "flex": 0,
-                            "dataIndex": "pr_id",
-                            "width": 0,
-                            "xtype": "",
-                            "items": null
-                        },{
+                            "hidden": true,
+                            "dataIndex": "id",
+                        }, {
                             "text": "物料编号",
                             "text": "物料编号",
                             "flex": 1,
                             "flex": 1,
                             "dataIndex": "pr_code",
                             "dataIndex": "pr_code",

+ 6 - 5
frontend/saas-web/app/view/purchase/purchase/FormPanelController.js

@@ -94,7 +94,6 @@ Ext.define('saas.view.purchase.purchase.FormPanelController', {
                         dataUrl: '/api/document/product/list',
                         dataUrl: '/api/document/product/list',
                         addXtype: 'document-product-formpanel',
                         addXtype: 'document-product-formpanel',
                         addTitle: '物料资料',
                         addTitle: '物料资料',
-                        defaultCondition:"pr_statuscode='OPEN'",
                         //放大镜赋值设置
                         //放大镜赋值设置
                         dbfinds:[{
                         dbfinds:[{
                             from:'id',to:'pd_prodid'                          
                             from:'id',to:'pd_prodid'                          
@@ -111,13 +110,14 @@ Ext.define('saas.view.purchase.purchase.FormPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
-                        //窗口字段设置
+                        defaultCondition: 'pr_statuscode="OPEN"',
                         dbSearchFields:[{
                         dbSearchFields:[{
-                            emptyText:'输入物料编号或物料名称',
+                            emptyText:'输入物料编号、名称或规格',
                             xtype : "textfield", 
                             xtype : "textfield", 
                             name : "search", 
                             name : "search", 
+                            width: 200,
                             getCondition: function(v) {
                             getCondition: function(v) {
-                                return "upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
                             },
                             },
                             allowBlank : true, 
                             allowBlank : true, 
                             columnWidth : 0.25
                             columnWidth : 0.25
@@ -125,8 +125,9 @@ Ext.define('saas.view.purchase.purchase.FormPanelController', {
                         //窗口列设置
                         //窗口列设置
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
+                            "hidden": true,
                             "dataIndex": "id",
                             "dataIndex": "id",
-                        },{
+                        }, {
                             "text": "物料编号",
                             "text": "物料编号",
                             "dataIndex": "pr_code",
                             "dataIndex": "pr_code",
                         }, {
                         }, {

+ 15 - 6
frontend/saas-web/app/view/purchase/purchase/QueryPanelController.js

@@ -76,14 +76,23 @@ Ext.define('saas.view.purchase.purchase.QueryPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
-                            "flex": 0,
-                            "dataIndex": "pr_id",
-                            "width": 0,
-                            "xtype": "",
-                            "items": null
-                        },{
+                            "hidden": true,
+                            "dataIndex": "id",
+                        }, {
                             "text": "物料编号",
                             "text": "物料编号",
                             "flex": 1,
                             "flex": 1,
                             "dataIndex": "pr_code",
                             "dataIndex": "pr_code",

+ 8 - 10
frontend/saas-web/app/view/purchase/purchaseIn/FormPanelController.js

@@ -111,25 +111,23 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanelController', {
                             field:'pr_spec',width:100
                             field:'pr_spec',width:100
                         }],
                         }],
                         defaultCondition: 'pr_statuscode="OPEN"',
                         defaultCondition: 'pr_statuscode="OPEN"',
-                        //窗口字段设置
                         dbSearchFields:[{
                         dbSearchFields:[{
-                            emptyText:'输入物料编号或物料名称',
+                            emptyText:'输入物料编号、名称或规格',
                             xtype : "textfield", 
                             xtype : "textfield", 
                             name : "search", 
                             name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
                             allowBlank : true, 
                             allowBlank : true, 
-                            columnWidth : 0.25,
-                            getCondition:function(v){
-                                return "upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
-                            }
+                            columnWidth : 0.25
                         }],
                         }],
                         //窗口列设置
                         //窗口列设置
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
+                            "hidden": true,
                             "dataIndex": "id",
                             "dataIndex": "id",
-                            "width": 0,
-                            "xtype": "",
-                            "items": null
-                        },{
+                        }, {
                             "text": "物料编号",       
                             "text": "物料编号",       
                             "dataIndex": "pr_code",
                             "dataIndex": "pr_code",
                             "width": 100,
                             "width": 100,

+ 15 - 6
frontend/saas-web/app/view/purchase/purchaseIn/QueryPanelController.js

@@ -75,14 +75,23 @@ Ext.define('saas.view.purchase.purchaseIn.QueryPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
-                            "flex": 0,
-                            "dataIndex": "pr_id",
-                            "width": 0,
-                            "xtype": "",
-                            "items": null
-                        },{
+                            "hidden": true,
+                            "dataIndex": "id",
+                        }, {
                             "text": "物料编号",
                             "text": "物料编号",
                             "flex": 1,
                             "flex": 1,
                             "dataIndex": "pr_code",
                             "dataIndex": "pr_code",

+ 10 - 12
frontend/saas-web/app/view/purchase/purchaseOut/FormPanelController.js

@@ -109,26 +109,24 @@ Ext.define('saas.view.purchase.purchaseOut.FormPanelController', {
                         },{
                         },{
                             field:'pr_unit',width:100
                             field:'pr_unit',width:100
                         }],
                         }],
-                        defaultCondition:"pr_statuscode='OPEN'",
-                        //窗口字段设置
+                        defaultCondition: 'pr_statuscode="OPEN"',
                         dbSearchFields:[{
                         dbSearchFields:[{
-                            emptyText:'输入物料编号或物料名称',
+                            emptyText:'输入物料编号、名称或规格',
                             xtype : "textfield", 
                             xtype : "textfield", 
                             name : "search", 
                             name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
                             allowBlank : true, 
                             allowBlank : true, 
-                            columnWidth : 0.25,
-                            getCondition:function(v){
-                                return "upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
-                            }
-                        }],                        
+                            columnWidth : 0.25
+                        }],                      
                         //窗口列设置
                         //窗口列设置
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
+                            "hidden": true,
                             "dataIndex": "id",
                             "dataIndex": "id",
-                            "width": 0,
-                            "xtype": "",
-                            "items": null
-                        },{
+                        }, {
                             "text": "物料编号",       
                             "text": "物料编号",       
                             "dataIndex": "pr_code",
                             "dataIndex": "pr_code",
                             "width": 100,
                             "width": 100,

+ 15 - 6
frontend/saas-web/app/view/purchase/purchaseOut/QueryPanelController.js

@@ -75,14 +75,23 @@ Ext.define('saas.view.purchase.purchaseOut.QueryPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
-                            "flex": 0,
-                            "dataIndex": "pr_id",
-                            "width": 0,
-                            "xtype": "",
-                            "items": null
-                        },{
+                            "hidden": true,
+                            "dataIndex": "id",
+                        }, {
                             "text": "物料编号",
                             "text": "物料编号",
                             "flex": 1,
                             "flex": 1,
                             "dataIndex": "pr_code",
                             "dataIndex": "pr_code",

+ 13 - 4
frontend/saas-web/app/view/sale/sale/FormPanelController.js

@@ -126,14 +126,23 @@ Ext.define('saas.view.sale.sale.FormPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[
                         dbColumns:[
                             {
                             {
                                 "text": "物料ID",
                                 "text": "物料ID",
-                                "flex": 0,
+                                "hidden": true,
                                 "dataIndex": "id",
                                 "dataIndex": "id",
-                                "width": 0,
-                                "xtype": "",
-                                "items": null
                             },{
                             },{
                                 "text": "物料编号",
                                 "text": "物料编号",
                                 "flex": 1,
                                 "flex": 1,

+ 13 - 4
frontend/saas-web/app/view/sale/sale/QueryPanelController.js

@@ -76,14 +76,23 @@ Ext.define('saas.view.sale.sale.QueryPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[
                         dbColumns:[
                             {
                             {
                                 "text": "物料ID",
                                 "text": "物料ID",
-                                "flex": 0,
+                                "hidden": true,
                                 "dataIndex": "id",
                                 "dataIndex": "id",
-                                "width": 0,
-                                "xtype": "",
-                                "items": null
                             },{
                             },{
                                 "text": "物料编号",
                                 "text": "物料编号",
                                 "flex": 1,
                                 "flex": 1,

+ 13 - 4
frontend/saas-web/app/view/sale/saleIn/FormPanelController.js

@@ -126,14 +126,23 @@ Ext.define('saas.view.sale.saleIn.FormPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[
                         dbColumns:[
                             {
                             {
                                 "text": "物料ID",
                                 "text": "物料ID",
-                                "flex": 0,
+                                "hidden": true,
                                 "dataIndex": "id",
                                 "dataIndex": "id",
-                                "width": 0,
-                                "xtype": "",
-                                "items": null
                             },{
                             },{
                                 "text": "物料编号",
                                 "text": "物料编号",
                                 "flex": 1,
                                 "flex": 1,

+ 13 - 4
frontend/saas-web/app/view/sale/saleIn/QueryPanelController.js

@@ -81,14 +81,23 @@ Ext.define('saas.view.sale.saleIn.QueryPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[
                         dbColumns:[
                             {
                             {
                                 "text": "物料ID",
                                 "text": "物料ID",
-                                "flex": 0,
+                                "hidden": true,
                                 "dataIndex": "id",
                                 "dataIndex": "id",
-                                "width": 0,
-                                "xtype": "",
-                                "items": null
                             },{
                             },{
                                 "text": "物料编号",
                                 "text": "物料编号",
                                 "flex": 1,
                                 "flex": 1,

+ 13 - 4
frontend/saas-web/app/view/sale/saleOut/FormPanelController.js

@@ -124,14 +124,23 @@ Ext.define('saas.view.sale.saleout.FormPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[
                         dbColumns:[
                             {
                             {
                                 "text": "物料ID",
                                 "text": "物料ID",
-                                "flex": 0,
+                                "hidden": true,
                                 "dataIndex": "id",
                                 "dataIndex": "id",
-                                "width": 0,
-                                "xtype": "",
-                                "items": null
                             },{
                             },{
                                 "text": "物料编号",
                                 "text": "物料编号",
                                 "flex": 1,
                                 "flex": 1,

+ 17 - 8
frontend/saas-web/app/view/sale/saleOut/QueryPanelController.js

@@ -113,15 +113,24 @@ Ext.define('saas.view.sale.saleout.QueryPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[
                         dbColumns:[
-                        {
-                            "text": "物料ID",
-                            "flex": 0,
-                            "dataIndex": "id",
-                            "width": 0,
-                            "xtype": "",
-                            "items": null
-                        },{
+                            {
+                                "text": "物料ID",
+                                "hidden": true,
+                                "dataIndex": "id",
+                            },{
                             "text": "物料编号",
                             "text": "物料编号",
                             "flex": 1,
                             "flex": 1,
                             "dataIndex": "pr_code",
                             "dataIndex": "pr_code",

+ 9 - 11
frontend/saas-web/app/view/stock/appropriationInOut/FormPanelController.js

@@ -196,24 +196,22 @@ Ext.define('saas.view.stock.appropriationInOut.FormPanelController', {
                         },{
                         },{
                             field:'pr_spec',width:100
                             field:'pr_spec',width:100
                         }],
                         }],
-                        defaultCondition:"pr_statuscode='OPEN'",
-                        //窗口字段设置
+                        defaultCondition: 'pr_statuscode="OPEN"',
                         dbSearchFields:[{
                         dbSearchFields:[{
-                            emptyText:'输入物料编号或物料名称',
+                            emptyText:'输入物料编号、名称或规格',
                             xtype : "textfield", 
                             xtype : "textfield", 
                             name : "search", 
                             name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
                             allowBlank : true, 
                             allowBlank : true, 
-                            columnWidth : 0.25,
-                            getCondition:function(v){
-                                return "upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
-                            }
-                        }],                         
+                            columnWidth : 0.25
+                        }],                   
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
+                            "hidden": true,
                             "dataIndex": "id",
                             "dataIndex": "id",
-                            "width": 0,
-                            "xtype": "",
-                            "items": null
                         },{
                         },{
                             "text": "物料编号",       
                             "text": "物料编号",       
                             "dataIndex": "pr_code",
                             "dataIndex": "pr_code",

+ 16 - 0
frontend/saas-web/app/view/stock/appropriationInOut/QueryPanelController.js

@@ -74,7 +74,23 @@ Ext.define('saas.view.stock.appropriationInOut.QueryPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[{
                         dbColumns:[{
+                            "text": "物料ID",
+                            "hidden": true,
+                            "dataIndex": "id",
+                        },{
                             "text": "物料ID",
                             "text": "物料ID",
                             "flex": 0,
                             "flex": 0,
                             "dataIndex": "pr_id",
                             "dataIndex": "pr_id",

+ 13 - 1
frontend/saas-web/app/view/stock/make/QueryPanelController.js

@@ -76,9 +76,21 @@ Ext.define('saas.view.stock.make.QueryPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
-                            "flex": 0,
+                            "hidden": true,
                             "dataIndex": "pr_id",
                             "dataIndex": "pr_id",
                             "width": 0,
                             "width": 0,
                             "xtype": "",
                             "xtype": "",

+ 9 - 9
frontend/saas-web/app/view/stock/otherIn/FormPanelController.js

@@ -202,24 +202,24 @@ Ext.define('saas.view.stock.otherIn.FormPanelController', {
                             field: 'pr_spec',
                             field: 'pr_spec',
                             width: 100
                             width: 100
                         }],
                         }],
-                        defaultCondition:"pr_statuscode='OPEN'",
-                        //窗口字段设置
+                        defaultCondition: 'pr_statuscode="OPEN"',
                         dbSearchFields:[{
                         dbSearchFields:[{
-                            emptyText:'输入物料编号或物料名称',
+                            emptyText:'输入物料编号、名称或规格',
                             xtype : "textfield", 
                             xtype : "textfield", 
                             name : "search", 
                             name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
                             allowBlank : true, 
                             allowBlank : true, 
-                            columnWidth : 0.25,
-                            getCondition:function(v){
-                                return "upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
-                            }
-                        }],                         
+                            columnWidth : 0.25
+                        }],                        
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
                             "dataIndex": "id",
                             "dataIndex": "id",
                             "width": 0,
                             "width": 0,
                             "xtype": "",
                             "xtype": "",
-                            "items": null
+                            "hidden": true
                         },{
                         },{
                             "text": "物料编号",       
                             "text": "物料编号",       
                             "dataIndex": "pr_code",
                             "dataIndex": "pr_code",

+ 13 - 1
frontend/saas-web/app/view/stock/otherIn/QueryPanelController.js

@@ -75,9 +75,21 @@ Ext.define('saas.view.stock.otherIn.QueryPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
-                            "flex": 0,
+                            "hidden": true,
                             "dataIndex": "pr_id",
                             "dataIndex": "pr_id",
                             "width": 0,
                             "width": 0,
                             "xtype": "",
                             "xtype": "",

+ 9 - 9
frontend/saas-web/app/view/stock/otherOut/FormPanelController.js

@@ -190,24 +190,24 @@ Ext.define('saas.view.stock.otherOut.FormPanelController', {
                         },{
                         },{
                             field:'pr_spec',width:100
                             field:'pr_spec',width:100
                         }],
                         }],
-                        defaultCondition:"pr_statuscode='OPEN'",
-                        //窗口字段设置
+                        defaultCondition: 'pr_statuscode="OPEN"',
                         dbSearchFields:[{
                         dbSearchFields:[{
-                            emptyText:'输入物料编号或物料名称',
+                            emptyText:'输入物料编号、名称或规格',
                             xtype : "textfield", 
                             xtype : "textfield", 
                             name : "search", 
                             name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
                             allowBlank : true, 
                             allowBlank : true, 
-                            columnWidth : 0.25,
-                            getCondition:function(v){
-                                return "upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
-                            }
-                        }],                        
+                            columnWidth : 0.25
+                        }],                      
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
                             "dataIndex": "id",
                             "dataIndex": "id",
                             "width": 0,
                             "width": 0,
                             "xtype": "",
                             "xtype": "",
-                            "items": null
+                            "hidden": true
                         },{
                         },{
                             "text": "物料编号",       
                             "text": "物料编号",       
                             "dataIndex": "pr_code",
                             "dataIndex": "pr_code",

+ 13 - 1
frontend/saas-web/app/view/stock/otherOut/QueryPanelController.js

@@ -75,9 +75,21 @@ Ext.define('saas.view.stock.otherOut.QueryPanelController', {
                         },{
                         },{
                             field:'pr_detail',width:100
                             field:'pr_detail',width:100
                         }],
                         }],
+                        defaultCondition: 'pr_statuscode="OPEN"',
+                        dbSearchFields:[{
+                            emptyText:'输入物料编号、名称或规格',
+                            xtype : "textfield", 
+                            name : "search", 
+                            width: 200,
+                            getCondition: function(v) {
+                                return "upper(pr_spec) like '%" + v.toUpperCase()+"%' or upper(pr_code) like '%"+v.toUpperCase()+"%' or upper(pr_detail) like '%"+v.toUpperCase()+"%'";
+                            },
+                            allowBlank : true, 
+                            columnWidth : 0.25
+                        }],
                         dbColumns:[{
                         dbColumns:[{
                             "text": "物料ID",
                             "text": "物料ID",
-                            "flex": 0,
+                            "hidden": true,
                             "dataIndex": "pr_id",
                             "dataIndex": "pr_id",
                             "width": 0,
                             "width": 0,
                             "xtype": "",
                             "xtype": "",

+ 7 - 0
frontend/saas-web/ext/packages/modern-locale/overrides/zh_CN/window/Window.js

@@ -0,0 +1,7 @@
+Ext.define('Ext.locale.zh_CN.window.Window', {
+    override: 'Ext.window.Window',
+
+    config: {
+        closeToolText: '关闭面板'
+    }
+});