Browse Source

修改采购模块

zhoudw 7 years ago
parent
commit
25175f7e07

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

@@ -167,7 +167,8 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanel', {
                 width : 120.0,
                 editor : {
                     xtype : "numberfield",
-                    decimalPrecision: 8
+                    decimalPrecision: 8,
+                    minValue:0
                 },
                 renderer : function(v) {
                     var arr = (v + '.').split('.');

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

@@ -156,7 +156,8 @@ Ext.define('saas.view.purchase.purchaseOut.FormPanel', {
                 text : "数量", 
                 dataIndex : "pd_outqty", 
                 editor : {
-                    xtype : "numberfield"
+                    xtype : "numberfield",
+                    minValue:0
                 },
                 width : 120.0, 
                 xtype : "numbercolumn", 

+ 2 - 1
frontend/saas-web/app/view/stock/otherIn/FormPanel.js

@@ -160,7 +160,8 @@ Ext.define('saas.view.stock.otherIn.FormPanel', {
                 width : 120.0,
                 editor : {
                     xtype : "numberfield",
-                    decimalPrecision: 8
+                    decimalPrecision: 8,
+                    minValue:0
                 },
                 renderer : function(v) {
                     var arr = (v + '.').split('.');

+ 2 - 1
frontend/saas-web/app/view/stock/otherOut/FormPanel.js

@@ -156,7 +156,8 @@ Ext.define('saas.view.stock.otherOut.FormPanel', {
                 width: 120.0,
                 editor : {
                     xtype : "numberfield",
-                    decimalPrecision: 8
+                    decimalPrecision: 8,
+                    minValue:0
                 },
                 renderer : function(v) {
                     var arr = (v + '.').split('.');