fix: 🐛 优化批发商品,起批量提示
parent
053e5ce062
commit
f0882793e4
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue