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