|
@ -416,16 +416,18 @@ |
|
|
this.showErrorMessage('扫描物料代码不属于该任务'); |
|
|
this.showErrorMessage('扫描物料代码不属于该任务'); |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if (result.package.packUnit !== item.packUnit) { |
|
|
this.getToLocationBalance(result) |
|
|
this.$refs.comMessage.showQuestionMessage( |
|
|
//校验包装规格 |
|
|
`扫描物料包装【${result.package.packUnit}】与任务推荐包装规格【${item.packUnit}】不一致.是否要继续发料?`, res => { |
|
|
// if (result.package.packUnit !== item.packUnit) { |
|
|
if (res) { |
|
|
// this.$refs.comMessage.showQuestionMessage( |
|
|
this.getToLocationBalance(result) |
|
|
// `扫描物料包装【${result.package.packUnit}】与任务推荐包装规格【${item.packUnit}】不一致.是否要继续发料?`, res => { |
|
|
} |
|
|
// if (res) { |
|
|
}); |
|
|
// this.getToLocationBalance(result) |
|
|
} else { |
|
|
// } |
|
|
this.getToLocationBalance(result) |
|
|
// }); |
|
|
} |
|
|
// } else { |
|
|
|
|
|
// this.getToLocationBalance(result) |
|
|
|
|
|
// } |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|