Browse Source

【万利达MES】【产品SN防呆规则设置取消长度必填项】

caosy 6 years ago
parent
commit
7c122514d2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      WebContent/app/view/scm/product/ProductSNRule.js

+ 2 - 2
WebContent/app/view/scm/product/ProductSNRule.js

@@ -81,7 +81,7 @@ Ext.define('erp.view.scm.product.ProductSNRule',{
 			            }
 					},{
 						style :"text-align:center",
-						text: '<font color="red">长度</font>',
+						text: '长度',
 						logic:"necessaryField",
 						width: 80,
 						dataIndex: 'psr_length',
@@ -144,7 +144,7 @@ Ext.define('erp.view.scm.product.ProductSNRule',{
 						fields: ['psr_id', 'psr_type', 'psr_prefix', 'psr_length', 'psr_inman','psr_indate'],
 						data: [{},{}]
 					}),
-					necessaryFields:['psr_prefix', 'psr_length','psr_type'],
+					necessaryFields:['psr_prefix','psr_type'],
 					deleteRecord: function(record) {
 						if(record.get('psr_id') && record.get('psr_id') >= 0) {
 							var grid = this, url = "scm/product/deleteProductSNRuleDetail.action";