Commit e2bca89e authored by 黄奎's avatar 黄奎

页面修改

parent c941dfa4
...@@ -187,10 +187,12 @@ ...@@ -187,10 +187,12 @@
ID: configId, ID: configId,
offerId: offerId offerId: offerId
}; };
this.loading=true;
this.apipost( this.apipost(
"travel_get_GetMyTravelInfo_V3", "travel_get_GetMyTravelInfo_V3",
msg, msg,
res => { res => {
this.loading=false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var tempData = res.data.data; var tempData = res.data.data;
if (tempData.ID && tempData.ID > 0) { if (tempData.ID && tempData.ID > 0) {
......
...@@ -148,11 +148,12 @@ ...@@ -148,11 +148,12 @@
//保存数据 //保存数据
SaveData(type) { SaveData(type) {
const data = JSON.parse(JSON.stringify(this.$refs["QuotationPrice"].getData())) const data = JSON.parse(JSON.stringify(this.$refs["QuotationPrice"].getData()))
data.forEach(x=>{ data.forEach(x => {
x.dayCostPrice.forEach(y=>{ x.dayCostPrice.forEach(y => {
delete y.HotelList delete y.HotelList
}) })
}) })
function getCostCurrency(CurrencyNumberListExt) { function getCostCurrency(CurrencyNumberListExt) {
var currencyNumList = []; var currencyNumList = [];
if (CurrencyNumberListExt != null && CurrencyNumberListExt.length > 0) { if (CurrencyNumberListExt != null && CurrencyNumberListExt.length > 0) {
...@@ -166,7 +167,7 @@ ...@@ -166,7 +167,7 @@
} }
this.postData.TravelState = type; this.postData.TravelState = type;
// 线路必填 // 线路必填
if(!this.postData.LineId) { if (!this.postData.LineId) {
this.$message.error('请选择线路') this.$message.error('请选择线路')
return return
} }
...@@ -221,10 +222,12 @@ ...@@ -221,10 +222,12 @@
offerId: offerId, offerId: offerId,
IsDefault: 1, IsDefault: 1,
}; };
this.loading = true;
this.apipost( this.apipost(
"travel_get_GetMyTravelInfo_V3", "travel_get_GetMyTravelInfo_V3",
msg, msg,
res => { res => {
this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var tempData = res.data.data; var tempData = res.data.data;
if (tempData.ID && tempData.ID > 0) { if (tempData.ID && tempData.ID > 0) {
...@@ -289,4 +292,5 @@ ...@@ -289,4 +292,5 @@
DirectQuotation: DirectQuotation DirectQuotation: DirectQuotation
} }
}; };
</script> </script>
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