Browse Source

查询界面增加批量开启,关闭配置

zhoudw 7 years ago
parent
commit
30dc28d830

+ 1 - 4
frontend/saas-web/app/view/purchase/purchase/FormPanel.js

@@ -164,8 +164,6 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                 dataIndex : "pd_price", 
                 width : 120.0, 
                 xtype : "numbercolumn",
-                items : null,
-                summaryType: 'sum'
             }, 
             {
                 text : "税率", 
@@ -174,8 +172,7 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                 },
                 dataIndex : "pd_taxrate", 
                 width : 120.0, 
-                xtype : "numbercolumn", 
-                items : null
+                xtype : "numbercolumn",
             },
             {
                 text : "含税金额", 

+ 9 - 8
frontend/saas-web/app/view/purchase/purchaseIn/FormPanel.js

@@ -170,9 +170,6 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanel', {
             },            {
                 text : "已转数", 
                 dataIndex : "pd_yqty", 
-                editor : {
-                    xtype : "numberfield"
-                },
                 width : 120.0, 
                 xtype : "numbercolumn", 
                 format:'0',
@@ -209,11 +206,13 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanel', {
                 }
             },
             {
-                text : "单价", 
+                text : "单价",
+                editor : {
+                    xtype : "numberfield"
+                }, 
                 dataIndex : "pd_orderprice", 
                 width : 120.0, 
-                xtype : "numbercolumn", 
-                items : null
+                xtype : "numbercolumn"
             }, 
            {
                 text : "含税金额", 
@@ -222,10 +221,12 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanel', {
                 xtype : "numbercolumn"
             }, {
                 text : "税率", 
+                editor : {
+                    xtype : "numberfield"
+                }, 
                 dataIndex : "pd_taxrate", 
                 width : 120.0, 
-                xtype : "numbercolumn", 
-                items : null
+                xtype : "numbercolumn"
             },
             {
                 text : "未税金额", 

+ 10 - 9
frontend/saas-web/app/view/purchase/purchaseOut/FormPanel.js

@@ -165,9 +165,6 @@ Ext.define('saas.view.purchase.purchaseOut.FormPanel', {
             },            {
                 text : "已转数", 
                 dataIndex : "pd_yqty", 
-                editor : {
-                    xtype : "numberfield"
-                },
                 width : 120.0, 
                 xtype : "numbercolumn", 
                 format:'0',
@@ -204,11 +201,13 @@ Ext.define('saas.view.purchase.purchaseOut.FormPanel', {
                 }
             },
             {
-                text : "单价", 
+                text : "单价",
+                editor : {
+                    xtype : "numberfield"
+                },  
                 dataIndex : "pd_orderprice", 
                 width : 120.0, 
-                xtype : "numbercolumn", 
-                items : null
+                xtype : "numbercolumn"
             }, 
            {
                 text : "含税金额", 
@@ -217,10 +216,12 @@ Ext.define('saas.view.purchase.purchaseOut.FormPanel', {
                 xtype : "numbercolumn"
             }, {
                 text : "税率", 
-                dataIndex : "pd_taxrate", 
+                dataIndex : "pd_taxrate",
+                editor : {
+                    xtype : "numberfield"
+                },   
                 width : 120.0, 
-                xtype : "numbercolumn", 
-                items : null
+                xtype : "numbercolumn"
             },
             {
                 text : "未税金额", 

+ 8 - 2
frontend/saas-web/app/view/stock/appropriationInOut/FormPanel.js

@@ -227,7 +227,10 @@ Ext.define('saas.view.stock.appropriationInOut.FormPanel', {
             },
             {
                 text : "单价", 
-                dataIndex : "pd_orderprice", 
+                dataIndex : "pd_orderprice",
+                editor : {
+                    xtype : "numberfield"
+                },   
                 width : 120.0, 
                 xtype : "numbercolumn", 
                 items : null
@@ -239,7 +242,10 @@ Ext.define('saas.view.stock.appropriationInOut.FormPanel', {
                 xtype : "numbercolumn"
             }, {
                 text : "税率", 
-                dataIndex : "pd_taxrate", 
+                dataIndex : "pd_taxrate",
+                editor : {
+                    xtype : "numberfield"
+                },   
                 width : 120.0, 
                 xtype : "numbercolumn", 
                 items : null

+ 8 - 5
frontend/saas-web/app/view/stock/otherIn/FormPanel.js

@@ -167,9 +167,6 @@ Ext.define('saas.view.stock.otherIn.FormPanel', {
             },            {
                 text : "已转数", 
                 dataIndex : "pd_yqty", 
-                editor : {
-                    xtype : "numberfield"
-                },
                 width : 120.0, 
                 xtype : "numbercolumn", 
                 format:'0',
@@ -207,7 +204,10 @@ Ext.define('saas.view.stock.otherIn.FormPanel', {
             },
             {
                 text : "单价", 
-                dataIndex : "pd_orderprice", 
+                dataIndex : "pd_orderprice",
+                editor : {
+                    xtype : "numberfield"
+                },   
                 width : 120.0, 
                 xtype : "numbercolumn", 
                 items : null
@@ -219,7 +219,10 @@ Ext.define('saas.view.stock.otherIn.FormPanel', {
                 xtype : "numbercolumn"
             }, {
                 text : "税率", 
-                dataIndex : "pd_taxrate", 
+                dataIndex : "pd_taxrate",
+                editor : {
+                    xtype : "numberfield"
+                },   
                 width : 120.0, 
                 xtype : "numbercolumn", 
                 items : null

+ 6 - 3
frontend/saas-web/app/view/stock/otherOut/FormPanel.js

@@ -164,9 +164,6 @@ Ext.define('saas.view.stock.otherOut.FormPanel', {
             }, {
                 text: "已转数",
                 dataIndex: "pd_yqty",
-                editor: {
-                    xtype: "numberfield"
-                },
                 width: 120.0,
                 xtype: "numbercolumn",
                 format: '0',
@@ -205,6 +202,9 @@ Ext.define('saas.view.stock.otherOut.FormPanel', {
             {
                 text: "单价",
                 dataIndex: "pd_orderprice",
+                editor : {
+                    xtype : "numberfield"
+                },  
                 width: 120.0,
                 xtype: "numbercolumn",
                 items: null
@@ -217,6 +217,9 @@ Ext.define('saas.view.stock.otherOut.FormPanel', {
             }, {
                 text: "税率",
                 dataIndex: "pd_taxrate",
+                editor : {
+                    xtype : "numberfield"
+                },  
                 width: 120.0,
                 xtype: "numbercolumn",
                 items: null