Commit 5876d7f7 authored by 黄奎's avatar 黄奎

页面修改

parent 3ed744d8
......@@ -1082,8 +1082,17 @@
methods: {
GetDinnerPrice(item) {
var totalPrice = 0;
var DiningID=0;
var UseDinnerType="";
var UseTimeStr="";
item.data.forEach(subItem => {
if(subItem.DiningID!=DiningID&& subItem.UseDinnerType!=UseDinnerType&&subItem.UseTimeStr!=UseTimeStr)
{
totalPrice += subItem.TradingTotalPrice
}
DiningID=subItem.DiningID;
UseDinnerType=subItem.UseDinnerType;
UseTimeStr=subItem.UseTimeStr;
});
return totalPrice.toFixed(2);
},
......
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