Commit 8eaddb6c authored by huhaiqing's avatar huhaiqing

修复装柜校验问题

parent 2ae6b0d9
...@@ -508,7 +508,7 @@ export default { ...@@ -508,7 +508,7 @@ export default {
this.$message.error(this.$t("放入箱数不能为0")); this.$message.error(this.$t("放入箱数不能为0"));
return; return;
} }
if (this.shopForm.putQuantity === 0) { if (this.shopForm.putQuantity === 0 && this.isQuantity) {
this.$message.error(this.$t("放入数量(个)不能为0")); this.$message.error(this.$t("放入数量(个)不能为0"));
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment