增加固定套餐提交时的套餐商品验证

This commit is contained in:
YeMingfei666 2024-12-03 10:02:18 +08:00
parent b88b0b548f
commit 3400c9422d
1 changed files with 2 additions and 1 deletions

View File

@ -1684,8 +1684,9 @@
}
}
if (type == 'package') {
if (groupType == 0) {
if (groupType == 0&& FormData.proGroupVo[0].goods.length<=0) {
//
return infoBox.showToast('套餐组合至少需要包含一种商品,请添加商品')
}
if (groupType == 1) {
let ispase = FormData.proGroupVo.length > 0 ? true : false