动态限制 起订数量

This commit is contained in:
wong1988
2024-01-20 11:56:32 +08:00
parent 66adb31eb3
commit 52d8c1e86a

View File

@@ -499,8 +499,8 @@
settlement() {
// 支付
if (this.page.weight < 20) {
this.shortToast('满200斤才可定制云菜窖哦,请继续选菜吧。')
if (this.page.weight < parseInt(this.data.brandVos[this.selectIndex2].qssl)) {
this.shortToast('满' + this.data.brandVos[this.selectIndex2].qssl + '斤才可定制云菜窖哦,请继续选菜吧。')
return
}