Commit e118353d authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改 进销存常量 引入路径

parent 10dd53f1
......@@ -9,7 +9,7 @@ import moment from 'moment';
import {
ORDER_TYPE2,
PurchaseOrderInsideWorkStateTexts,
} from '@/constants';
} from '@/constants/order';
/**
* 采购订单-弹窗表格列
......
......@@ -26,8 +26,10 @@ import {
DOC_TYPE_EXCHANGE_RECEIPT,
DOC_TYPE_EXCHANGE_RETURN_INVOICE,
DOC_TYPE_EXCHANGE_RETURN_RECEIPT,
} from '@/constants/commodity';
import {
DELIVERY_TYPE,
} from '@/constants';
} from '@/constants/order';
import Search from '@/components/NiceForm/components/Search';
import Submit from '@/components/NiceForm/components/Submit';
import DateSelect from '@/components/NiceForm/components/DateSelect';
......
......@@ -33,11 +33,10 @@ import {
DOC_TYPE_EXCHANGE_RETURN_INVOICE,
DOC_TYPE_EXCHANGE_RETURN_RECEIPT,
DELIVERY_TYPE,
DEPENDENT_DOC_INTERNAL,
DOC_DIRECTION_WAREHOUSING,
DOC_DIRECTION_OUTGOING,
} from '@/constants';
} from '@/constants/commodity';
import { addBillSchema, goodsSearchSchema } from './schema';
import { createEffects } from './effects';
......
......@@ -11,12 +11,14 @@ import {
ORDER_TYPE2_CHANNEL_SPOT,
ORDER_TYPE2_CHANNEL_POINTS,
ORDER_TYPE2,
} from '@/constants/order';
import {
DEPENDENT_DOC_ORDER,
DEPENDENT_DOC_EXCHANGE,
DEPENDENT_DOC_RETURN,
DEPENDENT_DOC_PRODUCTION,
DEPENDENT_DOC_INTERNAL,
} from '@/constants';
} from '@/constants/commodity';
import { PATTERN_MAPS } from '@/constants/regExp';
import { PublicApi } from '@/services/api';
......
......@@ -14,7 +14,7 @@ import { FORM_FILTER_PATH } from '@/formSchema/const';
import UploadModal from '@/components/UploadModal';
import { useAsyncSelect } from '@/formSchema/effects/useAsyncSelect';
import { PublicApi } from '@/services/api';
import { DOC_STATUS_UNREVIEWED, DOC_STATUS_REVIEWED, DOC_STATUS } from '@/constants';
import { DOC_STATUS_UNREVIEWED, DOC_STATUS_REVIEWED, DOC_STATUS } from '@/constants/commodity';
import { billsSchema } from './schema';
const formActions = createFormActions();
......
/*
* @Author: XieZhiXiong
* @Date: 2021-01-06 11:36:35
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-02 16:08:24
* @Description:
*/
import { ISchema } from '@formily/antd';
import { DOC_DIRECTION_WAREHOUSING, DOC_DIRECTION_OUTGOING, DOC_DIRECTION } from '@/constants';
import { DOC_DIRECTION_WAREHOUSING, DOC_DIRECTION_OUTGOING, DOC_DIRECTION } from '@/constants/commodity';
export const billsTypeDetailSchema: ISchema = {
type: 'object',
......
......@@ -15,7 +15,7 @@ import EyePreview from '@/components/EyePreview';
import StatusSwitch from '@/components/StatusSwitch';
import { ColumnType } from 'antd/lib/table/interface';
import NiceForm from '@/components/NiceForm';
import { DOC_TYPE_STATUS_EFFECTIVE, DOC_TYPE_STATUS_INVALID, DOC_DIRECTION } from '@/constants';
import { DOC_TYPE_STATUS_EFFECTIVE, DOC_TYPE_STATUS_INVALID, DOC_DIRECTION } from '@/constants/commodity';
import { searchSchema } from './schema';
const formActions = createFormActions();
......
......@@ -15,7 +15,7 @@ import { PublicApi } from '@/services/api';
import EyePreview from '@/components/EyePreview';
import StatusSwitch from '@/components/StatusSwitch';
import NiceForm from '@/components/NiceForm';
import { POSITION_STATUS_EFFECTIVE, POSITION_STATUS_INVALID } from '@/constants';
import { POSITION_STATUS_EFFECTIVE, POSITION_STATUS_INVALID } from '@/constants/commodity';
import { searchSchema } from './schema';
import style from './index.less';
......
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