|
@@ -131,6 +131,8 @@ class AfterSaleService extends CrudService {
|
|
|
if (uStatus === '-5') {
|
|
|
refundInfo = await this.returnOrder(entity, this.tran);
|
|
|
update.end_time = moment().format('YYYY-MM-DD HH:mm:ss');
|
|
|
+ } else if (uStatus === '!5') {
|
|
|
+ update.end_time = moment().format('YYYY-MM-DD HH:mm:ss');
|
|
|
}
|
|
|
} else throw new BusinessError(ErrorCode.DATA_INVALID, '未知的售后类型,无法处理');
|
|
|
// 售后处理人的添加
|