zhoudw 7 жил өмнө
parent
commit
52c7f64627

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

@@ -252,7 +252,8 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanel', {
                 text : "含税金额", 
                 dataIndex : "pd_total", 
                 width : 120.0, 
-                xtype : "numbercolumn"
+                xtype : "numbercolumn",
+                summaryType: 'sum'
             }, {
                 text : "税率", 
                 editor : {
@@ -265,7 +266,8 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanel', {
             {
                 text : "未税金额", 
                 dataIndex : "pd_nettotal", 
-                xtype : "numbercolumn"
+                xtype : "numbercolumn",
+                summaryType: 'sum'
             },
             {
                 text : "采购单明细id", 

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

@@ -214,7 +214,8 @@ Ext.define('saas.view.purchase.purchaseOut.FormPanel', {
                 text : "含税金额", 
                 dataIndex : "pd_total", 
                 width : 120.0, 
-                xtype : "numbercolumn"
+                xtype : "numbercolumn",
+                summaryType: 'sum'
             }, {
                 text : "税率", 
                 dataIndex : "pd_taxrate",
@@ -227,7 +228,8 @@ Ext.define('saas.view.purchase.purchaseOut.FormPanel', {
             {
                 text : "未税金额", 
                 dataIndex : "pd_nettotal", 
-                xtype : "numbercolumn"
+                xtype : "numbercolumn",
+                summaryType: 'sum'
             },
             {
                 text : "采购单明细id",