Commit 8e6464b7 authored by 黄奎's avatar 黄奎

餐厅修改

parent 4094ace1
...@@ -256,6 +256,12 @@ ...@@ -256,6 +256,12 @@
this.list.forEach(item => { this.list.forEach(item => {
item.DiningSummaryList.forEach(insideItem => { item.DiningSummaryList.forEach(insideItem => {
insideItem.OrderState = 0; insideItem.OrderState = 0;
if (!insideItem.Discount) {
insideItem.Discount = 0;
}
if (!insideItem.DiscountPrice) {
insideItem.DiscountPrice = 0;
}
}) })
}) })
} }
...@@ -263,6 +269,12 @@ ...@@ -263,6 +269,12 @@
this.list.forEach(item => { this.list.forEach(item => {
item.DiningSummaryList.forEach(insideItem => { item.DiningSummaryList.forEach(insideItem => {
insideItem.OrderState = 1; insideItem.OrderState = 1;
if (!insideItem.Discount) {
insideItem.Discount = 0;
}
if (!insideItem.DiscountPrice) {
insideItem.DiscountPrice = 0;
}
}) })
}) })
} }
......
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