|
|
@@ -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";
|