Commit ac8d3752 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改 售后常量 引入路径

parent 8889d20a
......@@ -6,7 +6,7 @@
* @Description:
*/
import { ISchema } from '@formily/antd';
import { DELIVERY_TYPE_ENUM } from '@/constants';
import { DELIVERY_TYPE_ENUM } from '@/constants/afterService';
export const schema: ISchema = {
type: 'object',
......
......@@ -27,7 +27,7 @@ import {
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_DELIVERY,
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIVE,
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIPT,
} from '@/constants';
} from '@/constants/afterService';
import {
MAIL_INNER_STATUS_UNCONFIRMED_DELIVER,
MAIL_INNER_STATUS_CONFIRMED_RECEIVING,
......
......@@ -29,7 +29,7 @@ import {
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_DELIVERY,
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIVE,
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT,
} from '@/constants';
} from '@/constants/afterService';
import {
MAIL_INNER_STATUS_UNCONFIRMED_DELIVER,
MAIL_INNER_STATUS_CONFIRMED_DELIVER,
......
......@@ -6,7 +6,7 @@
* @Description:
*/
import { ISchema } from '@formily/antd';
import { DELIVERY_TYPE_ENUM } from '@/constants';
import { DELIVERY_TYPE_ENUM } from '@/constants/afterService';
export const schema: ISchema = {
type: 'object',
......
......@@ -29,7 +29,7 @@ import {
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_DELIVERY,
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_RECEIVE,
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT,
} from '@/constants';
} from '@/constants/afterService';
import {
MAIL_INNER_STATUS_UNCONFIRMED_DELIVER,
MAIL_INNER_STATUS_CONFIRMED_DELIVER,
......
......@@ -109,7 +109,7 @@ import {
RETURN_OUTER_STATUS_NOT_RECEIVED,
RETURN_OUTER_STATUS_UNCONFIRMED_FINISHED,
RETURN_OUTER_STATUS_FINISHED,
} from '@/constants';
} from '@/constants/afterService';
// 售后维修外部状态 StatusTag map
export const REPAIR_OUTER_STATUS_TAG_MAP = {
......
......@@ -16,9 +16,11 @@ import {
import {
EXCHANGE_OUTER_STATUS_FINISHED,
EXCHANGE_INNER_STATUS_UNCOMMITTED,
} from '@/constants/afterService';
import {
ORDER_TYPE2_POINTS,
ORDER_TYPE2_CHANNEL_POINTS,
} from '@/constants';
} from '@/constants/order';
import {
ORDER_TYPE_INQUIRY_CONTRACT,
ORDER_TYPE_BIDDING_CONTRACT,
......
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-06 16:30:44
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-03 20:53:30
* @LastEditTime: 2021-06-02 16:23:40
* @Description: 待新增退货发货单
*/
import React, { useState, useRef } from 'react';
......@@ -19,11 +19,13 @@ import { PageHeaderWrapper } from '@ant-design/pro-layout';
import { createFormActions } from '@formily/antd';
import { PublicApi } from '@/services/api';
import {
DOC_TYPE_EXCHANGE_RETURN_INVOICE,
DEPENDENT_DOC_EXCHANGE,
EXCHANGE_INNER_STATUS_NOT_ADDED_RETURN_DELIVERY,
EXCHANGE_INNER_STATUS_UNREVIEWED_RETURN_DELIVERY,
} from '@/constants';
} from '@/constants/afterService';
import {
DOC_TYPE_EXCHANGE_RETURN_INVOICE,
DEPENDENT_DOC_EXCHANGE,
} from '@/constants/commodity';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { FORM_FILTER_PATH } from '@/formSchema/const';
import EyePreview from '@/components/EyePreview';
......
......@@ -21,7 +21,7 @@ import {
EXCHANGE_INNER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS,
EXCHANGE_INNER_STATUS_CONSUMER_UNCONFIRMED_LOGISTICS,
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_LOGISTICS,
} from '@/constants';
} from '@/constants/afterService';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { FORM_FILTER_PATH } from '@/formSchema/const';
import EyePreview from '@/components/EyePreview';
......
......@@ -19,11 +19,13 @@ import { PageHeaderWrapper } from '@ant-design/pro-layout';
import { createFormActions } from '@formily/antd';
import { PublicApi } from '@/services/api';
import {
DOC_TYPE_EXCHANGE_RECEIPT,
DEPENDENT_DOC_EXCHANGE,
EXCHANGE_INNER_STATUS_NOT_ADDED_REPLACE_STORAGE,
EXCHANGE_INNER_STATUS_UNREVIEWED_REPLACE_STORAGE
} from '@/constants';
} from '@/constants/afterService';
import {
DOC_TYPE_EXCHANGE_RECEIPT,
DEPENDENT_DOC_EXCHANGE,
} from '@/constants/commodity';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { FORM_FILTER_PATH } from '@/formSchema/const';
import EyePreview from '@/components/EyePreview';
......
......@@ -4,7 +4,7 @@ import { history } from 'umi';
import { PublicApi } from '@/services/api';
import { SettingOutlined, RollbackOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
import { usePageStatus } from '@/hooks/usePageStatus';
import { EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT } from '@/constants';
import { EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT } from '@/constants/afterService';
import DetailInfo from '../components/DetailInfo';
const { confirm } = Modal;
......
......@@ -6,14 +6,16 @@ import { PublicApi } from '@/services/api';
import { GlobalConfig } from '@/global/config';
import {
UPLOAD_TYPE,
DELIVERY_TYPE_ENUM,
ORDER_TYPE2_POINTS,
ORDER_TYPE2_CHANNEL_POINTS,
} from '@/constants';
import {
DELIVERY_TYPE_ENUM,
} from '@/constants/afterService';
import {
ORDER_TYPE_INQUIRY_CONTRACT,
ORDER_TYPE_BIDDING_CONTRACT,
ORDER_TYPE_TENDER_CONTRACT,
ORDER_TYPE2_POINTS,
ORDER_TYPE2_CHANNEL_POINTS,
} from '@/constants/order';
// 供应会员列表列
......
......@@ -29,7 +29,7 @@ import { PublicApi } from '@/services/api';
import {
EXCHANGE_INNER_STATUS_UNCOMMITTED,
EXCHANGE_OUTER_STATUS_FAILED,
} from '@/constants';
} from '@/constants/afterService';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { FORM_FILTER_PATH } from '@/formSchema/const';
import EyePreview from '@/components/EyePreview';
......
......@@ -23,14 +23,14 @@ import {
import {
EXCHANGE_OUTER_STATUS_FINISHED,
EXCHANGE_INNER_STATUS_UNCOMMITTED,
ORDER_TYPE2_POINTS,
ORDER_TYPE2_CHANNEL_POINTS,
ORDER_TYPE
} from '@/constants';
} from '@/constants/afterService';
import {
ORDER_TYPE_INQUIRY_CONTRACT,
ORDER_TYPE_BIDDING_CONTRACT,
ORDER_TYPE_TENDER_CONTRACT,
ORDER_TYPE2_POINTS,
ORDER_TYPE2_CHANNEL_POINTS,
ORDER_TYPE,
} from '@/constants/order';
import { normalizeFiledata, FileData, findLastIndexFlowState } from '@/utils';
import AnchorPage from '@/layouts/AnchorPage';
......
......@@ -19,11 +19,13 @@ import { PageHeaderWrapper } from '@ant-design/pro-layout';
import { createFormActions } from '@formily/antd';
import { PublicApi } from '@/services/api';
import {
DOC_TYPE_EXCHANGE_INVOICE,
DEPENDENT_DOC_EXCHANGE,
EXCHANGE_INNER_STATUS_NOT_ADDED_REPLACE_DELIVERY,
EXCHANGE_INNER_STATUS_UNREVIEWED_REPLACE_DELIVERY,
} from '@/constants';
} from '@/constants/afterService';
import {
DOC_TYPE_EXCHANGE_INVOICE,
DEPENDENT_DOC_EXCHANGE,
} from '@/constants/commodity';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { FORM_FILTER_PATH } from '@/formSchema/const';
import EyePreview from '@/components/EyePreview';
......
......@@ -21,7 +21,7 @@ import {
EXCHANGE_INNER_STATUS_SUPPLIER_NOT_ADDED_LOGISTICS,
EXCHANGE_INNER_STATUS_SUPPLIER_UNCONFIRMED_LOGISTICS,
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_EXCHANGE,
} from '@/constants';
} from '@/constants/afterService';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { FORM_FILTER_PATH } from '@/formSchema/const';
import EyePreview from '@/components/EyePreview';
......
......@@ -19,11 +19,13 @@ import { PageHeaderWrapper } from '@ant-design/pro-layout';
import { createFormActions } from '@formily/antd';
import { PublicApi } from '@/services/api';
import {
DOC_TYPE_EXCHANGE_RETURN_RECEIPT,
DEPENDENT_DOC_EXCHANGE,
EXCHANGE_INNER_STATUS_NOT_ADDED_RETURN_STORAGE,
EXCHANGE_INNER_STATUS_UNREVIEWED_RETURN_STORAGE,
} from '@/constants';
} from '@/constants/afterService';
import {
DOC_TYPE_EXCHANGE_RETURN_RECEIPT,
DEPENDENT_DOC_EXCHANGE,
} from '@/constants/commodity';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { FORM_FILTER_PATH } from '@/formSchema/const';
import EyePreview from '@/components/EyePreview';
......
......@@ -16,7 +16,7 @@ import {
EXCHANGE_INNER_STATUS_COMMIT_FAILED,
EXCHANGE_INNER_STATUS_FAILED_1,
EXCHANGE_INNER_STATUS_FAILED_2,
} from '@/constants';
} from '@/constants/afterService';
import DetailInfo from '../components/DetailInfo';
import VerifyModal from '../../components/VerifyModal';
......
......@@ -12,7 +12,7 @@ import AnchorPage from '@/layouts/AnchorPage';
import StatusTag from '@/components/StatusTag';
import EyePreview from '@/components/EyePreview';
import { EditableColumns } from '@/components/PolymericTable/interface';
import { REPAIR_OUTER_STATUS_FINISHED } from '@/constants';
import { REPAIR_OUTER_STATUS_FINISHED } from '@/constants/afterService';
import {
ORDER_TYPE_INQUIRY_CONTRACT,
ORDER_TYPE_BIDDING_CONTRACT,
......
......@@ -27,7 +27,7 @@ import StatusTag from '@/components/StatusTag';
import {
REPAIR_INNER_STATUS_UNCOMMITTED,
REPAIR_OUTER_STATUS_FAILED,
} from '@/constants';
} from '@/constants/afterService';
import {
REPAIR_OUTER_STATUS_TAG_MAP,
REPAIR_INNER_STATUS_BADGE_MAP,
......
......@@ -15,7 +15,7 @@ import {
REPAIR_INNER_STATUS_FAILED_2,
REPAIR_INNER_STATUS_COMMIT_FAILED,
REPAIR_INNER_STATUS_FAILED_1,
} from '@/constants';
} from '@/constants/afterService';
import DetailInfo from '../components/DetailInfo';
import VerifyModal from '../../components/VerifyModal';
......
......@@ -21,7 +21,7 @@ import {
RETURN_OUTER_STATUS_NOT_RECEIVED,
RETURN_OUTER_STATUS_UNCONFIRMED_FINISHED,
RETURN_INNER_STATUS_UNCOMMITTED,
} from '@/constants';
} from '@/constants/afterService';
import {
ORDER_TYPE_INQUIRY_CONTRACT,
ORDER_TYPE_BIDDING_CONTRACT,
......
......@@ -19,11 +19,13 @@ import { PageHeaderWrapper } from '@ant-design/pro-layout';
import { createFormActions } from '@formily/antd';
import { PublicApi } from '@/services/api';
import {
DOC_TYPE_RETURN_INVOICE,
DEPENDENT_DOC_RETURN,
RETURN_INNER_STATUS_NOT_ADDED_RETURN_DELIVERY,
RETURN_INNER_STATUS_UNREVIEWED_RETURN_DELIVERY,
} from '@/constants';
} from '@/constants/afterService';
import {
DOC_TYPE_RETURN_INVOICE,
DEPENDENT_DOC_RETURN,
} from '@/constants/commodity';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { FORM_FILTER_PATH } from '@/formSchema/const';
import EyePreview from '@/components/EyePreview';
......
......@@ -21,7 +21,7 @@ import {
RETURN_INNER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS,
RETURN_INNER_STATUS_CONSUMER_UNCONFIRMED_LOGISTICS,
RETURN_INNER_STATUS_UNACCEPTED_LOGISTICS,
} from '@/constants';
} from '@/constants/afterService';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { FORM_FILTER_PATH } from '@/formSchema/const';
import EyePreview from '@/components/EyePreview';
......
......@@ -2,7 +2,8 @@ import { ISchema } from '@formily/antd';
import Search from '@/components/NiceForm/components/Search';
import Submit from '@/components/NiceForm/components/Submit';
import { PATTERN_MAPS } from '@/constants/regExp';
import { UPLOAD_TYPE, DELIVERY_TYPE_ENUM } from '@/constants';
import { UPLOAD_TYPE } from '@/constants';
import { DELIVERY_TYPE_ENUM } from '@/constants/afterService';
import { PublicApi } from '@/services/api';
import { GlobalConfig } from '@/global/config';
import {
......
......@@ -29,7 +29,7 @@ import { PublicApi } from '@/services/api';
import {
RETURN_INNER_STATUS_UNCOMMITTED,
RETURN_OUTER_STATUS_FAILED,
} from '@/constants';
} from '@/constants/afterService';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { FORM_FILTER_PATH } from '@/formSchema/const';
import EyePreview from '@/components/EyePreview';
......
......@@ -23,7 +23,7 @@ import {
RETURN_OUTER_STATUS_NOT_RECEIVED,
RETURN_OUTER_STATUS_UNCONFIRMED_FINISHED,
RETURN_INNER_STATUS_UNCOMMITTED,
} from '@/constants';
} from '@/constants/afterService';
import {
ORDER_TYPE_INQUIRY_CONTRACT,
ORDER_TYPE_BIDDING_CONTRACT,
......
......@@ -19,11 +19,13 @@ import { PageHeaderWrapper } from '@ant-design/pro-layout';
import { createFormActions } from '@formily/antd';
import { PublicApi } from '@/services/api';
import {
DOC_TYPE_RETURN_RECEIPT,
DEPENDENT_DOC_RETURN,
RETURN_INNER_STATUS_NOT_ADDED_RETURN_STORAGE,
RETURN_INNER_STATUS_UNREVIEWED_RETURN_STORAGE,
} from '@/constants';
} from '@/constants/afterService';
import {
DOC_TYPE_RETURN_RECEIPT,
DEPENDENT_DOC_RETURN,
} from '@/constants/commodity';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { FORM_FILTER_PATH } from '@/formSchema/const';
import EyePreview from '@/components/EyePreview';
......
......@@ -15,7 +15,7 @@ import {
RETURN_INNER_STATUS_COMMIT_FAILED,
RETURN_INNER_STATUS_FAILED_1,
RETURN_INNER_STATUS_FAILED_2,
} from '@/constants';
} from '@/constants/afterService';
import DetailInfo from '../components/DetailInfo';
import VerifyModal from '../../components/VerifyModal';
......
......@@ -99,7 +99,7 @@ import {
RETURN_OUTER_STATUS_NOT_RECEIVED,
RETURN_OUTER_STATUS_UNCONFIRMED_FINISHED,
RETURN_OUTER_STATUS_FINISHED,
} from '@/constants';
} from '@/constants/afterService';
// 售后维修外部状态 StatusTag map
export const REPAIR_OUTER_STATUS_TAG_MAP = {
......
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