...
|
...
|
@@ -74,7 +74,8 @@ exports.getCommentList = (uid, isComment, page, limit) => { |
|
|
goodsId: v.goodsId,
|
|
|
erpSkuId: v.erpSkuId,
|
|
|
orderId: value.orderId,
|
|
|
orderCode: value.orderCode
|
|
|
orderCode: value.orderCode,
|
|
|
orderTime: value.createTime
|
|
|
};
|
|
|
|
|
|
if (v.commentDetailBoDetail && v.commentDetailBoDetail.length > 0) {
|
...
|
...
|
@@ -164,7 +165,7 @@ exports.getCommentList4Order = (uid, orderId) => { |
|
|
let order = {
|
|
|
// orderNum: value.orderCode,
|
|
|
// orderTime: value.createTime,
|
|
|
orderId: orderId,
|
|
|
orderNum: orderId,
|
|
|
goods: []
|
|
|
};
|
|
|
|
...
|
...
|
@@ -180,7 +181,9 @@ exports.getCommentList4Order = (uid, orderId) => { |
|
|
goodsId: v.goodsId,
|
|
|
erpSkuId: v.erpSkuId,
|
|
|
orderCode: v.orderCode,
|
|
|
orderId: v.orderId
|
|
|
orderId: v.orderId,
|
|
|
orderTime: _.get(v, 'orderCreateTime') ?
|
|
|
moment(_.get(v, 'orderCreateTime') * 1000).format('YYYY-MM-DD HH:mm:ss') : ''
|
|
|
};
|
|
|
|
|
|
order.goods.push(good);
|
...
|
...
|
|