|
|
@ -630,8 +630,7 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
commit() { |
|
|
|
this.scanCount = getScanCount(this.detailSource); |
|
|
|
console.log(this.scanCount ) |
|
|
|
this.scanCount = getScanCount(this.subList); |
|
|
|
if (this.scanCount == 0) { |
|
|
|
this.showErrorMessage("扫描数为0,请先扫描") |
|
|
|
return; |
|
|
@ -716,8 +715,6 @@ |
|
|
|
// return; |
|
|
|
// } |
|
|
|
// } |
|
|
|
console.log(this.scanCount) |
|
|
|
console.log( this.subList.length) |
|
|
|
if(this.scanCount < this.subList.length){ |
|
|
|
//扫描数量小于任务数量,判断是否允许部分提交 |
|
|
|
if (this.jobContent.allowPartialComplete == "TRUE") { |
|
|
@ -736,7 +733,6 @@ |
|
|
|
}); |
|
|
|
} |
|
|
|
}else{ |
|
|
|
return |
|
|
|
this.submitJob(); |
|
|
|
} |
|
|
|
}, |
|
|
|