Commit 43fbea3a authored by youjie's avatar youjie

no message

parent 179c86ff
...@@ -1800,7 +1800,7 @@ ...@@ -1800,7 +1800,7 @@
Number(this.addMsg.TripleRoomNum); Number(this.addMsg.TripleRoomNum);
}, },
getNumber() { getNumber() {
if(this.addMsg.GroupType == 4&&parseInt(this.addMsg.AirticketNum)>0) this.addMsg.ManNum = parseInt(this.addMsg.AirticketNum) if(this.addMsg.GroupType == 4&&parseInt(this.addMsg.AirticketNum)>0) this.addMsg.ManNum = this.addMsg.AirticketNum
if ( if (
this.addMsg.GroupType == 4 && this.addMsg.GroupType == 4 &&
parseInt(this.addMsg.ChirdNoNeedBedNum) > parseInt(this.addMsg.ChirdNoNeedBedNum) >
...@@ -1915,8 +1915,7 @@ ...@@ -1915,8 +1915,7 @@
let danfang = Number(this.addMsg.SingleRoomNum) * this.priceObj.SingleRoomPrice; let danfang = Number(this.addMsg.SingleRoomNum) * this.priceObj.SingleRoomPrice;
//儿童占床、不占床价格 //儿童占床、不占床价格
let ertongbed = this.priceObj.ChildNeedPrice * Number(this.addMsg.ChirdNeedBedNum) - this.priceObj let ertongbed = this.priceObj.ChildNeedPrice * Number(this.addMsg.ChirdNeedBedNum) - this.priceObj.ChildNoNeedPrice * (Number(this.addMsg.ChirdNum) - Number(this.addMsg.ChirdNeedBedNum));
.ChildNoNeedPrice * (Number(this.addMsg.ChirdNum) - Number(this.addMsg.ChirdNeedBedNum));
//联运 (单价已包含联运价格了,所以不需要联运价格) //联运 (单价已包含联运价格了,所以不需要联运价格)
let lianyun = 0; let lianyun = 0;
...@@ -1951,19 +1950,9 @@ ...@@ -1951,19 +1950,9 @@
dandijie = this.priceObj.SingleDMCPrice * Number(this.addMsg.AirticketNum); dandijie = this.priceObj.SingleDMCPrice * Number(this.addMsg.AirticketNum);
} }
//总应收价格 //总应收价格
this.addMsg.PreferPrice = this.addMsg.PreferPrice = Number(dandijie) + Number(lianyun) + Number(chengren) + Number(ertong) + Number(yinger) + Number(laoren) + Number(zafeiqianzhen) + Number(danfang) + Number(ertongbed) - Number(refundScenicPrice)
dandijie + console.log(dandijie +'--',lianyun +'--',chengren +'--',ertong +'--',yinger +'--',laoren +'--',zafeiqianzhen +'--',danfang +'--',ertongbed +'--',refundScenicPrice)
lianyun + if (this.priceObj.IsLessPrice == 1 && this.addMsg.GroupType == 1 && (this.addMsg.CustomerType == '1' || this.addMsg.CustomerType == '2') && this.priceObj.LineID > 0 && this.LessRule && this.LessRule.length > 0) {
chengren +
ertong +
yinger +
laoren +
zafeiqianzhen +
danfang +
ertongbed -
refundScenicPrice;
if (this.priceObj.IsLessPrice == 1 && this.addMsg.GroupType == 1 && (this.addMsg.CustomerType == '1' || this
.addMsg.CustomerType == '2') && this.priceObj.LineID > 0 && this.LessRule && this.LessRule.length > 0) {
let LessNum = (Number(this.addMsg.ManNum) + let LessNum = (Number(this.addMsg.ManNum) +
Number(this.addMsg.ChirdNum) + Number(this.addMsg.ChirdNum) +
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
......
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