Commit e364a5af authored by XionGuo's avatar XionGuo

fix: 修复未过滤积分订单的问题

parent c5675d3f
......@@ -10,6 +10,8 @@ import {
ORDER_TYPE_INQUIRY_CONTRACT,
ORDER_TYPE_BIDDING_CONTRACT,
ORDER_TYPE_TENDER_CONTRACT,
ORDER_TYPE_POINTS,
ORDER_TYPE_CHANNEL_POINTS,
} from '@/constants/order';
// 供应会员列表列
......@@ -78,10 +80,11 @@ const supplierSchema: ISchema = {
},
};
// 过滤积分订单,渠道积分订单
const orderTypeArr = GlobalConfig.web.orderType.map((item) => ({
label: item.platformWayName,
value: item.id,
}));
})).filter((item) => (item.value !== ORDER_TYPE_POINTS && item.value !== ORDER_TYPE_CHANNEL_POINTS));
export const addSchema = (orderType: number): ISchema => {
const isMateriel = (
......
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