|
|
@@ -27,7 +27,7 @@ Ext.define('saas.view.core.form.field.DetailGridField', {
|
|
|
showIndex: true,
|
|
|
configUrl: '',
|
|
|
editable: true,
|
|
|
- allowEmpty: false, // 校验时只校验dirty数据
|
|
|
+ allowEmpty: false, // 表格为空时校验合法
|
|
|
showCount: true, // 显示合计栏
|
|
|
|
|
|
initComponent: function() {
|
|
|
@@ -326,7 +326,7 @@ Ext.define('saas.view.core.form.field.DetailGridField', {
|
|
|
var me = this,
|
|
|
allowEmpty = me.allowEmpty;
|
|
|
columns = me.columns,
|
|
|
- data = allowEmpty ? me.getDirtyData() : me.getAllData(),
|
|
|
+ data = me.getDirtyData(),
|
|
|
valid = allowEmpty;
|
|
|
|
|
|
// 判断列必填
|