Commit adc517e8 authored by 杨鑫's avatar 杨鑫

feat: 调用仅退款(未发货)审核逻辑

parent 7200b4b1
......@@ -516,8 +516,8 @@ export const getColumns = props => {
}
}
// 实物商品-仅退款未发货 serviceType = 0
if (serviceType === 0) {
// 实物商品-仅退款未发货 serviceType = 0, 仅退款(发货中) serviceType = 4
if (serviceType === 0 || serviceType === 4) {
// 待商户审核14 待审核0
if ([14, 0].includes(status)) {
return [cancelAuditBtn, cancelDetailBtn, viewLogBtn];
......@@ -556,12 +556,6 @@ export const getColumns = props => {
return [viewLogisticsBtn, detailBtn, viewLogBtn];
}
}
// 商户审核中,仅退款(发货中) 显示的按钮
if (serviceType === 4) {
if ([14].includes(status)) {
return [auditBtn, detailBtn, viewLogBtn];
}
}
return [detailBtn, viewLogBtn];
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment