|
...
|
...
|
@@ -312,6 +312,10 @@ Page({ |
|
|
|
if (j.order_xx && j.order_xx.length > 0) {
|
|
|
|
let arr = j.order_xx;
|
|
|
|
let result = arr.reduce((obj, item) => {
|
|
|
|
if (item && item.status == '0') {
|
|
|
|
console.log('status为0,这个菜没有下单');
|
|
|
|
return obj;
|
|
|
|
}
|
|
|
|
let find = obj.find(i => (i.practiceid === item.practiceid && i.specid === item.specid));
|
|
|
|
let _d = {
|
|
|
|
...item,
|
...
|
...
|
|