|
@ -391,8 +391,12 @@ |
|
|
} else if (this.scanCount < this.subList.length) { |
|
|
} else if (this.scanCount < this.subList.length) { |
|
|
//扫描数量小于任务数量,判断是否允许部分提交 |
|
|
//扫描数量小于任务数量,判断是否允许部分提交 |
|
|
if (this.jobContent.allowPartialComplete == "TRUE") { |
|
|
if (this.jobContent.allowPartialComplete == "TRUE") { |
|
|
//提交 |
|
|
//提交 |
|
|
this.submitJob(); |
|
|
this.$refs.comMessage.showQuestionMessage('还有未扫描的物料,是否继续提交?', res => { |
|
|
|
|
|
if (res) { |
|
|
|
|
|
this.submitJob(); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
} else { |
|
|
} else { |
|
|
//不允许部分提交,提示 |
|
|
//不允许部分提交,提示 |
|
|
this.$refs.comMessage.showErrorMessage('请完成扫描后,再进行提交<br>' + "已经扫描[" + this.scanCount + |
|
|
this.$refs.comMessage.showErrorMessage('请完成扫描后,再进行提交<br>' + "已经扫描[" + this.scanCount + |
|
|