diff --git a/src/pages/package/record/overPackageRecord.vue b/src/pages/package/record/overPackageRecord.vue index e648e73e..66f415f0 100644 --- a/src/pages/package/record/overPackageRecord.vue +++ b/src/pages/package/record/overPackageRecord.vue @@ -381,6 +381,11 @@ this.showErrorMessage("请选择目标包装规格") return; } + if(this.fromPackUnit==this.toPackUnit){ + this.showErrorMessage("来源包装规格与目标包装规格一致,不能进行翻包操作") + return; + } + this.checkSubmit(); } else { @@ -402,11 +407,11 @@ this.$refs.comMessage.showQuestionMessage("扫描数量【" + tempHandleQty + "】,将有1个非整包,是否提交?", res => { if (res) { - this.submitJob() + // this.submitJob() } }); } else { - this.submitJob() + // this.submitJob() } },