GP12触摸屏取消内外标签区分限制
This commit is contained in:
@@ -482,20 +482,6 @@ export default {
|
|||||||
}
|
}
|
||||||
QcGp12Api.AnalyzeLabel(params).then(res => {
|
QcGp12Api.AnalyzeLabel(params).then(res => {
|
||||||
if (res.code === 200 && res.data.isOk) {
|
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.message = '正常';
|
||||||
this.messageClass = 'text-green';
|
this.messageClass = 'text-green';
|
||||||
this.startWorkOrderDialog.partnumber = res.data.partnumber;
|
this.startWorkOrderDialog.partnumber = res.data.partnumber;
|
||||||
@@ -868,7 +854,7 @@ export default {
|
|||||||
}
|
}
|
||||||
// 扫内标签模式
|
// 扫内标签模式
|
||||||
if (this.formStatus === 2) {
|
if (this.formStatus === 2) {
|
||||||
// 扫外箱标签模式
|
// 扫内标签模式
|
||||||
this.handleScanInnerLabel(LabelCode, ComNo)
|
this.handleScanInnerLabel(LabelCode, ComNo)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user