GP12触摸屏取消内外标签区分限制

This commit is contained in:
2025-01-10 11:23:56 +08:00
parent 39456e0214
commit c08fcf0b22

View File

@@ -482,20 +482,6 @@ export default {
}
QcGp12Api.AnalyzeLabel(params).then(res => {
if (res.code === 200 && res.data.isOk) {
// 可能为内标签
if (res.data.number < 6) {
this.$confirm('标签异常:标签判定为内标签', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
center: true
}).then(() => {
}).catch(() => {
});
this.message = '标签判定为内标签';
this.messageClass = 'text-red';
return;
}
this.message = '正常';
this.messageClass = 'text-green';
this.startWorkOrderDialog.partnumber = res.data.partnumber;
@@ -868,7 +854,7 @@ export default {
}
// 扫内标签模式
if (this.formStatus === 2) {
// 扫外箱标签模式
// 扫标签模式
this.handleScanInnerLabel(LabelCode, ComNo)
return;
}