|
@@ -278,7 +278,7 @@ class OrderDetailService extends CrudService {
|
|
obj.price = _.get(obj, 'price', obj.sell_money);
|
|
obj.price = _.get(obj, 'price', obj.sell_money);
|
|
}
|
|
}
|
|
// 售后
|
|
// 售后
|
|
- const asum = await this.afterSaleModel.count({ order_detail: obj._id, status: { $nin: [ '0', '!1', '!2', '!3', '!4', '!5' ] } });
|
|
|
|
|
|
+ const asum = await this.afterSaleModel.count({ order_detail: obj._id, status: { $nin: [ '-1', '!1', '-2', '!2', '-3', '!3', '-4', '!4', '-5', '!5' ] } });
|
|
obj.is_afterSale = asum > 0;
|
|
obj.is_afterSale = asum > 0;
|
|
list.push(obj);
|
|
list.push(obj);
|
|
}
|
|
}
|