|
@@ -415,6 +415,7 @@ export default {
|
|
const subForm = this.$refs["form"];
|
|
const subForm = this.$refs["form"];
|
|
subForm.validate((valid) => {
|
|
subForm.validate((valid) => {
|
|
if (valid) {
|
|
if (valid) {
|
|
|
|
+
|
|
// let prizeIndex = this.awardsList.findIndex((item) => {
|
|
// let prizeIndex = this.awardsList.findIndex((item) => {
|
|
// return !item.prizeList.length;
|
|
// return !item.prizeList.length;
|
|
// });
|
|
// });
|
|
@@ -495,7 +496,6 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
if (this.form.type != "offline" && this.goodsList.length < 1) {
|
|
if (this.form.type != "offline" && this.goodsList.length < 1) {
|
|
this.$message.error("关联商品不能为空");
|
|
this.$message.error("关联商品不能为空");
|
|
return
|
|
return
|