Browse Source

发料任务移除包装校验

hella_online_20241205
lijuncheng 3 months ago
parent
commit
c23da62b14
  1. 22
      src/pages/issue/coms/comScanIssuePack.vue

22
src/pages/issue/coms/comScanIssuePack.vue

@ -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)
// }
} }
}, },

Loading…
Cancel
Save