UNPKG

@fle-ui/plus-table

Version:
101 lines (100 loc) 2.25 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.tabsSearchParamsMap = exports.tabs = exports.sortOptions = exports.profitRangeForPurchase = exports.profitRangeForOnce = exports.priceRangeForPurchase = exports.priceRangeForOnce = void 0; var tabs = exports.tabs = [{ label: '京东商品', key: 'jd' }, { label: '精选商品', key: 'jx' }, { label: '自有商品', key: 'zy' }, { label: '鲜花蛋糕', key: 'xhdg' }, { label: '猫超商品', key: 'mc' }]; var tabsSearchParamsMap = exports.tabsSearchParamsMap = { jd: { thirdType: 10, isSelf: 0 }, jx: { thirdType: 0, isSelf: 0 }, zy: { isSelf: 1 }, xhdg: { thirdType: 40, isSelf: 0 }, mc: { thirdType: 50, isSelf: 0 } }; // 一件代发价格筛选配置 - 非营销云 var priceRangeForOnce = exports.priceRangeForOnce = [{ label: '市场价', value: 'onceMarketPrice' }, { label: '代发价', value: 'onceSalePrice' }, { label: '销售价', value: 'onceSitePrice' }]; // 集采价格筛选配置 - 营销云 var priceRangeForPurchase = exports.priceRangeForPurchase = [{ label: '集采市场价', value: 'purchaseMarketPrice' }, { label: '代发市场价', value: 'onceMarketPrice' }, { label: '集采价', value: 'purchaseSalePrice' }, { label: '代发价', value: 'onceSalePrice' }, { label: '集采销售价', value: 'purchaseSitePrice' }, { label: '代发销售价', value: 'onceSitePrice' }]; // 一件代发利润率筛选配置 - 非营销云 var profitRangeForOnce = exports.profitRangeForOnce = [{ label: '利润率', value: 'onceSiteProfit' }]; // 集采利润率筛选配置 - 营销云 var profitRangeForPurchase = exports.profitRangeForPurchase = [{ label: '集采利润率', value: 'purchaseSiteProfit' }, { label: '代发利润率', value: 'onceSiteProfit' }]; // 排序规则 var sortOptions = exports.sortOptions = [{ label: '推荐', value: 'pool_saas_search_site_profit_max' // 销售利润率(站点利润率) }, { label: '上架时间', value: 'pool_saas_putaway_time' }, { label: '会员价', value: 'search_sale_price_max' }, { label: '销售价', value: 'pool_saas_search_site_price_max' }];