Commit 239fba41 authored by XieZhiXiong's avatar XieZhiXiong

feat: 添加售后退货简单流程平台审核工作流枚举

parent e15133c5
...@@ -330,6 +330,10 @@ export const RETURN_GOODS_OUTER_DELIVERY_CONTRACT = 43; ...@@ -330,6 +330,10 @@ export const RETURN_GOODS_OUTER_DELIVERY_CONTRACT = 43;
*/ */
export const RETURN_GOODS_MANUAL_DELIVERY_CONTRACT = 44; export const RETURN_GOODS_MANUAL_DELIVERY_CONTRACT = 44;
/** /**
* 售后退货简单流程-平台审核
*/
export const RETURN_GOODS_SIMPLE_PLATFORM = 63;
/**
* 售后换货默认流程-合同订单 * 售后换货默认流程-合同订单
*/ */
export const EXCHANGE_GOODS_OUTER_DELIVERY_CONTRACT = 45; export const EXCHANGE_GOODS_OUTER_DELIVERY_CONTRACT = 45;
......
...@@ -12,7 +12,7 @@ import { postAsReturnGoodsManualReturnDeliveryGoods } from '@/services/AfterServ ...@@ -12,7 +12,7 @@ import { postAsReturnGoodsManualReturnDeliveryGoods } from '@/services/AfterServ
import { SettingOutlined } from '@ant-design/icons'; import { SettingOutlined } from '@ant-design/icons';
import moment from 'moment'; import moment from 'moment';
import { usePageStatus } from '@/hooks/usePageStatus'; import { usePageStatus } from '@/hooks/usePageStatus';
import { RETURN_GOODS_MANUAL_DELIVERY, RETURN_GOODS_MANUAL_DELIVERY_CONTRACT } from '../../constants'; import { RETURN_GOODS_MANUAL_DELIVERY, RETURN_GOODS_MANUAL_DELIVERY_CONTRACT, RETURN_GOODS_SIMPLE_PLATFORM } from '../../constants';
import DetailInfo from '../components/DetailInfo'; import DetailInfo from '../components/DetailInfo';
import ReturnDeliverDrawer, { ValuesType } from '../../components/DeliverDrawer'; import ReturnDeliverDrawer, { ValuesType } from '../../components/DeliverDrawer';
...@@ -68,7 +68,13 @@ const ReturnPrDeliverVerify: React.FC = () => { ...@@ -68,7 +68,13 @@ const ReturnPrDeliverVerify: React.FC = () => {
id={id} id={id}
headExtra={info => ( headExtra={info => (
<> <>
{(info && (info.taskType === RETURN_GOODS_MANUAL_DELIVERY || info.taskType === RETURN_GOODS_MANUAL_DELIVERY_CONTRACT)) && ( {(
info
&& (
info.taskType === RETURN_GOODS_MANUAL_DELIVERY
|| info.taskType === RETURN_GOODS_MANUAL_DELIVERY_CONTRACT
|| info.taskType === RETURN_GOODS_SIMPLE_PLATFORM
)) && (
<Button <Button
type="default" type="default"
icon={<SettingOutlined />} icon={<SettingOutlined />}
......
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