master
lion 3 years ago
parent dca0b373f5
commit 54d781c9cf

@ -431,28 +431,36 @@
value: "商业" value: "商业"
}], }],
activityCon: [{ activityCon: [{
id: 1,
value: "讲座"
}, {
id: 2, id: 2,
value: "主题参观" value: "主题党日"
}, {
id: 4,
value: "未成年课程"
}, { }, {
id: 5,
value: "大讲堂"
},{
id: 3, id: 3,
value: "体验活动" value: "体验活动"
},{
id: 1,
value: "讲座"
}], }],
activityGroup: [{ activityGroup: [{
id: 1, id: 1,
value: "幼儿园" value: "未成年"
}, { }, {
id: 2, id: 2,
value: "小学生" value: "成年人"
}, { },
id: 3, // {
value: "初中生" // id: 3,
}, { // value: ""
id: 4, // }, {
value: "高中生" // id: 4,
}, { // value: ""
// },
{
id: 5, id: 5,
value: "不限" value: "不限"
}] }]
@ -759,8 +767,8 @@
}, },
submitForm(formName) { submitForm(formName) {
var that = this; var that = this;
this.form.start_time = this.dateRange[0]; this.form.start_time = this.dateRange[0];
this.form.end_time = this.dateRange[1]; this.form.end_time = this.dateRange[1];
if (!this.form.start_time || !this.form.end_time) { if (!this.form.start_time || !this.form.end_time) {
@ -768,11 +776,11 @@
return false; return false;
} }
// //
let checktime = that.compareDate(that.form.start_time, that.form.end_plan); // let checktime = that.compareDate(that.form.start_time, that.form.end_plan);
if (!checktime) { // if (!checktime) {
that.$message.error('截止时间不能晚于开始时间'); // that.$message.error('');
return false; // return false;
} // }
let upTotal = 0 let upTotal = 0
if(that.form.numbers_list.length==0){ if(that.form.numbers_list.length==0){
that.$message.error('请填写活动场次'); that.$message.error('请填写活动场次');

Loading…
Cancel
Save