소스 검색

【JHMES】产品SN防呆前缀不必填

caosy 3 년 전
부모
커밋
5e8477df4f
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      WebContent/app/view/scm/product/ProductSNRule.js

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

@@ -67,7 +67,6 @@ Ext.define('erp.view.scm.product.ProductSNRule',{
 						text: '<font color="red">序列号前缀</font>',
 						width: 120,
 						dataIndex: 'psr_prefix',
-						logic:"necessaryField",
 						editor: {
 							xtype: "textfield",
 			                hideTrigger: true,
@@ -144,7 +143,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_length','psr_type'],
 					deleteRecord: function(record) {
 						if(record.get('psr_id') && record.get('psr_id') >= 0) {
 							var grid = this, url = "scm/product/deleteProductSNRuleDetail.action";