|
@@ -1685,7 +1685,7 @@ Ext.define('erp.controller.common.Import', {
|
|
|
* 数据校验
|
|
* 数据校验
|
|
|
*/
|
|
*/
|
|
|
checkdata: function(grid){
|
|
checkdata: function(grid){
|
|
|
- var me = this, count = grid.down('pagingtoolbar').dataCount, pageSize = 10000, page = 0, a, b,
|
|
|
|
|
|
|
+ var me = this, count = grid.down('pagingtoolbar').dataCount, pageSize = 20000, page = 0, a, b,
|
|
|
len = Math.ceil(count/pageSize), index = 0;
|
|
len = Math.ceil(count/pageSize), index = 0;
|
|
|
var p = Ext.create('Ext.ProgressBar', {
|
|
var p = Ext.create('Ext.ProgressBar', {
|
|
|
width: '60%',
|
|
width: '60%',
|
|
@@ -1752,8 +1752,8 @@ Ext.define('erp.controller.common.Import', {
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
if(res.exceptionInfo) {
|
|
if(res.exceptionInfo) {
|
|
|
- if(res.exceptionInfo = '数据超过10000条,请分批导入'){
|
|
|
|
|
- alert('数据超过10000条,请分批导入!');
|
|
|
|
|
|
|
+ if(res.exceptionInfo = '数据超过20000条,请分批导入'){
|
|
|
|
|
+ alert('数据超过20000条,请分批导入!');
|
|
|
grid.setLoading(false);
|
|
grid.setLoading(false);
|
|
|
p.destroy();
|
|
p.destroy();
|
|
|
return;
|
|
return;
|