self::aftersaleStatusAfterSaleAudit, self::tabWaitProcessedDeliveredAndOnlyRefund => self::aftersaleStatusAfterSaleAudit, self::tabWaitProcessReturnGoods => self::aftersaleStatusAfterSaleAudit, self::tabWaitSellerReceivingGoods => self::aftersaleStatusReturnReceive, self::tabWaitSellerExchangeAudit => self::aftersaleStatusAfterSaleAudit, self::tabWaitSellerResendAudit => self::aftersaleStatusAfterSaleAudit, self::tabAll => '', ]; } public static function getTabTypeAndAftersaleTypeMap() { return [ self::tabWaitProcessRefund => self::aftersaleTypeRefundOnlyBeforeSale, self::tabWaitProcessedDeliveredAndOnlyRefund => self::aftersaleTypeAfterSaleOnlyRefund, self::tabWaitProcessReturnGoods => self::aftersaleTypeReturnGoodsAndRefund, self::tabPriceProtection => self::aftersaleTypePriceProtection, self::tabWaitSellerExchangeAudit => self::aftersaleTypeExchangeGoods, self::tabWaitSellerResendAudit => self::aftersaleTypeResend, self::tabWaitSellerReceivingGoods => '', self::tabAll => '', ]; } public static function getTabTypeAndRefundTypeMap() { return [ self::tabFastRefund => self::refundTypeFastRefund, ]; } public static function getAftersaleTypeMap() { return [ self::aftersaleTypeReturnGoodsAndRefund => '退货退款', self::aftersaleTypeAfterSaleOnlyRefund => '已发货仅退款', self::aftersaleTypeRefundOnlyBeforeSale => '未发货仅退款', self::aftersaleTypeExchangeGoods => '换货', self::aftersaleTypePriceProtection => '价保', self::aftersaleTypeResend => '补寄', ]; } public static function getAftersaleStatusMap() { return [ self::aftersaleStatusPreSaleAllAudit => '发货前退款待处理', self::aftersaleStatusRefundAudit => '发货后仅退款待处理', self::aftersaleStatusReturnAudit => '退货待处理', self::aftersaleStatusExchangeAudit => '换货待处理', self::aftersaleStatusWaitBuyerReturnGoods => '待买家退货', self::aftersaleStatusAfterSaleAudit => '待商家处理', self::aftersaleStatusReturnReceive => '待商家收货', self::aftersaleStatusAuditRefunding => '同意退款,退款中', self::aftersaleStatusRefundSuccess => '同意退款,退款成功', self::aftersaleStatusClose => '售后关闭', self::aftersaleStatusReturnShip => '待买家收货', self::aftersaleStatusWaitBuyerReceive => '换货成功', self::aftersaleStatusExchangeSuccess => '换货成功', self::aftersaleStatusRefuse => '拒绝售后', self::aftersaleStatusReceiveRefuse => '退货后拒绝退款', self::aftersaleStatusUploadRefund => '待商家上传退款凭证', self::aftersaleStatusRefuseAfterSaleApply => '拒绝售后申请', self::aftersaleStatusSellerRefuseToReturnGoodsAfter => '退货后商家拒绝', self::aftersaleStatusWaitSellerSendGoods => '补寄待商家发货', ]; } public static function getSellerRefuseReceiveReturnGoodsCommentMap() { return [ 1 => '未收到货(未填写退货单号)', 2 => '退货与原订单不符(商品不符、退货地址不符)', 3 => '退回商品影响二次销售/订单超出售后时效(订单完成超7天)', 4 => '买家误操作/取消申请', 5 => '已与买家协商补偿,包括差价、赠品、额外补偿', 6 => '已与买家协商补发商品/已与买家协商换货', ]; } public static function getSellerRefuseReturnGoodsApplyCommentMap() { return [ 1 => '未收到货(未填写退货单号)', 2 => '退货与原订单不符(商品不符、退货地址不符)', 3 => '退回商品影响二次销售, 订单超出售后时效(订单完成超7天)', 4 => '买家误操作/取消申请', 5 => '已与买家协商补偿,包括差价、赠品、额外补偿', 6 => '已与买家协商补发商品, 已与买家协商换货', ]; } public static function getSellerRefuseExchangeApplyCommentMap() { return [ 1 => '买家误操作/取消申请', 2 => '已与买家协商补偿,包括差价、赠品、额外补偿', 3 => '已与买家协商补发商品', 4 => '已与买家协商换货', 5 => '运费未协商—致', 6 => '商品没问题,买家未举证或举证无效', 7 => '已在约定时间发货', 8 => '发票没问题,买家未举证', 9 => '发票已补寄', 10 => '买家发票信息不完整', 11 => '申请时间已超7天无理由退换货时间', ]; } public static function getSellerRefuseExchangeConfirmCommentMap() { return [ 1 => '买家上传的单号有误,商家尚未收到货,请核实正确物流单号后重新上传', 2 => '退货与原订单不符(商品不符、退货地址不符)', 3 => '退回商品影响二次销售', 4 => '运费未协商一致', ]; } public static function getSellerRefuseAfterDeliveryAndOnlyRefundApplyCommentMap() { return [ self::commentTypeNoReceived => [ self::aftersaleStatusAfterSaleAudit => [ OrderConst::orderTypeRealGoods => [ 1 => '商品退回后才能退款', 2 => '买家已签收', 3 => '买家误操作/取消申请', 4 => '问题已解决,待用户收货', ], OrderConst::orderTypeGeneralVirtual => [ 14 => '买家误操作/取消申请', 15 => '协商一致,用户取消退款', ], ], ], self::commentTypeReceived => [ self::aftersaleStatusAfterSaleAudit => [ OrderConst::orderTypeRealGoods => [ 5 => '商品退回后才能退款', 6 => '买家误操作/取消申请', 7 => '协商一致,用户取消退款', 8 => '已与买家协商补偿,包括差价、赠品、额外补偿', 9 => '已与买家协商补发商品', 10 => '已与买家协商换货', ], OrderConst::orderTypeGeneralVirtual => [ 16 => '买家误操作/取消申请', 17 => '协商一致,用户取消退款', 18 => '商品影响二次销售', 19 => '定制商品不支持七天无理由退货,定制商品不接受质量问题以外的退货', ], ], self::aftersaleStatusReturnReceive => [ OrderConst::orderTypeRealGoods => [ 11 => '未收到货/退货单号有误', 12 => '退货与原订单不符(商品不符、退货地址不符)', 13 => '退回商品影响二次销售', 20 => '定制商品不支持七天无理由退货,定制商品不接受质量问题以外的退货', ], ], ], ]; } public static function getWaitShopProcessAftersaleStatus() { return [ self::aftersaleStatusPreSaleAllAudit, self::aftersaleStatusRefundAudit, self::aftersaleStatusReturnAudit, self::aftersaleStatusExchangeAudit, self::aftersaleStatusWaitBuyerReturnGoods, self::aftersaleStatusAfterSaleAudit, self::aftersaleStatusReturnReceive, ]; } public static function getAfterSaleCloseOrCancelStatusList() { return [ self::aftersaleStatusClose, self::aftersaleStatusRefuseAfterSaleApply, ]; } public static function getIsPurchaseFilterAndTextMap() { return [ 1 => '已采购', 2 => '未采购', ]; } public static function getOrderSortTypeMap() { return array( 'orderApplyTimeDesc' => '按申请时间↓', 'orderApplyTimeAsc' => '按申请时间↑', 'orderUserAsc' => '按收件人排序', ); } public static function getIsPrintFilterAndTextMap() { return [ OrderPrintConst::pExpressStatusPrinted => '已打印', OrderPrintConst::pExpressStatusNoPrinted => '未打印', // OrderPrintConst::pExpressRecycled => '已回收', ]; } }