fix: 🐛 优化批发商品,起批量提示

master
paulGao 2022-11-29 15:00:45 +08:00
parent 053e5ce062
commit f0882793e4
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ export default {
changeCount(val) { changeCount(val) {
if (this.wholesaleList && this.wholesaleList.length > 0) { if (this.wholesaleList && this.wholesaleList.length > 0) {
if (this.count <= this.wholesaleList[0].num) { if (this.count <= this.wholesaleList[0].num) {
this.$Message.warning("购买数量不能小于起批数量"); this.$Message.warning("批发商品购买数量不能小于起批数量");
this.count = this.wholesaleList[0].num; this.count = this.wholesaleList[0].num;
} }
} }