Commit cf28cb25 authored by 黄奎's avatar 黄奎
parents 58de064b ee9b719c
...@@ -347,7 +347,6 @@ ...@@ -347,7 +347,6 @@
<!-- <template v-if="CostNumberList&&CostNumberList.length>0"> <!-- <template v-if="CostNumberList&&CostNumberList.length>0">
{{( (Number(getDayXiaoJi(2,2))+Number(getDayXiaoJi(7,2)))/Number(CostNumberList[0].PeopleNumber)).toFixed(0)}} {{( (Number(getDayXiaoJi(2,2))+Number(getDayXiaoJi(7,2)))/Number(CostNumberList[0].PeopleNumber)).toFixed(0)}}
</template> --> </template> -->
<div>测试</div>
</td> </td>
<td> <td>
{{getDayXiaoJi(3,2)}} {{getDayXiaoJi(3,2)}}
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<div class="switchDiv clearfix" style="width:98%;"> <div class="switchDiv clearfix" style="width:98%;">
<div class="DirectPriceCenter"> <div class="DirectPriceCenter">
<div class="singlePrice clearfix"> <div class="singlePrice clearfix">
<CostNewPrice ref="CostNewPrice" :postConfig="postData" :OtherPrice="otherPrice" <CostNewPrice ref="CostNewPrice" :postConfig="postData" :OtherPrice="OtherPrice"
:dayCostPrice="dayCostPriceList" :LineList="LineList" :CostCurrencyList="CostCurrencyList" :dayCostPrice="dayCostPriceList" :LineList="LineList" :CostCurrencyList="CostCurrencyList"
:CostNumberList="CostNumberList" :CurrencyNumberListExt="CurrencyNumberListExt" :CostNumberList="CostNumberList" :CurrencyNumberListExt="CurrencyNumberListExt"
:teamPrice="teamPrice" :teamPrice="teamPrice"
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
}, },
dayCostPriceList: [], //报价列表 dayCostPriceList: [], //报价列表
isSubmit: true, isSubmit: true,
otherPrice: { OtherPrice: {
CostId: 0, //主键编号 CostId: 0, //主键编号
ConfigID: 0, //配置编号 ConfigID: 0, //配置编号
OfferId: 0, //报价单编号 OfferId: 0, //报价单编号
...@@ -376,7 +376,7 @@ ...@@ -376,7 +376,7 @@
offerId: offerId offerId: offerId
}; };
this.apipost( this.apipost(
"travel_get_GetMyTravelInfo_V2", "travel_get_GetMyTravelInfo_V3",
msg, msg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -417,40 +417,49 @@ ...@@ -417,40 +417,49 @@
this.postData.OfferPayType = tempData.OfferPayType; this.postData.OfferPayType = tempData.OfferPayType;
this.postData.SaleOfferPayType=tempData.SaleOfferPayType; this.postData.SaleOfferPayType=tempData.SaleOfferPayType;
this.LineList = tempData.LineList; this.LineList = tempData.LineList;
if (tempData.dayCostPriceList && tempData.dayCostPriceList != null && tempData.dayCostPriceList.length > if(tempData.OfferArray) {
0) { this.currentData = tempData.OfferArray.find(item => item.IsDefault)
this.dayCostPriceList = tempData.dayCostPriceList; this.OtherPrice = this.currentData.otherPrice
this.dayCostPriceList = this.currentData.dayCostPriceList
this.CostCurrencyList = this.currentData.CostCurrencyList
this.CostNumberList = this.currentData.CostNumberList
this.queryMsg = this.currentData.queryMsg
this.teamPrice = this.currentData.teamPrice
} }
// if (tempData.dayCostPriceList && tempData.dayCostPriceList != null && tempData.dayCostPriceList.length >
// 0) {
// this.dayCostPriceList = tempData.dayCostPriceList;
// }
if (tempData.otherPrice) { // if (tempData.otherPrice) {
this.otherPrice = tempData.otherPrice; // this.otherPrice = tempData.otherPrice;
} // }
if (tempData.teamPrice) { // if (tempData.teamPrice) {
this.teamPrice = tempData.teamPrice; // this.teamPrice = tempData.teamPrice;
} // }
if (tempData.CostNumberList && tempData.CostNumberList != null && tempData.CostNumberList.length > 0) { // if (tempData.CostNumberList && tempData.CostNumberList != null && tempData.CostNumberList.length > 0) {
this.CostNumberList = tempData.CostNumberList; // this.CostNumberList = tempData.CostNumberList;
} // }
if (tempData.CostCurrencyList && tempData.CostCurrencyList != null && tempData.CostCurrencyList.length > // if (tempData.CostCurrencyList && tempData.CostCurrencyList != null && tempData.CostCurrencyList.length >
0) { // 0) {
this.CostCurrencyList = tempData.CostCurrencyList; // this.CostCurrencyList = tempData.CostCurrencyList;
} // }
if (tempData.CurrencyNumberListExt && tempData.CurrencyNumberListExt != null && tempData // if (tempData.CurrencyNumberListExt && tempData.CurrencyNumberListExt != null && tempData
.CurrencyNumberListExt.length > 0) { // .CurrencyNumberListExt.length > 0) {
this.CurrencyNumberListExt = tempData.CurrencyNumberListExt; // this.CurrencyNumberListExt = tempData.CurrencyNumberListExt;
} // }
if (this.CostCurrencyList && this.CostCurrencyList.length > 0 && // if (this.CostCurrencyList && this.CostCurrencyList.length > 0 &&
this.CurrencyNumberListExt) { // this.CurrencyNumberListExt) {
this.CostCurrencyList.forEach(item => { // this.CostCurrencyList.forEach(item => {
let currencyNumberItem = { // let currencyNumberItem = {
Key: item.CurrencyId, // Key: item.CurrencyId,
currencyNumberList: [] // currencyNumberList: []
}; // };
if (this.CurrencyNumberListExt.length == 0) { // if (this.CurrencyNumberListExt.length == 0) {
this.CurrencyNumberListExt.push(currencyNumberItem); // this.CurrencyNumberListExt.push(currencyNumberItem);
} // }
}); // });
} // }
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
......
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