Commit c2f6a720 authored by 黄奎's avatar 黄奎

PPT调整

parent 01bf1252
......@@ -227,7 +227,7 @@
TripMapList: [],
NotQueryCityList: [], //使用系统中的经纬度城市
FeaturePageType: 0, //1横版 2竖版
TeamType:0,
TeamType: 0,
},
//行程
FeatureData: {
......@@ -425,23 +425,24 @@
},
//提交验证
submitForm(SaveType) {
if (this.FeatureData.FeatureType == 9 && !this.isPptJourney) {
this.Error('请编辑PPT行程并保存');
return
}
if (this.PostConfig.LineteamId == 0) {
this.Error('请选择系列');
return
}
if (this.PostPrice && this.PostPrice.length > 0) {
for (let i = 0; i < this.PostPrice.length; i++) {
if (this.PostPrice[i].PriceTeamType == 3 && this.PostPrice[i].PriceOfferUrl == '') {
//this.Error("团期" + this.PostPrice[i].StartDate + '的日期,为单团请上传报价单.');
//return
}
}
}
if (this.isSubmit) {
// if (this.PostPrice && this.PostPrice.length > 0) {
// for (let i = 0; i < this.PostPrice.length; i++) {
// if (this.PostPrice[i].PriceTeamType == 3 && this.PostPrice[i].PriceOfferUrl == '') {
// this.Error("团期" + this.PostPrice[i].StartDate + '的日期,为单团请上传报价单.');
// return
// }
// }
// }
if (this.FeatureData.FeatureType == 9 && !this.isPptJourney) {
var that = this
that.Confirm("当前行程未编辑行程特色,是否立即保存?", function () {
that.SaveData(SaveType);
});
} else if (this.isSubmit) {
this.SaveData(SaveType);
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment