Commit e2bca89e authored by 黄奎's avatar 黄奎

页面修改

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