Commit 1b5466e9 authored by 黄奎's avatar 黄奎

酒店订单页面修改

parent 867303b9
...@@ -596,7 +596,16 @@ ...@@ -596,7 +596,16 @@
this.list[this.findex].HotelOrderList[this.childIndex].NewHotelId = ckedObj.ID; this.list[this.findex].HotelOrderList[this.childIndex].NewHotelId = ckedObj.ID;
this.list[this.findex].HotelOrderList[this.childIndex].PayStyle = ckedObj.PayStyle; this.list[this.findex].HotelOrderList[this.childIndex].PayStyle = ckedObj.PayStyle;
this.list[this.findex].HotelOrderList[this.childIndex].PayStyleExt = ckedObj.PayStyle; this.list[this.findex].HotelOrderList[this.childIndex].PayStyleExt = ckedObj.PayStyle;
this.list[this.findex].HotelOrderList[this.childIndex].OrderDetailsList.forEach(subItem => { this.list[this.findex].HotelOrderList[this.childIndex].OrderDetailsList.forEach((subItem,subIndex) => {
//判断是否有库存价格
if(subIndex==1 && ckedObj.CostPrice>0)
{
subItem.IsHaveStockPrice=1;
}
else
{
subItem.IsHaveStockPrice=0;
}
subItem.UnitPrice = ckedObj.CostPrice; subItem.UnitPrice = ckedObj.CostPrice;
subItem.RebateRatio = ckedObj.RebateRatio; subItem.RebateRatio = ckedObj.RebateRatio;
}); });
......
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