|
@@ -136,7 +136,11 @@ let rptArchiveObj = {
|
|
|
|
|
|
batchArchive: function() {
|
|
|
if (zTreeOprObj.checkedRptTplNodes && zTreeOprObj.checkedRptTplNodes.length > 0) {
|
|
|
- indexDbOprObj.storeReportRequest(current_stage_id, zTreeOprObj.checkedRptTplNodes, indexDbOprObj.startRequestReport);
|
|
|
+ if (zTreeOprObj.checkedRptTplNodes.length <= 10) {
|
|
|
+ indexDbOprObj.storeReportRequest(current_stage_id, zTreeOprObj.checkedRptTplNodes, indexDbOprObj.startRequestReport);
|
|
|
+ } else {
|
|
|
+ alert('批量归档上限为10,请勾选10张以内');
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
|